Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2016 12:01:01 +0100
From:      Matthias Apitz <>
Subject:   USB printer && ulpt.ko
Message-ID:  <20160321110101.GA3645@c720-r292778-amd64>
In-Reply-To: <20160320194423.GC3782@freeyaz>
References:  <20160320161350.GA3782@freeyaz> <> <20160320165642.GB3782@freeyaz> <20160320185359.GA2632@c720-r292778-amd64> <20160320192407.GA2900@c720-r292778-amd64> <20160320194423.GC3782@freeyaz>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


The pkg message of the pkh hplip says:

$ pkg info --pkg-message hplip-3.14.10_1 

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: <HP> 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: <HP Deskjet 2510 series, class 0/0, rev 2.00/1.00, addr 3> 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?


Matthias Apitz, ✉, ⌂  ☎ +49-176-38902045

Want to link to this message? Use this URL: <>