Comment 117 for bug 420015

Revision history for this message
Yuan Chao (yuanchao) wrote :

I have a USB to Printer port cable to connect my old HP DJ890C. It can only be seen by lsusb if run by root:
Bus 004 Device 005: ID 04b4:4100 Cypress Semiconductor Corp.

For Fedora 7 or 11 (ever tried), when plugged in, 'usblp' will be loaded and '/dev/usb/lp0' will be setup. However, for Ubuntu 810, 904 or 910, usblp won't be loaded and CUPS can't see it. The kernel message show the following error:

[ 2564.232074] usb 4-2: new full speed USB device using ohci_hcd and address 4
[ 2564.439134] usb 4-2: config 1 has an invalid descriptor of length 26, skipping remainder of the config
[ 2564.439150] usb 4-2: config 1 interface 0 has no altsetting 0
[ 2564.463318] usb 4-2: configuration #1 chosen from 1 choice
[ 2564.467521] usb 4-2: can't set config #1, error -32

If I manually loads usblp, after issuing 'lpinfo -v', the device file will be setup and I can use the printer if manually set the URI. (usblp can't see it w/o lpinfo; CUPS can't probe it anyway)

[ 2643.521134] usblp0: USB Bidirectional printer dev 4 if 0 alt 2 proto 2 vid 0x04B4 pid 0x4100

I'm wondering if this is simply a new device should be set in udev rules, or udev rule is still broken here?