Not able to read USB speed and descriptor
Hi all,
I ma not able to read the USB descriptor and speeed, while I can
read and write into the storage device..
What might be the reason for that ?
regards,
Prabhu
Quoted 6 lines · Prabhu Chawandi
Hi all,
I ma not able to read the USB descriptor and speeed, while I can read and write into the storage device..
What might be the reason for that ?
Where is the code ?
Quoted 8 lines
regards,
Prabhu
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
In the devio.c,
I have added a case to return the speed and other descriptors,
call :
ret = usb_control_msg(pRootHub, usb_sndctrlpipe(pRootHub, 0),
USB_REQ_CLEAR_FEATURE, USB_RT_PORT, USB_PORT_FEAT_POWER, port_num + 1, NULL, 0, HZ);
The above call is returning err : -32 EPIPE.
The above call is working file for the rear port while the same is not working for the fromt port.
Anythig am I missing ? I am testing it for mass stoage device...
Any inputs ? ,,,,,
Quoted 10 lines · Prabhu Chawandi
Hi all,
I ma not able to read the USB descriptor and speeed, while I can read and write into the storage device..
What might be the reason for that ?
regards,
Prabhu
Quoted 9 lines · Prabhu Chawandi
In the
devio.c,I have added a case to return the speed and other descriptors,
call :
ret = usb_control_msg(pRootHub,usb_sndctrlpipe(pRootHub, 0),
USB_REQ_CLEAR_FEATURE,USB_RT_PORT,USB_PORT_FEAT_POWER,port_num+ 1, NULL, 0, HZ);
Quoted 4 lines
The above call is returning err : -32 EPIPE.
The above call is working file for the rear port while the same is not working for the fromt port.
Is this question related to $SUBJECT? I don't see any connection...
Quoted 1 line
Anythig am I missing ? I am testing it for mass stoage device...
In most host controllers for personal computers, the hardware does not support turning off port power.
Alan Stern