On Sun, 22 Apr 2007, linlei 60022748 wrote: > Hi Greg, > As David mentioned in the mail below, we indeed need the relevant > driver (maybe usbstorage driver) to help us and with no need for > special userspace code.As soon as the device with vid of 0x12d1 > and pid of 0x1003 is connect, then send a SET_FEATURE to it > (actually we have another device with pid of 1004 also needs that). > Just like what the "small piece of code" in huaweiAktBbo.c does: > http://www.kanoistika.sk/bobovsky/archiv/umts/ > > usb_control_msg(devh, USB_TYPE_STANDARD + USB_RECIP_DEVICE, > USB_REQ_SET_FEATURE, 00000001, 0, buf, 0, 1000);
This does nothing but turn on remote wakeup, which shouldn't make any difference until the device is suspended. > And we also need the userspace code to support for old kernels. > > Can you help us to achieve that or give us some advice? Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel