On Wed, 2015-04-15 at 22:12 +0000, Till Kamppeter wrote: > I hope you are aware of that the HP LaserJet 1020 has no non-volatile > memory to hold its firmware. Everytime when it is turned on a firmware > file needs to be uploaded into the printer before the first job can be > printed. The Upload is simply done by "printing" the file unfiltered > from the computer where the printer is connected to. > > When you turn on the printer your hear its mechanics rotating for a self > check. If the computer is correctly configured for automatic firmware > upload you will hear the mechanics for a second time, telling that the > firmware got uploaded. You will also hear the mechanics rotating one > time when you manually upload the firmware (for example by running the > hp-firmware command). If you send an arbitrary bunch of data instead of > a firmware file, the mechanics will not rotate, so you can distinguish > by the noise whether the printer got valid firmware. So turn on the > printer while the computer is running, and check whether you get noise > two times or when you have the printer already turned on and boot the > computer, you need to get noise from the printer twice before you can > print (once the reset from the USB, after that the firmware upload). > > The hp-doctor output suggests that the proprietary plugin from HP is > installed but at least the files /usr/share/hplip/plugin.spec and > /usr/share/hplip/data/firmware/hp_laserjet_1020.fw.gz are missing. The > latter is the firmware file. > > Please run sudo hp-plugin to re-install the plugin and tell whether this > helps. >
Output of sudo hp-plugin: chris@localhost:~$ sudo hp-plugin HP Linux Imaging and Printing System (ver. 3.15.2) Plugin Download and Install Utility ver. 2.1 Copyright (c) 2001-15 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. warning: /usr/share/hplip/plugin.spec file doesn't exists. Checking for network connection... Downloading plug-in from: error: /home/chris/.hplip/hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered Done. I do not have /home/chris/.hplip/hplip-3.15.2-plugin.run chris@localhost:~/.hplip$ ls -al total 44 drwxr-xr-x 3 chris chris 4096 Apr 15 17:31 . drwxr-xr-x 100 chris chris 12288 Apr 15 17:33 .. drwxr-xr-x 2 chris chris 4096 Mar 14 09:36 .gnupg -rw-r----- 1 chris chris 13321 Apr 15 07:58 hp-doctor.log -rw-rw-rw- 1 chris chris 544 Apr 15 07:58 hplip.conf -rw-r----- 1 chris chris 0 Apr 15 07:49 hp-systray.lock -rw-r----- 1 chris chris 0 Mar 14 17:38 hp-toolbox.lock -rw-r----- 1 chris chris 71 Apr 15 07:55 hp-upgrade.log Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11°N 97.89°W (Elev. 1092 ft) 17:31:36 up 7 days, 1:09, 2 users, load average: 0.09, 0.15, 0.14 Ubuntu 14.04.2 LTS, kernel 4.0.0-997-generic #201503310205 SMP Tue Mar 31 02:07:04 UTC 2015 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/1428356 Title: 03f0:2b17 USB HP LaserJet 1020 printer will not print after boot Status in HP Linux Imaging and Printing: New Status in hplip package in Ubuntu: Triaged Bug description: After a reboot due to cups related package update my HP1020 printer is not initialized. This is shown in my syslog: Mar 4 15:32:42 localhost kernel: [ 178.196280] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 Mar 4 15:32:42 localhost kernel: [ 178.198667] usblp0: removed Mar 4 15:32:53 localhost kernel: [ 189.196356] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 Mar 4 15:32:53 localhost kernel: [ 189.198743] usblp0: removed Mar 4 15:33:04 localhost kernel: [ 200.196869] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 Mar 4 15:33:04 localhost kernel: [ 200.199629] usblp0: removed Mar 4 15:33:15 localhost kernel: [ 211.200586] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 This just continues on for hundreds of entries until I unplug and replug the printer back in, and power cycle several times. It will then eventually print a test page via 'CUPS'. Some other information from my syslog: Mar 4 15:42:10 localhost kernel: [ 746.297929] usblp: can't set desired altsetting 0 on interface 0 Mar 4 15:42:10 localhost kernel: [ 746.488804] usb 1-3.5: USB disconnect, device number 5 Mar 4 15:42:14 localhost kernel: [ 750.528166] usb 1-3.5: new high-speed USB device number 7 using ehci-pci Mar 4 15:42:16 localhost udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.5 Mar 4 15:42:16 localhost colord: device removed: sysfs-Hewlett-Packard-HP_LaserJet_1020 Mar 4 15:42:23 localhost kernel: [ 758.976137] usb 1-3.5: new high-speed USB device number 8 using ehci-pci Mar 4 15:42:23 localhost kernel: [ 759.088384] usb 1-3.5: New USB device found, idVendor=03f0, idProduct=2b17 Mar 4 15:42:23 localhost kernel: [ 759.088389] usb 1-3.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Mar 4 15:42:23 localhost kernel: [ 759.088392] usb 1-3.5: Product: HP LaserJet 1020 Mar 4 15:42:23 localhost kernel: [ 759.088394] usb 1-3.5: Manufacturer: Hewlett-Packard Mar 4 15:42:23 localhost kernel: [ 759.088396] usb 1-3.5: SerialNumber: JL1F0DC Mar 4 15:42:23 localhost kernel: [ 759.091958] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 Mar 4 15:42:23 localhost logger: loading HP Device 001 008 Mar 4 15:42:23 localhost udev-configure-printer: add /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.5 Mar 4 15:42:23 localhost udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.5 Mar 4 15:42:23 localhost udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1020 SERN:- serial:JL1F0DC Mar 4 15:42:24 localhost kernel: [ 760.148568] usblp0: removed Mar 4 15:42:24 localhost kernel: [ 760.159830] usblp 1-3.5:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 Mar 4 15:42:24 localhost udev-configure-printer: URI contains USB serial number Mar 4 15:42:24 localhost udev-configure-printer: URI match: usb://HP/LaserJet%201020?serial=JL1F0DC Mar 4 15:42:24 localhost udev-configure-printer: SERN field matches USB serial number Mar 4 15:42:24 localhost udev-configure-printer: URI match: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC Mar 4 15:42:24 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201020?serial=JL1F0DC, normalized: laserjet 1020 serial jl1f0dc Mar 4 15:42:24 localhost udev-configure-printer: URI of print queue: usb://HP/LaserJet%201020?serial=JL1F0DC, normalized: laserjet 1020 serial jl1f0dc Mar 4 15:42:24 localhost udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-1020 has matching device URI Mar 4 15:42:24 localhost udev-configure-printer: URI of detected printer: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC, normalized: laserjet 1020 serial jl1f0dc Mar 4 15:42:24 localhost udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-1020 has matching device URI Mar 4 15:42:26 localhost kernel: [ 762.327990] usblp0: removed Mar 4 15:42:30 localhost colord: Device added: sysfs-Hewlett-Packard-HP_LaserJet_1020 chris@localhost:~$ lsusb Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 006: ID 1058:0830 Western Digital Technologies, Inc. Bus 001 Device 008: ID 03f0:2b17 Hewlett-Packard LaserJet 1020 Bus 001 Device 004: ID 0bc2:2120 Seagate RSS LLC Bus 001 Device 003: ID 050d:0237 Belkin Components F5U237 USB 2.0 7-Port Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 1241:1166 Belkin MI-2150 Trust Mouse Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub chris@localhost:~$ hp-info -i HP Linux Imaging and Printing System (ver. 3.15.2) Device Information Utility ver. 5.2 Copyright (c) 2001-15 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. error: No device found that support this feature. chris@localhost:~$ hp-makeuri 1:008 HP Linux Imaging and Printing System (ver. 3.15.2) Device URI Creation Utility ver. 5.0 Copyright (c) 2001-15 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. error: Device not found chris@localhost:~$ lpinfo -v network ipp14 network ipps network https network ipp serial serial:/dev/ttyS0?baud=115200 network http direct hp:/usb/HP_LaserJet_1020?serial=JL1F0DC direct usb://HP/LaserJet%201020?serial=JL1F0DC network smb network socket direct hpfax network lpd direct parallel:/dev/lp0 What should have happened - The printer should print after booting without having to go through a bunch of steps to get it to work. --- ApportVersion: 2.14.1-0ubuntu3.7 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: chris 3929 F.... pulseaudio CurrentDesktop: GNOME DistroRelease: Ubuntu 14.04 HibernationDevice: RESUME=UUID=bb329dc0-0642-4b6a-876a-12c2f02fb7f6 InstallationDate: Installed on 2014-10-24 (134 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) IwConfig: eth0 no wireless extensions. lo no wireless extensions. MachineType: Dell Inc. OptiPlex 780 Package: linux (not installed) ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-46-generic root=UUID=4254a7e9-429b-4f53-a08c-ae7ff839b98f ro drm.debug=0x66 ProcVersionSignature: Ubuntu 3.13.0-46.77-generic 3.13.11-ckt15 RelatedPackageVersions: linux-restricted-modules-3.13.0-46-generic N/A linux-backports-modules-3.13.0-46-generic N/A linux-firmware 1.127.11 RfKill: Tags: trusty Uname: Linux 3.13.0-46-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 08/06/2013 dmi.bios.vendor: Dell Inc. dmi.bios.version: A15 dmi.board.name: 0C27VV dmi.board.vendor: Dell Inc. dmi.board.version: A01 dmi.chassis.asset.tag: LE0006476 dmi.chassis.type: 6 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA15:bd08/06/2013:svnDellInc.:pnOptiPlex780:pvr:rvnDellInc.:rn0C27VV:rvrA01:cvnDellInc.:ct6:cvr: dmi.product.name: OptiPlex 780 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/1428356/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp