[cups.bugs] usb backend does not work with cups-1.4.2

Michael Sweet msweet at apple.com
Thu Dec 3 11:50:53 PST 2009


On Dec 3, 2009, at 12:34 AM, John Frankish wrote:
> compiling cups-1.4.2 with configure switches:
> 
> --prefix=/usr/local --sysconfdir=/usr/local/etc --localstatedir=/var --without-languages --with-cups-user=tc --with-cups-group=staff --with-fontpath=/usr/local/share/ghostscript/fonts --with-dbusdir=/usr/local/etc/dbus-1
> 
> I get:
> $ lsusb
> Bus 005 Device 002: ID 03f0:0711 Hewlett-Packard OfficeJet K80
> 
> $ sudo /usr/local/lib/cups/backend/usb
> DEBUG: list_devices
> DEBUG: usb_find_busses=5
> DEBUG: usb_find_devices=11
> 
> $ sudo /usr/local/lib/cups/backend/hp
> direct hp:/usb/OfficeJet_K80?serial=ES0911401VOH "HP OfficeJet K80" "HP OfficeJet K80 USB ES0911401VOH HPLIP" "MFG:Hewlett-Packa;MDL:OfficeJet K80;CLS:PRINTER;DES:OfficeJet K80;SN:ES0911401VOH;"
> 
> I believe the usb backend is expecting the usb device to be owned by group "lp", whereas it is owned by group "staff" on my machine - does the usb backend take note of the "--with-cups-group=staff" switch?


That's the group the backend will run as, so as long as you haven't overridden the group in cupsd.conf it should be the one used.

Note that just because the printer shows up from the HP backend doesn't mean it will show up in the regular USB backend - if the printer doesn't report itself as a standard USB printer device we won't show it.

___________________________________________________
Michael Sweet, Senior Printing System Engineer







More information about the cups mailing list