From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 669011387D2 for ; Fri, 17 Oct 2014 23:51:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACA4BE091B; Fri, 17 Oct 2014 23:50:59 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 80CC2E08C2 for ; Fri, 17 Oct 2014 23:50:58 +0000 (UTC) Received: from gmx.de ([141.24.17.23]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MKpvc-1XfHIO3h5s-0006FV for ; Sat, 18 Oct 2014 01:50:56 +0200 Date: Sat, 18 Oct 2014 01:50:56 +0200 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Trying to set up HP printer with foo2zjs Message-ID: <20141017235056.GA4104@kern.lan> Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt 1.5.22 (2013-10-16, Gentoo 1.5.22-r3) X-Provags-ID: V03:K0:lguWbGPMhwEy8AakpcisM8wOeH/5oKWpHbY8kvmX6e6p7cCSWu2 Oc8djp0WBtQ2OGALrYcUOdIpmyoAMaTaO+peLn/l+qp0PRHPyaCdn2sNdFCeahli/Tl4tt9 Zn4ce9H5w7wLhLpHaCtirSdx4d7DrQh/zrbfbQvbTUTFZKg8oet06xqMnEjg6KxJ1Q17e0n 6D4Uj5gLr6Du3aJ+W8Srg== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: a80fadd3-8ec9-4825-9110-5370a9a97f0f X-Archives-Hash: 335a36efe75250dff2a1e7a15d09380e --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear knowledgables I am trying to set up an HP LaserJet 1000 printer with foo2zjs. I had been using hplip in the past (which did work), but for several (mostly non- techical) reasons, I don=E2=80=99t want to use that. I was happy with foo2z= js back in the day when it was still =E2=80=9Cstable=E2=80=9D in portage. So I downloaded foo2zjs from its website, compiled it and installed it into /usr/local. Then I had to copy over an udev rules file and the firmware helper into /etc/hotplug/usb/hplj1000. I plugged the printer in -- nothing. That would have been too easy. On a hunch, I removed the KERNEL=3D=3D"lp*" test from the udev rule. Now the udev rule matched and the firmware loader was triggered and did its job (confirmed by the printer spinning up after receiving the firmware). I could set up the printer in Cups, which did find the foo2zjs files. Its details are: | Driver: HP LaserJet 1000 Foomatic/foo2zjs (recommended) (grayscale, = 2-sided printing) | Connection: usb://HP/LaserJet%201000 But here my journey ends. If I try to print something, nothing happens. I tried it in a quite fresh Xubuntu in VirtualBox, which came with a basic hplip installed (without the GUI stuff). Using hp-doctor, I set up the prin= ter, which mostly constisted of downloading the firmware from the web, and possi= bly some other file setup. Afterwards, the printer worked. So I compared my Gentoo and that Xubuntu. As it turned out, Xubuntu uses us= blp, which everywhere I read I=E2=80=99m told to disable if I want to use cups w= ith USB. ls -l /dev/hp* gives me: Ubuntu: lrwxrwxrwx 1 root root 7 Okt 18 00:52 /dev/hplj1000-0 -> usb/lp0 lrwxrwxrwx 1 root root 15 Okt 18 00:52 /dev/hplj1000-2 -> bus/usb/002/= 003 Gentoo: lrwxrwxrwx 1 root root 15 18. Okt 01:35 /dev/hplj1000-9 -> bus/usb/003= /012 So what=E2=80=99s my next option? What could I be missing? Thanks for your = insight. PS.: I=E2=80=99m away over Saturday and probably won=E2=80=99t be able to r= eply until Sunday. dmesg from Xubuntu when plugging in the printer: | usb 2-2: new full-speed USB device number 3 using ohci-pci | usb 2-2: New USB device found, idVendor=3D03f0, idProduct=3D0517 | usb 2-2: New USB device strings: Mfr=3D1, Product=3D2, SerialNumber=3D0 | usb 2-2: Product: hp LaserJet 1000 | usb 2-2: Manufacturer: Hewlett-Packard | WARNING! power/level is deprecated; use power/control instead | usblp 2-2:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2= vid 0x03F0 pid 0x0517 | usbcore: registered new interface driver usblp syslog from my Gentoo: | [kernel] [21569.964698] usb 3-9: new full-speed USB device number 12 usin= g xhci_hcd | [kernel] [21570.131930] usb 3-9: New USB device found, idVendor=3D03f0, i= dProduct=3D0517 | [kernel] [21570.131942] usb 3-9: New USB device strings: Mfr=3D1, Product= =3D2, SerialNumber=3D0 | [kernel] [21570.131944] usb 3-9: Product: hp LaserJet 1000 | [kernel] [21570.131945] usb 3-9: Manufacturer: Hewlett-Packard | [mtp-probe] checking bus 3, device 12: "/sys/devices/pci0000:00/0000:00:1= 4.0/usb3/3-9"_ | [mtp-probe] bus: 3, device: 12 was not an MTP device_ | [/etc/hotplug/usb/hplj1000] foo2zjs: loading HP LaserJet 1000 firmware /u= sr/local/share/foo2zjs/firmware/sihp1000.dl to CUPS USB device ... | [/etc/hotplug/usb/hplj1000] foo2zjs: usb://HP/LaserJet%201000... download= successful. --=20 Gru=C3=9F | Greetings | Qapla=E2=80=99 Please do not share anything from, with or about me with any Facebook servi= ce. =E2=80=9DYeah so if you ever need info about anyone at Harvard, just ask. I have over 4,000 emails, pictures, addresses, SNS.=E2=80=9D =E2=80=93 Why?= =E2=80=93 =E2=80=9DPeople just submitted it. I don't know why. They "trust me". Dumb = fucks.=E2=80=9D =E2=80=93 Mark Zuckerberg, founder of facebook --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUQatgAAoJEIsxvrVA1DDK9sgP/3ag98gq/07SiOv25zutqsWt vX14hhpsj1gw4ESjKDhVlP6TMcf40M+GBfnDRhmtnQlf34rRMSkEZ6JOLLAiWwqp r9wqwEQRK7i9xqqcYXDKnsa/EkcTQonQfG5j9Ds5YpoeliaQx2MhVT7eD2hEkENg BUahriev9O70hcSDmneUqevNHvQY2TDb8FLD7marP6PTKxf1C5uXwOPcRHFC/xK7 b1VlV/S26KWBwpN0sdm1Fw3JkXj3aAN1Tw0d7zkvY/xbGs7xl9na28uXnpbNDtJ4 T5Np5pHlMeAz8/2lvNlavyFkSPWUhg5gqyqrVvXfT4k6lMBueI93R5aGZlcTnKgC hpwFbDMn2KX9NTowe+yAAB2Kt8x6nbFSrv8z80kJ9oMDENVexKVgZCwa5T178T3s eVwiWvbx83EUJIm4oIxy4PQuiICmK8v6U2tKJqxnYQHNzj59PN5bb9U+NcwVHyv6 va40QKpWTSj4tgUxI9xlGepRZBpv0j22pCNk0tzlj5sT3d20c5sPIlkSUj5KRx7o 7IPn75J8j1y79cyx8gpeyN1WWKVbSxRJzwz2qkdAklg1kMbyCAAjIVj/7tPf3Q6x 3Z/nCKykatftierUN/Yq7Hm4/WyZqahxiFkZgKTVuZlEkcOECQ3aQ6ecV9gLsvJD DjYky+ee1JvhKmG0besT =Nl92 -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--