input-evdev patch adding option to override XDevice type Atom, option to force EV_REL events being treated as absolute values.

Wolfgang Draxinger wdraxinger at darkstargames.de
Tue Mar 11 07:25:26 PDT 2008


Am Dienstag, 11. März 2008 schrieb Nicolas Mailhot:

> I'd be very careful not to assume what can or can not be done at
> kernel level, and what should and should not belong in the kernel.

I think applying the quirks at the kernel level in the [usb]hid driver 
is probably the way to go, but IMHO having the _table_ mapping the 
quirks to devices _stored in_ the kernel is a bad idea. That's what 
we've got SysFS and UDev for. I mean, modules are configured on the 
user space level as well (/etc/modules.conf, /etc/modprobe.conf), 
though they live in kernel space.

Have the table somewhere in the filesystem (possibly in form of UDev 
rules) and let UDev apply the quirks on individual devices through 
SysFS.

Greetings

-- 
Wolfgang Draxinger
lead programmer - DARKSTARgames
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20080311/404afec3/attachment.pgp>


More information about the xorg mailing list