Mark Komarinski <[EMAIL PROTECTED]> writes:

> Any ideas?  Or just bite the bullet, get a 2.3.x kernel, and try it that way?

--- ./drivers/usb/evdev.c.chmou Wed Mar  8 16:26:21 2000
+++ ./drivers/usb/evdev.c       Wed Mar  8 16:36:47 2000
@@ -74,7 +74,7 @@
                list->head = (list->head + 1) & (EVDEV_BUFFER_SIZE - 1);
                
                if (list->fasync)
-                       kill_fasync(list->fasync, SIGIO);
+                       kill_fasync(list->fasync, SIGIO, POLL_HUP);
 
                list = list->next;
        }
--- ./drivers/usb/joydev.c.chmou        Wed Mar  8 16:26:21 2000
+++ ./drivers/usb/joydev.c      Wed Mar  8 16:37:06 2000
@@ -138,7 +138,7 @@
                                list->startup = 0;
 
                if (list->fasync)
-                       kill_fasync(list->fasync, SIGIO);
+                       kill_fasync(list->fasync, SIGIO, POLL_HUP);
 
                list = list->next;
        }
--- ./drivers/usb/mousedev.c.chmou      Wed Mar  8 16:26:21 2000
+++ ./drivers/usb/mousedev.c    Wed Mar  8 16:37:25 2000
@@ -139,7 +139,7 @@
                list->ready = 1;
 
                if (list->fasync)
-                       kill_fasync(list->fasync, SIGIO);
+                       kill_fasync(list->fasync, SIGIO, POLL_HUP);
 
                list = list->next;
        }
@@ -289,7 +289,7 @@
        }
 
        if (list->fasync)
-               kill_fasync(list->fasync, SIGIO);
+               kill_fasync(list->fasync, SIGIO, POLL_HUP);
 
        wake_up_interruptible(&list->mousedev->wait);
                


-- 
MandrakeSoft Inc                http://www.mandrakesoft.com
Pasadena, CA USA                                  --Chmouel

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to