Thread (8 messages) 8 messages, 3 authors, 2009-01-14

Re: new modular hid?

From: Jiri Kosina <hidden>
Date: 2009-01-13 09:00:54

On Tue, 13 Jan 2009, Jiri Kosina wrote:
quoted
I would agree with Michael here, it looks like we went a bit overboard 
with HID quirks. I think sensible solution would be to merge quirks into 
3-4 files (one per device type) and maybe even compile keyboard quirks 
into hid core.
It might seem a too bit too much fine-grained right now, but my 
longer-term plan was to have more sophisticated drivers also register 
themselves to the HID bus, make use of the common parser, etc (Wacom comes 
to mind, for example). 
Having the quirks grouped together rather than nicely separate would then 
bring us close to the previous total mess, when unrelated quirks were 
glued together randomly in the spaghetti-code-way, which I really would 
like to avoid as much as possible, it started to become unmaintainable.
That being said, we of course need to think about the initrd issue brought 
up by Michael.

Compiling everything into single driver back again in the end would of 
course be a solution, but I am afraid that it'd be quite difficult with 
the bus infrastructure in place.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help