Bug 184825 - Let YaST printer config deal with usblp <-> usbfs/libusb conflict
Summary: Let YaST printer config deal with usblp <-> usbfs/libusb conflict
Status: RESOLVED WONTFIX
: 343860 (view as bug list)
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Printing (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.1
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Michal Zugec
QA Contact: Michal Zugec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184798
  Show dependency treegraph
 
Reported: 2006-06-14 12:07 UTC by Johannes Meixner
Modified: 2008-06-25 09:23 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2006-06-14 12:07:18 UTC
This one is bug 184798 item D)

The current HPLIP "hp" backend removes HP USB-printers
from the USB device list (it uses libusb) so that the CUPS
usb backend will no longer work with those printers.
Remember that during startup of cupsd all backends are executed
so that at the moment no HP USB-printer works with the
CUPS usb backend if HPLIP is installed.
According to the HPLIP developers this will change the future:
-------------------------------------------------------------------------
Suffield, David wrote (shortened):
> > I have fixed this in the "hp" backend for the next release. 
> > A device discovery in the "hp" backend will no longer remove
> > the usblp for that URI. But, any other I/O (ie: printing,
> > toolbox or scanning) will remove usblp for that URI which
> > would disable the "usb" backend for that URI.
> 
> Could you explain why the "usb" backend and the "hp" backend 
> can no longer co-exist for "real" I/O?
> 
> When they cannot co-exist for "real" I/O, there will be the 
> problem that a queue can be set up using "usb" because it can 
> detect the printer and a second queue for the same device can 
> be set up using "hp" because it also detects the device but 
> then the "usb"-queue stops to work as soon as the "hp"-queue 
> was used once.

[...]

Yes, this is a general kernel problem. You cannot have two different
drivers (kernel modules) talking to the same USB device. In this case
usblp and usbfs (ie: libusb). 

I have talked to Michael Sweet, and he is planning on releasing a
libusb version of the CUPS "usb" backend. Once both backends
use libusb the problem goes away.
-------------------------------------------------------------------------

Regardless what there will be in Suse Linux 10.2
YaST printer module should be prepared to deal with
the conflict if it is not solved until 10.2
Comment 1 Michal Zugec 2006-08-30 06:47:16 UTC
move to later
Comment 2 Forgotten User xs3PtXj4XH 2007-02-09 01:43:29 UTC
I request that this bug be reopened and solved as the amount of time taken to work around it was significant.  It took Johannes to point out to me after contacting the HP-LIP help list that there was a bug entry in Novell's bugzilla and to suggest a workaround.  Given the amount of effort it took me before I was aware of the issue, what chance would a new SuSE user have?  This could severely damage their perception of HP Printers because they will appear to not work.
Comment 3 Johannes Meixner 2007-11-27 08:18:36 UTC
*** Bug 343860 has been marked as a duplicate of this bug. ***
Comment 4 Stephan Kulow 2008-06-25 09:18:59 UTC
mass reopening all 10.2 LATER+REMIND bugs.
Comment 5 Stephan Kulow 2008-06-25 09:23:07 UTC
close all 10.2 LATER/REMIND bugs as WONTFIX. Reopen yourself if you still plan to work on it.