From owner-freebsd-questions@freebsd.org Fri Jul 24 02:28:41 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 08EBC9A8AB8 for ; Fri, 24 Jul 2015 02:28:41 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CA331DAB for ; Fri, 24 Jul 2015 02:28:39 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id t6O2SXxZ057451; Fri, 24 Jul 2015 04:28:33 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <55B1A2D3.9040707@bananmonarki.se> Date: Fri, 24 Jul 2015 04:28:35 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Ulpt problems. References: <55B0BE81.70208@bananmonarki.se> <884706.24465.bm@smtp116.sbc.mail.ne1.yahoo.com> In-Reply-To: <884706.24465.bm@smtp116.sbc.mail.ne1.yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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, 24 Jul 2015 02:28:41 -0000 On 2015-07-24 03:04, Thomas Mueller wrote: > from Bernt Hansson: > >> How do I disable ulpt? It's not in the generic kernel so can't disable it >> there. >> In /boot/loader.conf I have ulpt_load="NO" But that does not help it's still > loaded. > >> kldunload ulpt don't help either it keeps coming back. >> I need to disable it so I can use hplip. >> From hplip pkg-message; >> "HPLIP expects printers to be attached as a ugen(4) devices. This >> means that you must NOT have "device ulpt" in your kernel and ulpt >> must NOT be loaded as a kernel module" > I remember this from the recent past but don't see this message now, in either the FreeBSD ports version or NetBSD pkgsrc version. > > For FreeBSD, I made a directory /boot/modules-toxic and moved the ulpt stuff there. > > FreeBSD still couldn't find the printer. Neither could NetBSD with ulpt commented out in kernel config. > > FreeBSD and NetBSD printing setup couldn't find the printer even when I gave the USB address. > > Now I intend to try again, using ulpt, for both FreeBSD and NetBSD. > > I finally got the printer to print, early June 13, 2015, from NetBSD using Ethernet connection, and a newer .ppd file not yet in pkgsrc. > > NetBSD couldn't find the printer normally but saw it when I gave the IP address. > > I think that might work with FreeBSD too, but haven't tested it yet. > > My printer is HP LaserJet Professional M1212nf MFP. > > Tom It seems that one needs ulpt, otherwise the printer isn't found. So I added to /boot/loader.conf ulpt_load="YES" then the printer is found by cups and hplip. But I do not want to use cups so I deinstalled it. Cups can't print a testpage so I resorted to lpd. Which can't print anything, so back to cups that too can't print anything. So I'm stuck. Printer is HP laserjet P2055d