On 1/17/2012 23:27, Till Kamppeter wrote:
> Note that the URI has changed with my new patch. It must be something
> like
>
> usb://Unknown/Printer
>
> or
>
> usb://Unknown/Printer?serial=...
>
> Printer setup tools should show the model simply as "Unknown". At least
> system-config-printer does so. http://localhost:631/  (CUPS web
> interface) should do so, too.
>
> Please have the printer connected and turned on, preferably connect the
> parallel port at the printer before connecting the USB port at the
> computer. Have the printer turned on when connecting the USB. Then run
> the following commands in a terminal window:
>
> sudo rmmod usblp
> lsusb
> ls -l /dev/bus/usb/*/*
> ls -l /dev/usb/lp*
> sudo /usr/lib/cups/backend/usb
> ldd /usr/lib/cups/backend/usb | grep usb
> lpinfo -v
> sudo modprobe usblp
> lsmod | grep usb
> sudo usb_printerid /dev/usb/lp0
> sudo rmmod usblp
>
> Post the output here.
For info - the printer is powered, connected, and ready to go prior to 
system boot.
Attached is the response to the above set of queries from the Ubuntu 
11.10 system with the ~ppa CUPS version.
The responses below are from the proposed Ubuntu7 CUPS version; also 
Ubuntu 11.10 on a different external drive; same HP 6600f computer.
-------------------
w8@w8u-iomega:~$ sudo rmmod usblp
ERROR: Module usblp does not exist in /proc/modules

w8@w8u-iomega:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A 
EZ-USB AT2 USB 2.0 to ATA/ATAPI
Bus 001 Device 003: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 002 Device 002: ID 050d:0002 Belkin Components

w8@w8u-iomega:~$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189,   0 2012-01-18 10:09 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189,   1 2012-01-18 10:09 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189,   2 2012-01-18 10:09 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 128 2012-01-18 10:09 /dev/bus/usb/002/001
crw-rw-r-- 1 root lp   189, 129 2012-01-18 10:09 /dev/bus/usb/002/002

w8@w8u-iomega:~$ ls -l /dev/usb/lp*
ls: cannot access /dev/usb/lp*: No such file or directory

w8@w8u-iomega:~$ sudo /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: usb_find_busses=2
DEBUG: usb_find_devices=5

w8@w8u-iomega:~$ ldd /usr/lib/cups/backend/usb | grep usb
     libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x006d6000)

w8@w8u-iomega:~$ lpinfo -v
network http
network beh
network socket
direct scsi
network ipp
network lpd
network smb

w8@w8u-iomega:~$ sudo modprobe usblp

w8@w8u-iomega:~$ lsmod | grep usb
usblp                  17833  0
usb_storage            44173  8 ums_cypress

w8@w8u-iomega:~$ sudo usb_printerid /dev/usb/lp0
Error: No such file or directory: can't open '/dev/usb/lp0'

w8@w8u-iomega:~$ sudo rmmod usblp
---------------



** Attachment added: "910272_18Jan2012c.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2682096/+files/910272_18Jan2012c.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/910272/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to