Gentoo Archives: gentoo-user

From: Frank Steinmetzger <Warp_7@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Trying to set up HP printer with foo2zjs
Date: Fri, 17 Oct 2014 23:51:07
Message-Id: 20141017235056.GA4104@kern.lan
1 Dear knowledgables
2
3 I am trying to set up an HP LaserJet 1000 printer with foo2zjs. I had been
4 using hplip in the past (which did work), but for several (mostly non-
5 techical) reasons, I don’t want to use that. I was happy with foo2zjs back
6 in the day when it was still “stable” in portage.
7
8 So I downloaded foo2zjs from its website, compiled it and installed it into
9 /usr/local. Then I had to copy over an udev rules file and the firmware
10 helper into /etc/hotplug/usb/hplj1000.
11
12 I plugged the printer in -- nothing. That would have been too easy. On a
13 hunch, I removed the KERNEL=="lp*" test from the udev rule. Now the udev
14 rule matched and the firmware loader was triggered and did its job
15 (confirmed by the printer spinning up after receiving the firmware).
16
17 I could set up the printer in Cups, which did find the foo2zjs files. Its
18 details are:
19 | Driver: HP LaserJet 1000 Foomatic/foo2zjs (recommended) (grayscale, 2-sided printing)
20 | Connection: usb://HP/LaserJet%201000
21 But here my journey ends. If I try to print something, nothing happens.
22
23 I tried it in a quite fresh Xubuntu in VirtualBox, which came with a basic
24 hplip installed (without the GUI stuff). Using hp-doctor, I set up the printer,
25 which mostly constisted of downloading the firmware from the web, and possibly
26 some other file setup. Afterwards, the printer worked.
27
28 So I compared my Gentoo and that Xubuntu. As it turned out, Xubuntu uses usblp,
29 which everywhere I read I’m told to disable if I want to use cups with USB.
30 ls -l /dev/hp* gives me:
31
32 Ubuntu:
33 lrwxrwxrwx 1 root root 7 Okt 18 00:52 /dev/hplj1000-0 -> usb/lp0
34 lrwxrwxrwx 1 root root 15 Okt 18 00:52 /dev/hplj1000-2 -> bus/usb/002/003
35
36 Gentoo:
37 lrwxrwxrwx 1 root root 15 18. Okt 01:35 /dev/hplj1000-9 -> bus/usb/003/012
38
39
40 So what’s my next option? What could I be missing? Thanks for your insight.
41 PS.: I’m away over Saturday and probably won’t be able to reply until Sunday.
42
43
44 dmesg from Xubuntu when plugging in the printer:
45 | usb 2-2: new full-speed USB device number 3 using ohci-pci
46 | usb 2-2: New USB device found, idVendor=03f0, idProduct=0517
47 | usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
48 | usb 2-2: Product: hp LaserJet 1000
49 | usb 2-2: Manufacturer: Hewlett-Packard
50 | WARNING! power/level is deprecated; use power/control instead
51 | usblp 2-2:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0517
52 | usbcore: registered new interface driver usblp
53
54 syslog from my Gentoo:
55 | [kernel] [21569.964698] usb 3-9: new full-speed USB device number 12 using xhci_hcd
56 | [kernel] [21570.131930] usb 3-9: New USB device found, idVendor=03f0, idProduct=0517
57 | [kernel] [21570.131942] usb 3-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
58 | [kernel] [21570.131944] usb 3-9: Product: hp LaserJet 1000
59 | [kernel] [21570.131945] usb 3-9: Manufacturer: Hewlett-Packard
60 | [mtp-probe] checking bus 3, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9"_
61 | [mtp-probe] bus: 3, device: 12 was not an MTP device_
62 | [/etc/hotplug/usb/hplj1000] foo2zjs: loading HP LaserJet 1000 firmware /usr/local/share/foo2zjs/firmware/sihp1000.dl to CUPS USB device ...
63 | [/etc/hotplug/usb/hplj1000] foo2zjs: usb://HP/LaserJet%201000... download successful.
64
65 --
66 Gruß | Greetings | Qapla’
67 Please do not share anything from, with or about me with any Facebook service.
68
69 ”Yeah so if you ever need info about anyone at Harvard, just ask.
70 I have over 4,000 emails, pictures, addresses, SNS.” – Why? –
71 ”People just submitted it. I don't know why. They "trust me". Dumb fucks.”
72 – Mark Zuckerberg, founder of facebook

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: Trying to set up HP printer with foo2zjs James <wireless@×××××××××××.com>