USB printer && ulpt.ko
Tijl Coosemans
tijl at FreeBSD.org
Mon Mar 21 11:05:32 UTC 2016
On Mon, 21 Mar 2016 12:01:01 +0100 Matthias Apitz <guru at unixarea.de> 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: <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?
The pkg-message should be removed. It's no longer relevant. It's ok
if ulpt is loaded.
More information about the freebsd-questions
mailing list