usb_control_msg return -EPIPE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usb_control_msg return -EPIPE

1,072 Views
wangyc
Contributor I

hi all,

     does anyone know why the usb_control_msg always return -EPIPE ??

     here is my usage -

          status = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev,

               0), HID_REQ_SET_REPORT,

               USB_DIR_OUT | USB_RECIP_INTERFACE | USB_TYPE_VENDOR,

               ((HID_OUTPUT_REPORT + 1) << 8), interface->desc.bInterfaceNumber,

               data->data, data->data_len, 250);

     the status value always equal -EPIPE.

     any information very appreciate !!!!

     regards

Tags (2)
0 Kudos
Reply
0 Replies