[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: What's in hid.git for 2.6.30
From:       Jiri Kosina <jkosina () suse ! cz>
Date:       2009-05-01 16:16:11
Message-ID: alpine.LNX.2.00.0905011812330.22532 () wotan ! suse ! de
[Download RAW message or body]

On Fri, 1 May 2009, Oliver Neukum wrote:

> > If driven by usbhid, the only way how keyboard could be handled if not
> > claimed by hid-input is a userspace hiddev or hidraw driver. And we don't
> > suspend if hidraw/hiddev node is open, right?
> What happens if the node is closed? 

That's up to the userspace driver. If it is an input driver, it is 
probably using uinput to inject events into the input system, and 
therefore should properly unregister itself also from uinput together with 
closing the node.

> Will hid forget that a key had been pressed? I must admit that I can't 
> tell where in hid the key repetition logic is located.

The repetition is fully handled in the input core, not in the hid-input 
driver. So if the device is not handled by hid-input, we (the kernel 
driver) haven't registered with the input subsystem, and therefore no 
events go to input subsystem at all.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic