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: > > [EMAIL PROTECTED], 2005-02-07 13:19:59+01:00, [EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> ... > > -- > 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 <[EMAIL PROTECTED]> http://fries.net/~david/pgpkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/