Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 23:32:53 +0000
From:      Robert Millan <rmh@freebsd.org>
To:        Alex Kozlov <spam@rm-rf.kiev.ua>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: [PATCH] ignore uhid devices in X devd backend
Message-ID:  <52FD5625.6010604@freebsd.org>
In-Reply-To: <52EFAC5D.8010603@freebsd.org>
References:  <52EFAC5D.8010603@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FD5625.6010604>