Am Dienstag, 10. Oktober 2006 04:48 schrieb Alan Stern: > > I now have this: > > if ((hid->claimed & HID_CLAIMED_INPUT) && !(hid->claimed & > > HID_CLAIMED_HIDDEV)) > > hid_add_idle_timer(hid); > > should I add an explicit check for the device type? > > I'm not sure... But I am sure that different sorts of devices will > require different inactivity timeout lengths. Probably they should be set > from userspace somehow, on a per-device basis.
Yes. And usbcore should maintain that attribute. Regards Oliver ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel