Comment 7 for bug 910272

Revision history for this message
nvsoar (nvsoar) wrote : Re: [Bug 910272] Re: CUPS reports printer not connected

On 1/14/2012 3:38, Till Kamppeter wrote:
> nvsoar, to use the new backend, remove your print queue and after that
> turn off and turn on your printer and when connecting it to the
> computer, connect the cable to the partallel port of the printer at
> first and afterwards connec the USB plug to the computer. Then a new
> print queue should get set up automatically. If not, run the following
> commands in a terminal window, with the printer still connected and
> turned on:
>
> 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
>
> Post the output of the commands here.
w8@w8-FJ463AAR-ABA-a6528p:~$ 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 003: ID 067b:3507 Prolific Technology, Inc. PL3507 ATAPI6
Bridge
Bus 001 Device 004: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 002 Device 002: ID 050d:0002 Belkin Components (- this is the
usb-parallel cable)

w8@w8-FJ463AAR-ABA-a6528p:~$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 2012-01-14 13:19 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 2 2012-01-14 13:19 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 3 2012-01-14 13:19 /dev/bus/usb/001/004
crw-rw-r-- 1 root root 189, 128 2012-01-14 13:19 /dev/bus/usb/002/001
crw-rw-r-- 1 root lp 189, 129 2012-01-14 13:19 /dev/bus/usb/002/002

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

w8@w8-FJ463AAR-ABA-a6528p:~$ sudo /usr/lib/cups/backend/usb
[sudo] password for w8:
DEBUG: list_devices
DEBUG: libusb_get_device_list=5

w8@w8-FJ463AAR-ABA-a6528p:~$ ldd /usr/lib/cups/backend/usb | grep usb
     libusb-1.0.so.0 => /lib/i386-linux-gnu/libusb-1.0.so.0 (0x00d3c000)

w8@w8-FJ463AAR-ABA-a6528p:~$ lpinfo -v
network socket
network http
network ipp
direct parallel:/dev/lp0
network lpd
direct scsi
network smb
network beh
direct hp
direct hpfax
direct parallel:/dev/lp1

w8@w8-FJ463AAR-ABA-a6528p:~$