Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2005 08:50:01 -0700
From:      Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
To:        Norbert Koch <NKoch@demig.de>
Cc:        "Freebsd-Hackers@Freebsd. Org" <freebsd-hackers@freebsd.org>
Subject:   Re: usbd.conf: detach ukbd
Message-ID:  <42A86529.5020103@savvis.net>
In-Reply-To: <000001c56cf8$fffeb920$4801a8c0@ws-ew-3.W2KDEMIG>
References:  <000001c56cf8$fffeb920$4801a8c0@ws-ew-3.W2KDEMIG>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?42A86529.5020103>