| 
      
      
      From: Stephan M. <ste...@we...> - 2006-06-28 16:39:29
      
     | 
| Use usb_control_msg() to send a get_status request (see USB spec section 9.4.5). Alternatively, you can use the configuration descriptor's bmAttributes value which also contains that information. > Hallo, > > I want to know, if my device is bus or selfpowered. > How do I a "get device status request" with libusb functions? > http://libusb.sourceforge.net/doc/ref.control.html > shows only get_descriptor and get_string functions. > But this doesn't seems to me, that it is possible to read the device status > with this functions. > > > Greetings > Juergen > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 |