This resets the OnSpec 90C36-LC1 nicely now.
- sda
--- usb.c.vanilla-2.4.17 Sat Jan 12 20:42:03 2002
+++ usb.c Sat Jan 12 20:45:45 2002
@@ -1952,6 +1952,14 @@
return -EINVAL;
}
+ /* 9.4.10 says devices don't need this, if the interface
+ only has one alternate setting */
+ if( iface->num_altsetting == 1 ){
+ warn("ignoring set_interface for dev %d, iface %d, alt %d",
+ dev->devnum, interface, alternate);
+ return 0;
+ }
+
if ((ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0),
USB_REQ_SET_INTERFACE, USB_RECIP_INTERFACE, alternate,
interface, NULL, 0, HZ * 5)) < 0)
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel