manohar@manohar-Inspiron-3542:~$ lsmod | grep usb
usblp 23064 0
btusb 32519 0
bluetooth 411194 24 rfcomm,bnep,btusb
usbhid 53111 0
hid 106605 2 hid_logitech_dj,usbhid
manohar@manohar-Inspiron-3542:~$ tail -f /var/log/syslog
Jul 21 12:33:36 manohar-Inspiron-3542 udev-configure-printer: failed to claim interface
Jul 21 12:33:36 manohar-Inspiron-3542 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2
Jul 21 12:33:36 manohar-Inspiron-3542 udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1018 SERN:- serial:KP00FGJ
Jul 21 12:33:37 manohar-Inspiron-3542 kernel: [11108.999176] usb 1-1.2: USB disconnect, device number 120
Jul 21 12:33:37 manohar-Inspiron-3542 kernel: [11108.999505] usblp2: removed
Jul 21 12:33:37 manohar-Inspiron-3542 hpfax: hpfax[12637]: error: Error setting home directory: /etc/hp/hplip.conf not found
Jul 21 12:33:37 manohar-Inspiron-3542 udev-configure-printer: no corresponding CUPS device found
Jul 21 12:33:39 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: Missing HP LaserJet 1018 firmware file /lib/firmware/hp/sihp1018.dl
Jul 21 12:33:39 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: ...read foo2zjs installation instructions and run ./getweb 1018
Jul 21 12:33:39 manohar-Inspiron-3542 udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2
Jul 21 12:34:47 manohar-Inspiron-3542 kernel: [11179.626189] usb 1-1.2: new high-speed USB device number 121 using ehci-pci
Jul 21 12:34:47 manohar-Inspiron-3542 kernel: [11179.738380] usb 1-1.2: New USB device found, idVendor=03f0, idProduct=4117
Jul 21 12:34:47 manohar-Inspiron-3542 kernel: [11179.738390] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 21 12:34:47 manohar-Inspiron-3542 kernel: [11179.738395] usb 1-1.2: Product: HP LaserJet 1018
Jul 21 12:34:47 manohar-Inspiron-3542 kernel: [11179.738400] usb 1-1.2: Manufacturer: Hewlett-Packard
Jul 21 12:34:47 manohar-Inspiron-3542 kernel: [11179.738404] usb 1-1.2: SerialNumber: KP00FGJ
Jul 21 12:34:47 manohar-Inspiron-3542 kernel: [11179.741574] usblp 1-1.2:1.0: usblp2: USB Bidirectional printer dev 121 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117
Jul 21 12:34:47 manohar-Inspiron-3542 udevd[5334]: missing file parameter for attr
Jul 21 12:34:47 manohar-Inspiron-3542 mtp-probe: checking bus 1, device 121: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
Jul 21 12:34:47 manohar-Inspiron-3542 mtp-probe: bus: 1, device: 121 was not an MTP device
Jul 21 12:34:47 manohar-Inspiron-3542 logger: loading hp_laserjet_1018 firmware 001 121
Jul 21 12:34:47 manohar-Inspiron-3542 hp-mkuri: io/hpmud/hp-mkuri.c 132: unable to open /etc/hp/hplip.conf: No such file or directory
Jul 21 12:34:50 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: Missing HP LaserJet 1018 firmware file /lib/firmware/hp/sihp1018.dl
Jul 21 12:34:50 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: ...read foo2zjs installation instructions and run ./getweb 1018
Jul 21 12:34:50 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: Missing HP LaserJet 1018 firmware file /lib/firmware/hp/sihp1018.dl
Jul 21 12:34:50 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: ...read foo2zjs installation instructions and run ./getweb 1018
Jul 21 12:34:50 manohar-Inspiron-3542 hp-mkuri: io/hpmud/hp-mkuri.c 132: unable to open /etc/hp/hplip.conf: No such file or directory
Jul 21 12:34:50 manohar-Inspiron-3542 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.0
Jul 21 12:34:50 manohar-Inspiron-3542 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2
Jul 21 12:34:50 manohar-Inspiron-3542 udev-configure-printer: Device vendor/product is 03F0:4117
Jul 21 12:34:50 manohar-Inspiron-3542 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.0/usbmisc/lp2
Jul 21 12:34:50 manohar-Inspiron-3542 udev-configure-printer: failed to claim interface
Jul 21 12:34:50 manohar-Inspiron-3542 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2
Jul 21 12:34:50 manohar-Inspiron-3542 udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1018 SERN:- serial:KP00FGJ
Jul 21 12:34:51 manohar-Inspiron-3542 hp[12681]: io/hpmud/model.c 108: unable to open /etc/hp/hplip.conf: No such file or directory
Jul 21 12:34:51 manohar-Inspiron-3542 hp[12681]: io/hpmud/model.c 532: no HP_LaserJet_1018 attributes found in /data/models/models.dat
Jul 21 12:34:51 manohar-Inspiron-3542 hp[12681]: io/hpmud/model.c 543: no HP_LaserJet_1018 attributes found in /data/models/unreleased/unreleased.dat
Jul 21 12:34:51 manohar-Inspiron-3542 hp[12681]: io/hpmud/musb.c 2065: ignoring hp:/usb/HP_LaserJet_1018?serial=KP00FGJ support=0
Jul 21 12:34:51 manohar-Inspiron-3542 hpfax: hpfax[12685]: error: Error setting home directory: /etc/hp/hplip.conf not found
Jul 21 12:34:51 manohar-Inspiron-3542 kernel: [11183.940318] usblp2: removed
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: URI contains USB serial number
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: URI match: usb://HP/LaserJet%201018?serial=KP00FGJ
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_1018?serial=KP00FGJ, normalized: laserjet 1018 serial kp00fgj
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201018?serial=KP00FGJ, normalized: laserjet 1018 serial kp00fgj
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-1018 has matching device URI
Jul 21 12:34:51 manohar-Inspiron-3542 kernel: [11183.952287] usblp 1-1.2:1.0: usblp2: USB Bidirectional printer dev 121 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HP-LaserJet-1018
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_1018?serial=KP00FGJ, normalized: laserjet 1018 serial kp00fgj
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201018?serial=KP00FGJ, normalized: laserjet 1018 serial kp00fgj
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: Queue ipp://localhost:631/printers/HP_LaserJet_1018 has matching device URI
Jul 21 12:34:51 manohar-Inspiron-3542 udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HP_LaserJet_1018
Jul 21 12:34:53 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: Missing HP LaserJet 1018 firmware file /lib/firmware/hp/sihp1018.dl
Jul 21 12:34:53 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: ...read foo2zjs installation instructions and run ./getweb 1018
Jul 21 12:34:53 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: Missing HP LaserJet 1018 firmware file /lib/firmware/hp/sihp1018.dl
Jul 21 12:34:53 manohar-Inspiron-3542 /usr/sbin/hplj1018: foo2zjs: ...read foo2zjs installation instructions and run ./getweb 1018
Jul 21 12:34:53 manohar-Inspiron-3542 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.0/usbmisc/lp2
Jul 21 12:34:53 manohar-Inspiron-3542 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2
Jul 21 12:34:53 manohar-Inspiron-3542 udev-configure-printer: Device already handled
^C
manohar@manohar-Inspiron-3542:~$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 124: ID 03f0:4117 Hewlett-Packard LaserJet 1018
Bus 001 Device 003: ID 0c45:6a04 Microdia
Bus 001 Device 004: ID 0a5c:21d7 Broadcom Corp.
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp.
manohar@manohar-Inspiron-3542:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Jul 20 12:28 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 1 Jul 20 12:28 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 2 Jul 20 12:28 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 3 Jul 20 12:28 /dev/bus/usb/001/004
crw-rw-r-- 1 root root 189, 4 Jul 20 12:28 /dev/bus/usb/001/005
crw-rw-r--+ 1 root lp 189, 10 Jul 21 11:27 /dev/bus/usb/001/011
crw-rw-r--+ 1 root lp 189, 13 Jul 21 11:27 /dev/bus/usb/001/014
crw-rw-r--+ 1 root lp 189, 14 Jul 21 11:27 /dev/bus/usb/001/015
crw-rw-r--+ 1 root lp 189, 15 Jul 21 11:27 /dev/bus/usb/001/016
crw-rw-r--+ 1 root lp 189, 18 Jul 21 11:27 /dev/bus/usb/001/019
crw-rw-r--+ 1 root lp 189, 19 Jul 21 11:27 /dev/bus/usb/001/020
crw-rw-r--+ 1 root lp 189, 76 Jul 21 11:50 /dev/bus/usb/001/077
crw-rw-r--+ 1 root lp 189, 84 Jul 21 12:12 /dev/bus/usb/001/085
crw-rw-r--+ 1 root lp 189, 87 Jul 21 12:18 /dev/bus/usb/001/088
crw-rw-r--+ 1 root lp 189, 88 Jul 21 12:18 /dev/bus/usb/001/089
crw-rw-r--+ 1 root lp 189, 89 Jul 21 12:18 /dev/bus/usb/001/090
crw-rw-r--+ 1 root lp 189, 90 Jul 21 12:19 /dev/bus/usb/001/091
crw-rw-r--+ 1 root lp 189, 91 Jul 21 12:19 /dev/bus/usb/001/092
crw-rw-r--+ 1 root lp 189, 108 Jul 21 12:27 /dev/bus/usb/001/109
crw-rw-r--+ 1 root lp 189, 117 Jul 21 12:33 /dev/bus/usb/001/118
crw-rw-r--+ 1 root lp 189, 123 Jul 21 12:35 /dev/bus/usb/001/124
crw-rw-r-- 1 root root 189, 128 Jul 20 12:28 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Jul 20 12:28 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 256 Jul 20 12:28 /dev/bus/usb/003/001
crw-rw-rw- 1 root lp 180, 2 Jul 21 12:35 /dev/usb/lp2
manohar@manohar-Inspiron-3542:~$ sudo usb_printerid /dev/usb/lp0
[sudo] password for manohar:
Error: No such file or directory: can't open '/dev/usb/lp0'
manohar@manohar-Inspiron-3542:~$ sudo usb_printerid /dev/usb/lp1
Error: No such file or directory: can't open '/dev/usb/lp1'
manohar@manohar-Inspiron-3542:~$ hp-info -i
The program 'hp-info' is currently not installed. You can install it by typing:
sudo apt-get install hplip
manohar@manohar-Inspiron-3542:~$ hp-makeuri "001:124"
The program 'hp-makeuri' is currently not installed. You can install it by typing:
sudo apt-get install hplip
manohar@manohar-Inspiron-3542:~$ lpinfo -v
network socket
network https
network ipp
network lpd
network ipp14
network smb
network http
network ipps
network beh
direct usb://HP/LaserJet%201018?serial=KP00FGJ
direct hp
manohar@manohar-Inspiron-3542:~$
Thanks
Manohar
Hello Manohar, config- printer package. You made this bug report in 2016 and Ubuntu and the system- config- printer package have been updated since then.
Thank you for submitting this bug and reporting a problem with the system-
Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 1605099
and upload the updated logs and and any other logs that are relevant for this particular issue.
Thank you again for helping make Ubuntu better.
G
[Ubuntu Bug Squad volunteer triager]