From owner-freebsd-questions@freebsd.org Mon Mar 21 11:05:32 2016 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 995C6AD8096 for ; Mon, 21 Mar 2016 11:05:32 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay105.isp.belgacom.be (mailrelay105.isp.belgacom.be [195.238.20.132]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DC64E44 for ; Mon, 21 Mar 2016 11:05:31 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BpBgAW1e9W/xtr8lFdAYMzgUW6MoFvhg0CgSM7EgEBAQEBAQFkJ4RCAQEEOhwjEAsOCgkQAhMPKh4GE4grvhUBAQEBAQUBAQEBARuKYoQ6XwGEeAWXV416bo4jjwYnDi2DZjsuihUBAQE Received: from 27.107-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.107.27]) by relay.skynet.be with ESMTP; 21 Mar 2016 12:05:28 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id u2LB5ReE049290; Mon, 21 Mar 2016 12:05:28 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Mon, 21 Mar 2016 12:05:27 +0100 From: Tijl Coosemans To: Matthias Apitz Cc: freebsd-questions@freebsd.org Subject: Re: USB printer && ulpt.ko Message-ID: <20160321120527.57b0b5ae@kalimero.tijl.coosemans.org> In-Reply-To: <20160321110101.GA3645@c720-r292778-amd64> References: <20160320161350.GA3782@freeyaz> <74efb895-6e15-49a0-9a70-46b0c8b958e1@unixarea.de> <20160320165642.GB3782@freeyaz> <20160320185359.GA2632@c720-r292778-amd64> <20160320192407.GA2900@c720-r292778-amd64> <20160320194423.GC3782@freeyaz> <20160321110101.GA3645@c720-r292778-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2016 11:05:32 -0000 On Mon, 21 Mar 2016 12:01:01 +0100 Matthias Apitz wrote: > The pkg message of the pkh hplip says: > > $ pkg info --pkg-message hplip-3.14.10_1 > hplip-3.14.10_1: > Always: > ===================================================================== > > 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 (you may also want to compile > ... > > and I do not have compiled in the device and not lodaded at boot: > > # kldload ulpt > # > > i.e. I could load it fine which shows that ulpt is not loaded. > > It seems that on device attach the devd fires up the loading of it: > > # tail /var/log/messages > Mar 20 20:21:00 freeyaz kernel: ugen0.3: at usbus0 > Mar 20 20:21:00 freeyaz root: Unknown USB device: vendor 0x03f0 product 0xac11 bus uhub0 > Mar 20 20:21:00 freeyaz kernel: ulpt0: on usbus0 > Mar 20 20:21:00 freeyaz kernel: ulpt0: using bi-directional mode > ... > > How is the correct way to avoid this loading via /etc/devd/usb.conf? The pkg-message should be removed. It's no longer relevant. It's ok if ulpt is loaded.