From owner-freebsd-questions@freebsd.org Mon Mar 21 11:01:09 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 D237EAD7D9F for ; Mon, 21 Mar 2016 11:01:09 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 89D0EAA3 for ; Mon, 21 Mar 2016 11:01:09 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [82.113.98.224] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ahxa6-0002qm-At for freebsd-questions@freebsd.org; Mon, 21 Mar 2016 12:01:06 +0100 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u2LB12W6003713 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 21 Mar 2016 12:01:02 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u2LB116d003712 for freebsd-questions@freebsd.org; Mon, 21 Mar 2016 12:01:01 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 21 Mar 2016 12:01:01 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: USB printer && ulpt.ko Message-ID: <20160321110101.GA3645@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160320194423.GC3782@freeyaz> X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.98.224 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:01:09 -0000 Hello, 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? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045