Hi all,
    I am new to USB. Question may be stupid.
    I do some test under linux to get the information from usb printer by send usb 
request.
    Someone told me that the deviceid contained the information I need, so I try to 
get it by sending GET_DEVICE_ID request.
However, it need "Config index" in wValue and "Interface & Alternate Setting" in 
wIndex.
    To get them, I use GET_DESCRIPTOR request to get the device descriptor and 
configuration descriptor, all got.
But to get the descriptor of interface, nothing returned. in another way, as Spec said 
that while getting configuration, the interface will also return, but in my test, the 
inteface's address is not able to visit.
    Could anyone tell the way to get the device's interface?
    Thanks in advance!



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to