From owner-freebsd-questions@freebsd.org Fri Oct 9 20:08:11 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 D69EB9D2572 for ; Fri, 9 Oct 2015 20:08:11 +0000 (UTC) (envelope-from alnis.m@mail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF14EFBE for ; Fri, 9 Oct 2015 20:08:11 +0000 (UTC) (envelope-from alnis.m@mail.com) Received: from blazon-pc.rw.local ([78.84.244.14]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0LjISX-1aJguz2dnb-00daUC for ; Fri, 09 Oct 2015 22:02:59 +0200 From: Alnis Morics Subject: Can't print to HP LJ 1020 using foo2zjs and CUPS To: freebsd-questions@freebsd.org Message-ID: <56181D6F.6010200@mail.com> Date: Fri, 9 Oct 2015 23:02:55 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:5/zSa6eJP9/24L+vOMRMIDd9Cy+XnpB93Eipc9FVHR7Uads0eGG XT8zSfqXHABHkI5pLYZxurh9bNDHAjkY4TYFRqP7iKI0YwxXDt1hOaNy1zcvajI8YXKh2P5 HJ+k5q5pJqDQ1MY8WRwgTtBUQjTDmhnujCM33NzUld/sE9lPrQbyE4heAXFm0kmxYNA6DT3 xcUbELTOQw9hOcW3aYJAw== X-UI-Out-Filterresults: notjunk:1;V01:K0:o0mCkGS+Qng=:L9olM++PSC4hTiigJoxyvH 4I9gbAB2mE97saL7jo7QCUuiHzTR2s0BkJz5wl14TNPBH2e0kZxgUdMublA/nVSYd1SmujPam 46ByU9OtlTngD8q1rQsyERA2NjpUEB9HkbXQwlJ1dntUVrSxx3mE8PCnzaQp5mns7i8leHF+l ZRlSbqDfVr7uziPgsQdpak8AUm3CEbGAXwl7mjI+gMVMZDdvZ+rWkz0Ak0ywowKLDiS37qCEP TNHw6cNwWk2UbN0tBNqq3NRPV3QwKx3HoARtjJK2CfUq894sk8bdOjva4J8ZBGfflIRCAI/ob yBEU6JbfwqiUnPau6/qW6kfmgUem/LCSjjXqS4OhnBMmKGIsX/JSYsW3HFMmGGwUkUFNIG3Y1 c5K4pLdP7gAJIshKVTvm0yduILEcR1uORBw1z7KYG8XB4/RtFchPQZhE3VL2WPLjtNJQ4jMzH iSsroFP/PIl0UqDF4wMy7Gd9XgT4G5PL3zoyLkKmvB5FgOwbLSBvUixpsDDkz6ya7miyuGA+S ImNpX9rIFMmZR18PROe5PZKGoKjBFNiSwViHyEh2Rze1PUI8O8WisRkcjvihHpCMQHfmPfXQ4 twBIQRQ3FvY4ya89m6hzQY+4uY5ZvdalGKf54nNoStM14TnN7gOcUOs3Aw2sv/hzZMrwstp83 Zf7/oWE3LlyViNK9NlPiGPgfUBJl4cnGLTBCm3OQC5YXa3F5UNx9eMPiKrKTKpMI4j721plRe wtJjaodTw3zBds/9POE0ZyCqhg4ctiNrWCvG+PTHfTbNmHmNaeL7yNPWKnbUEUH0dRO34i3lD GHx6wS7 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:08:11 -0000 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: 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