Date: Fri, 9 Oct 2015 23:29:18 +0300 From: Alnis Morics <alnis.m@mail.com> To: freebsd-questions@freebsd.org Subject: Re: Can't print to HP LJ 1020 using foo2zjs and CUPS Message-ID: <5618239E.30008@mail.com> In-Reply-To: <20151009201841.GA58777@thor> References: <56181D6F.6010200@mail.com> <20151009201841.GA58777@thor>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Hewlett-Packard> at usbus3 (disconnected) >> ugen3.2: <Hewlett-Packard> at usbus3 >> ugen3.2: <Hewlett-Packard> at usbus3 (disconnected) >> ugen3.2: <Hewlett-Packard> at usbus3 >> ulpt0: <Hewlett-Packard HP LaserJet 1020, class 0/0, rev 2.00/1.00, addr >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5618239E.30008>