On Tue, Oct 16, 2007 at 02:56:23PM -0200, Henrique de Moraes Holschuh wrote:But it *is* a key press! I think Dmitry is wrong here. Input is the right layer for sending keypress information to userland. Well, yes, we could have a layer in the kernel to turn the key events into ACPI events and then let the video module turn them back into input events, but that still wouldn't deal with the fact that legacy Dell backlight control isn't going to happen in the kernel. Anyway. My point was that saying we shouldn't put notification events through the input layer is at odds with reality - we already do, and they already arrive with EV_KEY. Userspace copes. Who benefits from doing it in any other way? Userspace doesn't - we'd need to rewrite parts of it to deal with the new setup. The kernel doesn't, because it doesn't consume these events itself. Coming up with a "cleaner" interface just results in more work for everyone. We should just go with the defacto standard, especially since it's one that's been implemented by various hardware vendors. -- Matthew Garrett | mjg59@srcf.ucam.org -
| monstr | [PATCH 11/60] microblaze_v4: cache support |
| Andrew Morton | Re: x86: 4kstacks default |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Ben Hutchings | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jiri Olsa | [PATCHv5 0/2] net: fix race in the receive/select |
