usbd.conf: detach ukbd

Maksim Yevmenkin maksim.yevmenkin at savvis.net
Thu Jun 9 15:50:20 GMT 2005


Norbert,

> when running usbd (under FreeBSD 4.11) with
> -dv switches I can see that a usb keyboard
> correctly attaches as ukbd0,
> but detaches as fall-through "USB device".

can you please tell what is in your /etc/usbd.conf?

> Do I just have to live with that fact or can
> I change that anyhow? Is that a device/device-class
> specific problem?

does something like

device "USB keyboard"
	devname "ukbd[0-9]+"
	attach "foo"
	detach "bar"

work? note: please replace "foo" and "bar" with actual commands you want 
to be executed.

thanks,
max


More information about the freebsd-hackers mailing list