From owner-freebsd-questions@freebsd.org Fri Oct 9 20:34: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 4502B9D3603 for ; Fri, 9 Oct 2015 20:34:34 +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 19F42B1 for ; Fri, 9 Oct 2015 20:34:34 +0000 (UTC) (envelope-from alnis.m@mail.com) Received: from blazon-pc.rw.local ([78.84.244.14]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0LdI7b-1aT1Rw26q1-00iQCJ for ; Fri, 09 Oct 2015 22:29:21 +0200 Subject: Re: Can't print to HP LJ 1020 using foo2zjs and CUPS To: freebsd-questions@freebsd.org References: <56181D6F.6010200@mail.com> <20151009201841.GA58777@thor> From: Alnis Morics Message-ID: <5618239E.30008@mail.com> Date: Fri, 9 Oct 2015 23:29:18 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151009201841.GA58777@thor> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:iiXwODwzqtRd81qs7vaePtX27KQiyCTilA3y/5fVDthE1hVj2Fa tDtDXfq7/gmcC2OU/1qQWL33SvRFT73AAb93wxMBBvq0crbId+hU4ZvtGsWj6xIuU3VJ5oa JurY243FS7HMHTP0MMYe69r0OuRD4bPEcbnqyCu9z+kzLG7YtLudWHU9FjPNE5ttVTYVnE9 XRgRyhnbA/qldGOVYW5vA== X-UI-Out-Filterresults: notjunk:1;V01:K0:SBF8vert57k=:Zj6jk6LQhqadl3arvwdLIa bVdS3VBcOvpBaNhPQnS1BIKEakAh/DMnbufdTmRepycYeVVfpWJOa/MQ/LZbUbcrf42+pMzWQ QkFJ2od5tW1vHQmPeomUnG31pBNwMpTITyAR7Mn4SxVm5LM6NI6KR/lDOgKMMbPZPsOXVIiVW hK+c1LuOlMN6nwXzll8fRlGC1TZqn9KJZgvKnPq9b6RvrMFoiZwe6V0qgX8dGBxlpYtO4LcDF IwqNpZLkRZrvYS3sFuzUz2qV5chri0K6mbnFRMM4E33g6c+mIhOT0fCTWrzgop68IvoJEWj3p VC3cFUoJQ85fUUjSyNigD50f95Je0HbJAkP/S2/L47gdHGllqIvtNQ94mNj5XwoTugHMsanM5 yn92JAATO2S/DyFdtxMt+pvDoZ/DSTG+Tir4ME+ElOHie/V3i5E1koCjXeuHaOEDXD7gPHa78 13hUKgwOkr5OYuevuOkBxnLnY+DalQHp+TneHMWnr4TtXSymIvZ3hyinyvH7v1MFq8BT5lMon kHn5to/G6hDAnvfiwfSz6qTdUh3U/DG6QPXbQuBP4048DJyameLTmw2YpLcb9asBw+37g0YSn r+QHP5aXz++hLzM3jLZGxMmCLtkuK6WG+o5DMWYGffjfPswZges6sw924KYCh7qVHsGlHHscH UTzn9KqB08SEsu+o/Q0lrUcru0fbvk9JKujzWnnQDwNu2X/MHqehK3IIZYuQMGF1G61eRRH3f 1vs0tLe3WFR6J4qKeyP2N0ldHLJHrHMWhhScW0WUQRoTFGih93FC4GV3HAH2L/ME/qyR77uA2 NHiClImfUvuLs9wzeMWrBXaNw+VbjAd4L4gwuGyYkDqX+aPq2/XG3vFBvd1BoX0HJf9GkWgH7 HFsWgxxS77i4u8z7l5b98pZ9ClUdmOyws5b1b74nc+8ptzeL0lNjCP58kR6JhUO/KSuVg8Ml3 U9aeo8zZZaLLHwymw4W+oxT6EGR/2vuQ= 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:34:34 -0000 On 10/09/2015 23:20, Klaus wrote: > 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 > Thank you, Klaus, I'll try that. -Alnis