I'm trying to create a usb device gadget with the Microchip linux-at91 kernel. I want to use it with a physicall usb controller and have replaced the driver_name and device_name to atmel_usba_udc and 500000.gadget respectively. I am not sure if I have the correct driver_name but I found it in /sys/class/udc/500000.gadget/device/uvent displaying DRIVER=atmel_usba_udc.
I am running the keyboard example code which works well with the dummy_hcd module. However, when I try to use it with the microchip usb controller, I get the following logging message:
Hi,
I'm trying to create a usb device gadget with the Microchip linux-at91 kernel. I want to use it with a physicall usb controller and have replaced the
driver_name
anddevice_name
toatmel_usba_udc
and500000.gadget
respectively. I am not sure if I have the correctdriver_name
but I found it in/sys/class/udc/500000.gadget/device/uvent
displayingDRIVER=atmel_usba_udc
.I am running the keyboard example code which works well with the dummy_hcd module. However, when I try to use it with the microchip usb controller, I get the following logging message:
which indicates a write failure with a
USB_REQ_GET_DESCRIPTOR
request with typeUSB_DT_DEVICE
.