On Sat, Mar 28, 2009 at 09:36:45AM -0300, Henrique de Moraes Holschuh wrote: > On Fri, 27 Mar 2009, Matthew Garrett wrote: > > On Fri, Mar 27, 2009 at 12:58:01PM -0300, Henrique de Moraes Holschuh wrote: > > > Note: unless something is done to change the way X.org deals with > > > input devices, rfkill-input is _useless_ in a large number of setups > > > as far as input event handling goes, because it will never get any > > > events after X.org evdev grabs the input device. > > > > X.org evdev doesn't grab the input device. We fixed that precisely > > because it broke rfkill-input. > > Eh? What is that ioctl in the git version doing there, then? Did I > get the code from the wrong branch or something? It'll only call the ioctl if the user explicitly passes the GrabDevice option, and if they do that they can deal with the breakage. Default behaviour is not to grab. From the source: /* Grabbing the event device stops in-kernel event forwarding. In other words, it disables rfkill and the "Macintosh mouse button emulation". Note that this needs a server that sets the console to RAW mode. */ -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html