Comment 7 for bug 132624

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote : Re: Gutsy Cannot Print to USB Printer

Sorry, the HOWTO was actually: http://ubuntuforums.org/showthread.php?t=49714, just as allstairi did. I set it up straight in Gusty though.

From https://wiki.ubuntu.com/DebuggingPrintingProblems:

$ lsmod | grep usb
usbhid 29536 0
hid 28928 1 usbhid
usblp 15104 0
usbcore 137864 5 usbhid,usblp,ehci_hcd,uhci_hcd

$ tail -f /var/log/messages
Aug 20 18:05:32 bateman kernel: [246696.992000] audit(1187647532.562:17): REJECTING access to capability 'dac_override' (cupsd(30805) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:05:57 bateman kernel: [246719.040000] audit(1187647554.563:18): REJECTING r access to /usr/local/z600llpddk/utility/bnsi3.lut (rastertoz600(15836) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:15:27 bateman kernel: [247290.592000] audit(1187648126.095:19): REJECTING w access to /etc/printcap (cupsd(30805) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:24:23 bateman kernel: [247827.676000] audit(1187648663.626:20): REJECTING r access to /proc/bus/usb/devices (z600(15925) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:24:49 bateman kernel: [247853.676000] audit(1187648689.628:21): REJECTING r access to /proc/bus/usb/devices (z600(15970) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:25:51 bateman kernel: [247915.504000] audit(1187648751.131:22): REJECTING w access to /etc/printcap (cupsd(30805) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:26:05 bateman kernel: [247929.276000] audit(1187648765.132:23): REJECTING w access to /etc/printcap (cupsd(30805) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:26:14 bateman kernel: [247938.912000] audit(1187648774.632:24): REJECTING r access to /usr/local/z600llpddk/utility/bnsi3.lut (rastertoz600(16021) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 20 18:36:40 bateman kernel: [248564.928000] usb 1-1: USB disconnect, address 4
Aug 20 18:36:40 bateman kernel: [248564.928000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: removed
*[after plugging in]*
Aug 20 18:38:34 bateman kernel: [248678.132000] usb 1-1: new full speed USB device using uhci_hcd and address 5
Aug 20 18:38:34 bateman kernel: [248678.324000] usb 1-1: configuration #1 chosen from 1 choice
Aug 20 18:38:34 bateman kernel: [248678.332000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x043D pid 0x0078

$ lpinfo -v
network socket
network beh
direct hpfax
direct hp
network http
network ipp
direct usb://Lexmark%20/Z600%20Series
direct hal:///org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_printer_noserial
network lpd
direct parallel:/dev/lp0
direct scsi
network smb