The following one line patch (against 2.5.44) fixes an index problem when connecting a new hiddev device, when kernel isn't compiled with CONFIG_USB_DYNAMIC_MINORS. Previous attempt to open hiddev device terminated with an ENODEV error. Note that this fix works with either dynamic minors flag enabled or not.
Please merge. - Arnaud --- linux-2.5.44/drivers/usb/input/hiddev.c Sat Oct 19 06:01:52 2002 +++ linux-2.5.44-hiddev/drivers/usb/input/hiddev.c Wed Oct 23 12:50:16 2002 @@ -701,7 +701,7 @@ init_waitqueue_head(&hiddev->wait); hiddev->minor = minor; - hiddev_table[minor] = hiddev; + hiddev_table[minor - HIDDEV_MINOR_BASE] = hiddev; hiddev->hid = hid; hiddev->exist = 1; ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel