User already in scanner group. Printer is owned by lp/scanner:
quest scott% lsusb Bus 001 Device 031: ID 03f0:4117 Hewlett-Packard quest scott% ls -l /dev/bus/usb/001/031 448950 0 crw-rw---- 1 lp scanner Apr 14 12:23 /dev/bus/usb/001/031 First attempt with hp-setup -ai (no change since error above) Using connection type: usb -------------------- | DEVICE DISCOVERY | -------------------- error: No devices found. error: Error occured during interactive mode. Exiting. then tried: 1) Sytem -> Admin -> Printing 2) deleted existing printer 3) stopped cups 4) switched printer off 5) made sure nothing lp/cups/hpy was running 6) started cups again 7) switched printer back on 8) confirmed still owned by lp/scanner /dev/usb/lp0 reappears with the reset owned by root/lp: crw-rw-rw- 1 root lp 180, 0 2008-04-14 16:42 /dev/usb/lp0 Ran hp-setup -ai again: usb, saw the printer this time: Using device: hp:/usb/HP_LaserJet_1018?serial=KP0VDES A plug-in is required for this printer. (selected download), looked like it downloaded a bunch of stuff: /usr/share/hplip/base /usr/share/hplip/base/async.pyc /usr/share/hplip/installer /usr/share/hplip/installer/core_install.pyc /usr/share/hplip/installer/dcheck.pyc /usr/share/hplip/installer/__init__.pyc /usr/share/hplip/prnt /usr/share/hplip/prnt/plugins /usr/share/hplip/prnt/plugins/lj.so /usr/share/hplip/data /usr/share/hplip/data/plugins /usr/share/hplip/data/plugins/hp_laserjet_1018.plugin /usr/share/hplip/data/plugins/plugins.conf /usr/share/hplip/data/firmware Then it did: Using queue name: HP_LaserJet_1018 Found a possible PPD file: lsb/usr/hpijs/HP/hp_laserjet_1018-hpijs.ppd Desc: HP LaserJet 1018 Foomatic/hpijs-ZJS (recommended) Adding print queue to CUPS: Device URI: hp:/usb/HP_LaserJet_1018?serial=KP0VDES Queue name: HP_LaserJet_1018 PPD file: lsb/usr/hpijs/HP/hp_laserjet_1018-hpijs.ppd Location: Information: Automatically setup by HPLIP Ok... Then it tried to print a test page, and gave: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1018?serial=KP0VDES error: Unable to print to printer. Please check device and try again. In syslog, I see: Apr 14 16:44:45 quest python: io/hpmud/musb.c 135: unable get_string_descriptor -32: Broken pipe Apr 14 16:44:45 quest python: io/hpmud/musb.c 603: invalid product id string ret=-32 Apr 14 16:44:45 quest python: io/hpmud/musb.c 1058: unable to open hp:/usb/HP_LaserJet_1018?serial=KP0VDES Apr 14 16:44:45 quest python: hp-testpage[10534]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1018?serial=KP0VDES Apr 14 16:44:45 quest python: hp-testpage[10534]: error: Unable to print to printer. Please check device and try again. The green and red lights on the printer are both flashing. Switched it off and on again, syslog contains: Apr 14 16:47:35 quest kernel: [270998.307073] usb 1-8: new high speed USB device using ehci_hcd and address 33 Apr 14 16:47:35 quest kernel: [270998.459254] usb 1-8: configuration #1 chosen from 1 choice Apr 14 16:47:35 quest logger: loading hp_laserjet_1018 firmware 001 033 Apr 14 16:47:35 quest kernel: [270998.462325] usblp0: USB Bidirectional printer dev 33 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117 Apr 14 16:47:35 quest NetworkManager: <debug> [1208188055.763126] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_3f0_4117_KP0VDES'). Apr 14 16:47:35 quest NetworkManager: <debug> [1208188055.817838] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_3f0_4117_KP0VDES_if0'). Apr 14 16:47:35 quest /usr/sbin/hplj1018: foo2zjs: loading HP LaserJet 1018 firmware /usr/share/foo2zjs/firmware/sihp1018.dl to /dev/usb/lp0 ... Apr 14 16:47:40 quest python: io/hpmud/musb.c 135: unable get_string_descriptor -110: Connection timed out Apr 14 16:47:40 quest python: io/hpmud/musb.c 2036: invalid product id string ret=-110 Apr 14 16:47:40 quest kernel: [271003.576885] usb 1-8: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110 Apr 14 16:47:45 quest python: io/hpmud/musb.c 135: unable get_string_descriptor -110: Connection timed out Apr 14 16:47:45 quest python: io/hpmud/musb.c 2041: invalid serial id string ret=-110 Apr 14 16:47:45 quest kernel: [271008.570982] usb 1-8: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110 Apr 14 16:47:45 quest python: hp-firmware[10595]: error: Invalid USB IDs: 001:033 Print Test Page from cups admin does nothing, except note the following in syslog: Apr 14 16:48:17 quest kernel: [271040.576025] usblp0: nonzero write bulk status received: -108 Apr 14 16:48:17 quest kernel: [271040.576148] usblp0: nonzero read bulk status received: -108 Apr 14 16:48:17 quest kernel: [271040.715216] usblp0: removed Apr 14 16:48:17 quest /usr/sbin/hplj1018: foo2zjs: ... download failed. Apr 14 16:48:18 quest kernel: [271040.712014] audit(1208188098.054:38): type=1503 operation="inode_permission" requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=10638 profile="/usr/sbin/cupsd" namespace="default" Apr 14 16:48:23 quest hpijs: io/hpmud/musb.c 731: invalid device_status: Connection timed out Apr 14 16:48:23 quest kernel: [271046.470874] usb 1-8: usbfs: USBDEVFS_CONTROL failed cmd hpijs rqt 161 rq 1 len 1 ret -110 Off and on again: Apr 14 16:49:31 quest kernel: [271114.353328] usb 1-8: new high speed USB device using ehci_hcd and address 34 Apr 14 16:49:31 quest kernel: [271114.506062] usb 1-8: configuration #1 chosen from 1 choice Apr 14 16:49:31 quest logger: loading hp_laserjet_1018 firmware 001 034 Apr 14 16:49:31 quest kernel: [271114.508987] usblp0: USB Bidirectional printer dev 34 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117 Apr 14 16:49:31 quest NetworkManager: <debug> [1208188171.971553] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_3f0_4117_KP0VDES'). Apr 14 16:49:32 quest NetworkManager: <debug> [1208188172.028320] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_3f0_4117_KP0VDES_if0'). Apr 14 16:49:32 quest /usr/sbin/hplj1018: foo2zjs: loading HP LaserJet 1018 firmware /usr/share/foo2zjs/firmware/sihp1018.dl to /dev/usb/lp0 ... Apr 14 16:49:32 quest /usr/sbin/hplj1018: foo2zjs: ... download successful. Apr 14 16:49:40 quest python: io/hpmud/musb.c 135: unable get_string_descriptor -110: Connection timed out Apr 14 16:49:40 quest python: io/hpmud/musb.c 603: invalid product id string ret=-110 Apr 14 16:49:40 quest python: io/hpmud/musb.c 1058: unable to open hp:/usb/HP_LaserJet_1018?serial=KP0VDES Apr 14 16:49:40 quest python: hp-firmware[13437]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1018?serial=KP0VDES Apr 14 16:49:40 quest python: hp-firmware[13437]: error: Error opening device (Device not found). Exiting. Apr 14 16:49:40 quest kernel: [271122.599706] usb 1-8: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110 Tried another Print Test Page Apr 14 16:50:17 quest kernel: [271159.750014] usblp0: removed ... *sigh* -- HP LJ 1018 regression in hardy https://bugs.launchpad.net/bugs/217215 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
