From owner-freebsd-questions@freebsd.org Fri Oct 9 20:21:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF2159D2E20 for ; Fri, 9 Oct 2015 20:21:34 +0000 (UTC) (envelope-from thorres@brothersofgrey.net) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E16E18E3 for ; Fri, 9 Oct 2015 20:21:34 +0000 (UTC) (envelope-from thorres@brothersofgrey.net) Received: from localhost ([95.208.59.208]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0Lzb2g-1agaGF3CzK-014h9Z for ; Fri, 09 Oct 2015 22:21:26 +0200 Date: Fri, 9 Oct 2015 22:20:36 +0200 From: Klaus To: Freebsd Questions Subject: Re: Can't print to HP LJ 1020 using foo2zjs and CUPS Message-ID: <20151009201841.GA58777@thor> References: <56181D6F.6010200@mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56181D6F.6010200@mail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Provags-ID: V03:K0:8vpKA7YeGJxyxmNRZmME5z/taS+W5SdSysNFIp5goIO/kWIPsOu syziPWNC2XKHwIJpGiB6MD7W3t62Csz8FGf6vllHhn5fp50Is1OFpVKBFaCjew3boSM1qTr vkiWt1sVu3YKyIOMMAyfgmsccyh9UQ3i1sU+peybfjRuGrjKcCWb39fvF+8bmBgIarMUhqf MJe1kL0YWvOtJ2hDH/cgg== X-UI-Out-Filterresults: notjunk:1;V01:K0:cjD5Dy/8owM=:xCC3oMQUu944CzxNAik95Z gY1zxG739nYDfPGP+YtcWbYanelMG/EU7Jh3fzo0HnIQT3oyIR9dDX5Zu58sNeguMNTu3vpe9 AHVOQ8vWTshuZqO5Y1UrCufruxrNq7qDu9nIOmZtwqhSIyiC1PUM/ZjNwIxfQyxOLMKNbc09x Eb7bUbkpJXJJmuCwe5/RAcobtTbXedi/FL4gL7vJLwxYYpIz4pWKEwlrSiZJkfDjwksLSvCTh EAH1kMHLqv3jU51a3V2ZKDTF+K3Rh1ZCiUZ35A9nAfZhFEWVzkEsRchfx7gub98wQ0dyVsGAE i18zZbyGxnDvrZOldfZxfZXMFd4yyB2loMCc03zvr/vGgJofBMrlUXV111+Lzdxv4U44WKSVV pBfxSD81XhG3kjmZ39J2/gtiEjq3HSqGFkecft+6Q3tQ3mKuEdxzVAYsnRy6BcueC9qUYcZ87 VqIzsJ01fDgdIRUGFiyLed6mXiHb16zGxG0NI2nZNN764f9TgyQ9N3EsBiVg0TVzZdITPVSt1 kEpFZDrqL/dvJ+VIrbx6qKmj8ZrMX0bSsLuasCFUPikjTZnp3efPcYD8Oc7kiYU97S5BA5Qsn JER+vLHp0EE9da7VtbkE6LIJZZDbU5dG8LB/evvP6qTSPNmyHSnQtytqfhZCiIZnBv1BaiwPC IZpRIi9pz6P+k8dYOIwjBycbm6GYf1L1OILb7NEcv5e0Ts8+vQ2xzJVAfDwgH5BhfWfI= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 20:21:34 -0000 Alnis Morics schrieb: > Hi, > > I'm trying to set up HP LaserJet 1020 on 10.2-RELEASE with CUPS and > foo2zjs. That worked on previous versions of FreeBSD, although there > were changes with devices to use (I gues it was ulpt to ugen and back to > ulpt in 10.0). > > But now none of them works for me. > If I use ulpt, the moment I plug in the printer or turn it on: > > ugen3.2: at usbus3 (disconnected) > ugen3.2: at usbus3 > ugen3.2: at usbus3 (disconnected) > ugen3.2: at usbus3 > ulpt0: 2> on usbus3 > ulpt0: using bi-directional mode > ulpt0: offline > > CUPS doesn't find this printer. I can still add it manually but when I > try to print, nothing happens, and there are no error messages. I found > out that it is exactly after the firmware is downloaded that ulpt0 turns > offline (should it?). > > If I use ugen (rebuilt CUPS with LIBUSB, moved away > /boot/kernel/ulpt.ko), then CUPS detects the printer but no firmware > gets downloaded, and, of course, I can't print. When I try to send the > firmware manually > > cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/ugen3.2 (or > /dev/usb/3.2.0) > > the result is an input/output error. > > Any ideas of what might be wrong or how it should work now? > > > Permissions in /etc/devfs.rules: > # Begin printers_foo2zjs (added by foo2zjs/freebsd-install) > [printers_foo2zjs=42] > add path 'ulpt*' mode 0660 group cups > add path 'unlpt*' mode 0660 group cups > add path 'ugen*' mode 0660 group cups > add path 'usb/*' mode 0770 group cups > # End printers_foo2zjs (added by foo2zjs/freebsd-install) > > Thanks, > Alnis > Hi, I think that is a conflict between the module for ugen and module for ulpt. I had this problem to and I solved it by compiling the kernel without the ulpt module. Greetings, Klaus -- Jabber: thorres@deshalbfrei.org PGP/GnuPG: 0x326F6D7B