From owner-freebsd-questions@freebsd.org Fri Jul 24 01:08:27 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 218A19A9F01 for ; Fri, 24 Jul 2015 01:08:27 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) Received: from nm4-vm5.access.bullet.mail.bf1.yahoo.com (nm4-vm5.access.bullet.mail.bf1.yahoo.com [216.109.114.116]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9FF71ED6 for ; Fri, 24 Jul 2015 01:08:26 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1437699897; bh=TNwvEp/2wgMr9jEMywvg0Qwak0VcVLuAfxl3O3y9kps=; h=Date:From:To:References:Subject:From:Subject; b=o/Ytxlri4lPAf8LP4lLbUi90ajdvJUOgTF16sdQ6OwfUhTfjaNfs8PeYOc/Rme4zRpeZzY7CNLKGS156uVUN64hOtA2dfh+5Dxst8BaW1KtowxK7ZAO1RT+Fm5ueIFx1/yuTRSylVclMNj5itCy5fifILse5ObIGQnsyz1OrE0LEpCIb502+Ix7VO3ffwvrjS4XZJ6cktMaWBe3wDca/dI/KuXOQ54B3ApQ5Kwf++oTGPb9/mnfrcVzQLMdEynYIIy0PN7s0Zouy47JqOclSapQqwytM1TC5UXIkgDriEVeyUgpIHLgeE83upOTjH2ag5SzZ0cJxr4xVXqVq1bYR2w== Received: from [66.196.81.163] by nm4.access.bullet.mail.bf1.yahoo.com with NNFMP; 24 Jul 2015 01:04:57 -0000 Received: from [98.138.104.96] by tm9.access.bullet.mail.bf1.yahoo.com with NNFMP; 24 Jul 2015 01:04:57 -0000 Received: from [127.0.0.1] by smtp116.sbc.mail.ne1.yahoo.com with NNFMP; 24 Jul 2015 01:04:57 -0000 X-Yahoo-Newman-Id: 884706.24465.bm@smtp116.sbc.mail.ne1.yahoo.com Message-ID: <884706.24465.bm@smtp116.sbc.mail.ne1.yahoo.com> X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 86XS6N8VM1kig6.YNdxmE9swoKpjur0Wm4dr92s1vty0caj xVmBG1xUNqHlT3iSXzjybjwzLurDkvQ5lfaXVR219R_kOJLyHMDq4ibFgArC 9XxpJBfWlWj5DcBwmSBvjnXyAopHoUsTJxaGJmIotEKUyd.yx.aNv2a4pxQt dgyTaJ0RNIR9QvN7WZND6Yvunafy0beeHRqHuZlU66NESeTZVQkYTUSSWLrA ygw22TMnLpyl14b3y6GTrCG2bhBiPNsvawCIZEUrMEegH1Zn2pqC7gteYn8Z fT8TtyE9WTwauvYzBmilVcRIdcMKjxmFyhekvFOsKVBuXp4T1WwvGQR3QRBs bi8tdGS1mtgU0UGjxYXMwRmr_MokMDAnOJ2m0GnBMj6urq6eb5GPsNeVEyVa 40OJOQEdaEk8N.FtXGRyMBTUWkseXtACO0E5OQmpIchQrHCjsNeMxwMsB6tq B4C3rdqLqfXggJyeAdi8UifP.8KgaJPTZaMxKhIvkI8R803NzdenVqTkKnLT T9bEbgEzEoGQVC5eJrEmwZDLFH0zIocnGCMx0zQCdxnu6iYPjlU.OOeeY_MM - X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- Date: Fri, 24 Jul 2015 01:04:27 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org References: <55B0BE81.70208@bananmonarki.se> Subject: Re: Ulpt problems. 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 01:08:27 -0000 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