This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WiFi device with USB doesn't work

HI,

We designed a board based on TI AM335X EVM.  We replaced the ACM2012 with two 0ohm resisters on the USB interface.  Now We can use the USB2.0 disk, but failed to use a WiFi module.  We have the following messages:

 usb 1-1: new high-speed USB device number 12 using musb-hdrc
[ 1844.643215] drivers/usb/core/message.c:915 return length:8
[ 1844.648781] bLength=18,bDescriptorType=1,bcdUSB=512,bDeviceClass=0,bDeviceSubClass=00 bDeviceProtocol=0 bMaxPacketSize0=64
[ 1844.660666] drivers/usb/core/message.c:915 return length:-71

 

I have tested the Wifi module on the other board. It works well. Please give me some advises ,Thanks!

  • Hi,

    Do you have a driver installed for the WiFi module?

  • Hi,


    Thank you !   I have searched the source code. The message is outputed when the device is enumerated. The device descriptor is not right. I have removed the storage driver on purpose to compare the output messages.

    When I insert the Wifi Module,it ouputed the following messages,some is added for debug:

    [  106.729361] drivers/usb/core/hub.c:2982
    [  106.733288] bLength=0001
    [  106.735846] bDescriptorType=0000
    [  106.739108] bcdUSB=0000
    [  106.741581] bDeviceClass=0000
    [  106.744603] bDeviceSubClass=0000
    [  106.747863] bDeviceProtocol=0000
    [  106.751129] bMaxPacketSize0=0000
    [  106.754404] idVendor=0000
    [  106.757052] idProduct=0000
    [  106.759788] bcdDevice=0000
    [  106.762542] iManufacturer=0000
    [  106.765629] iProduct=0000
    [  106.768276] iSerialNumber=0095
    [  106.771360] bNumConfigurations=0000
    [  106.774907] drivers/usb/core/hub.c:2999
    [  106.778898] drivers/usb/core/hub.c:2982
    [  106.782810] bLength=0001
    [  106.785373] bDescriptorType=0000
    [  106.788633] bcdUSB=0000
    [  106.791102] bDeviceClass=0000
    [  106.794124] bDeviceSubClass=0000
    [  106.797387] bDeviceProtocol=0000
    [  106.800647] bMaxPacketSize0=0000
    [  106.803929] idVendor=0000
    [  106.806578] idProduct=0000
    [  106.809310] bcdDevice=0000
    [  106.812041] iManufacturer=0000
    [  106.815149] iProduct=0000
    [  106.817798] iSerialNumber=0095
    [  106.820885] bNumConfigurations=0000
    [  106.824437] drivers/usb/core/hub.c:2999

     

    When I insert the USB Disk module, it output the following messages:

    [  187.559501] drivers/usb/core/hub.c:2982
    [  187.563430] bLength=0012
    [  187.565994] bDescriptorType=0001
    [  187.569258] bcdUSB=0200
    [  187.571729] bDeviceClass=0000
    [  187.574747] bDeviceSubClass=0000
    [  187.578014] bDeviceProtocol=0000
    [  187.581274] bMaxPacketSize0=0040
    [  187.584554] idVendor=0951
    [  187.587204] idProduct=1624
    [  187.589942] bcdDevice=0100
    [  187.592693] iManufacturer=0001
    [  187.595776] iProduct=0002
    [  187.598427] iSerialNumber=0003
    [  187.601519] bNumConfigurations=0001
    [  187.605063] drivers/usb/core/hub.c:2999

     

    Could I guess that  there are some errors on the hardware ?