Messages in this thread | | | Date | Tue, 8 Feb 2005 09:29:49 -0600 | From | David Fries <> | Subject | Re: [PATCH] Linux joydev joystick disconnect patch 2.6.11-rc2 |
| |
On Mon, Feb 07, 2005 at 01:20:33PM +0100, Vojtech Pavlik wrote: > On Sun, Feb 06, 2005 at 08:21:13PM -0500, Dmitry Torokhov wrote: > > This should do it: > > ChangeSet@1.2130, 2005-02-07 13:19:59+01:00, vojtech@suse.cz > input: Do a kill_fasync() in input handlers on device disconnect > to notify a client using poll() that the device is gone. > > Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> ... > > -- > Vojtech Pavlik > SuSE Labs, SuSE CR
I just checked it against my joystick_select test program which I included in an earlier e-mail and the blocking read, poll, and select return when I unplug the joystick. Thanks for fixing the other drivers, I didn't think of looking at them.
-- David Fries <dfries@mail.win.org> http://fries.net/~david/pgpkey.txt - 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/
| |