Date: Tue, 14 Jul 2009 22:19:52 +0200 From: Christoph Langguth <christoph@rosenkeller.org> To: freebsd-usb@freebsd.org Subject: ukbd vs. uhid Message-ID: <4A5CE868.4060903@rosenkeller.org>
next in thread | raw e-mail | index | archive | help
Hi all,
just bumping this issue, triggered by the mentioning of PR 102066, and
using a better subject line which might receive replies :-)
While trying to get my keyboard and its multimedia keys to work with
usbhidctl (it doesn't really work at the moment), I came across this:
- the keyboard is only handled by *either* ukbd *or* uhid. In fact, if
unpatched, uhid will not even try to consider the device, because of the
following code inside uhid.c's uhid_probe() function:
if (uaa->use_generic == 0) {
/* give Mouse and Keyboard drivers a try first */
return (ENXIO);
}
That means that the keyboard always ends up as device ukbdX, and never
as uhidY.
Before even trying to get it to work using uhid, I think this is the
issue that needs to be sorted out: Can a device be handled by *two*
independent drivers at once?
- If so, how?
- If not, what could a possible solution be?
Thanks & cheers,
Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A5CE868.4060903>
