lkml.org 
[lkml]   [2010]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: A QUESTION ABOUT USB DRIVER
Date
Am Montag, 11. Januar 2010 06:14:31 schrieb Steven Xu:
> output: usb 1-1: device descriptor read/64, error -71
>
>
> in drivers/usb/core/hub.c line 2250
> when a udisk inserted run to here
> for (j = 0; j < 3; ++j) {
> buf->bMaxPacketSize0 = 0;
>
> r = usb_control_msg(udev, usb_rcvaddr0pipe(),
> USB_REQ_GET_DESCRIPTOR, USB_DIR_IN,
> USB_DT_DEVICE << 8, 0,
> buf, GET_DESCRIPTOR_BUFSIZE,
> (i ? USB_CTRL_GET_TIMEOUT : 1000));
> return r=-74,
>
> WHAT IS THE POSSIBEL REASON FOR THIS?
> THANKS!

This is -EPROTO. It means that a low level error on the wire happened,
for example a device sent a malformed package. This is a very unspecific
error.

HTH
Oliver


\
 
 \ /
  Last update: 2010-01-11 09:27    [W:0.032 / U:10.112 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site