I have used raw-gadget driver on orign nano platform, it worked on usb2.0 when host communicated with device with libusb library.
But when i connect it with pc host by usb3.0 cable,it show error asblow,Anyone can help me?thanks
bulk out address:1
bulk in address:129
bulk_out: addr = 1
bulk_in: addr = 1
event: control, length: 8
bRequestType: 0x80 (IN), bRequest: 0x6, wValue: 0x100, wIndex: 0x0, wLength: 8
type = USB_TYPE_STANDARD
req = USB_REQ_GET_DESCRIPTOR
desc = USB_DT_DEVICE
event: control, length: 8
bRequestType: 0x80 (IN), bRequest: 0x6, wValue: 0x100, wIndex: 0x0, wLength: 18
type = USB_TYPE_STANDARD
req = USB_REQ_GET_DESCRIPTOR
desc = USB_DT_DEVICE
event: control, length: 8
bRequestType: 0x80 (IN), bRequest: 0x6, wValue: 0xf00, wIndex: 0x0, wLength: 5
type = USB_TYPE_STANDARD
req = USB_REQ_GET_DESCRIPTOR
desc = USB_DT_BOS
event: control, length: 8
bRequestType: 0x80 (IN), bRequest: 0x6, wValue: 0xf00, wIndex: 0x0, wLength: 5
type = USB_TYPE_STANDARD
req = USB_REQ_GET_DESCRIPTOR
desc = USB_DT_BOS
event: control, length: 8
bRequestType: 0x80 (IN), bRequest: 0x6, wValue: 0x200, wIndex: 0x0, wLength: 9
type = USB_TYPE_STANDARD
req = USB_REQ_GET_DESCRIPTOR
desc = USB_DT_CONFIG
config->wTotalLength: 41
event: control, length: 8
bRequestType: 0x80 (IN), bRequest: 0x6, wValue: 0x200, wIndex: 0x0, wLength: 41
type = USB_TYPE_STANDARD
req = USB_REQ_GET_DESCRIPTOR
desc = USB_DT_CONFIG
config->wTotalLength: 41
event: control, length: 8
bRequestType: 0x0 (OUT), bRequest: 0x9, wValue: 0x1, wIndex: 0x0, wLength: 0
type = USB_TYPE_STANDARD
req = USB_REQ_SET_CONFIGURATION
ioctl(USB_RAW_IOCTL_EP_ENABLE): Invalid argument
bulk_out: ep = #-1