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.

AM335x USB problem

Other Parts Discussed in Thread: AM3358

I've seen other posts with the same error messages but no solutions, so I'm guessing others are experiencing this issue as well...

I'm running a Beaglebone Black (Linux arm 3.14.4-bone4 #4 SMP Tue Oct 7 15:59:13 ADT 2014 armv7l GNU/Linux) with an AM3358 processor.

I've got a USB modem that provides 4 USB serial devices over a USB composite device (ttyUSB1 for GPS, ttyUSB2 for control and ttyUSB3 for internet using wvdial). After reading from the GPS device (/dev/ttyUSB1) for more than a few minutes, the USB driver fails when the device is closed. I can reproduce the error by starting the GPS function of the modem, receiving data for a few minutes (cat /dev/ttyUSB1) and then sending a SIGINT (by typing CTRL^C). It will also fail on it's own if I let it run long enough.

I can avoid the error by only reading GPS data for 30 seconds or so and then closing the device, disconnecting the internet connection and then unplugging the modem from the Beaglebone. Sometimes I get a kernel panic when I disconnect the modem, but not always. I'm guessing that by disconnecting the modem that the internal USB buffers are cleared, avoiding the issue? Not sure about the kernel panic though.

Here is another error that always occurs when I plug the modem in: "usb 2-1: device v1e2d p0053 is not supported"

and this one when I remove the modem: "option1 ttyUSB3: option_instat_callback: error -108"

but neither of these two errors seem to cause any problems.

I can also reproduce this using kernel 3.8. I'm not sure how to go about fixing this, any help would be greatly appreciated.


Thanks,


Matt

  • Hi Matt,

    I've got a USB modem that provides 4 USB serial devices over a USB composite device (ttyUSB1 for GPS, ttyUSB2 for control and ttyUSB3 for internet using wvdial). After reading from the GPS device (/dev/ttyUSB1) for more than a few minutes, the USB driver fails when the device is closed. I can reproduce the error by starting the GPS function of the modem, receiving data for a few minutes (cat /dev/ttyUSB1) and then sending a SIGINT (by typing CTRL^C). It will also fail on it's own if I let it run long enough.

    Have you done the same thing on Linux Host PC  as well ?

  • I have tested it on my host pc, which is running Xubuntu 14.04:

    $ uname -a
    Linux matt-laptop 3.13.0-33-generic #58-Ubuntu SMP Tue Jul 29 16:45:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    I can't cause any of the errors that I am seeing on my Beaglebone (no matter how hard I try!)

    Matt

  • Hi Matt,

    For better understanding a issue I have to understand if this Beaglebone Black board is original or your custom board. And if it is possible to explain us which way to reproduce the issue, because we haven't such USB modem.

    From the attached log I saw that the Linux kernel is crashing in a musb_interrupt NOT in a ehci usb. Next please see the lines 208 and 222 "usb-phy supply vcc not found, using dummy regulator". I'm not sure if this power supply missing what happened next.

    BR
    Ivan