[PATCH] ignore uhid devices in X devd backend

Robert Millan rmh at freebsd.org
Thu Feb 13 23:32:56 UTC 2014


On 03/02/2014 14:49, Robert Millan wrote:
> 
> This patch removes uhid from the hw_types[] list. According to the
> uhid driver description, this driver is only a fallback for devices
> not supported by any other driver.
> 
> On my system, the USB keyboard shows up as an uhid device in addition
> to /dev/ukbd0, but the previous devd code misidentified it as a mouse.
> 
> This just leads to trouble when X attempts to open() it and fails,
> for the reasons described in my earlier devd_no_kbd.diff patch.

This might no longer apply with the code in:

http://trillian.chruetertee.ch/ports/browser/trunk/x11-servers/xorg-server/files/extra-devd

which includes an open() test with fallback.

(still I don't see the point of processing uhid devices, though)

-- 
Robert Millan


More information about the freebsd-x11 mailing list