lkml.org 
[lkml]   [2005]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.095 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site