iMX25PDK - Problems with USB gadget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm trying to use my iMX25PDK as a USB device but I'm facing some
problems. The 2 most relevant are:

Problem #1.- Continuous reset of the USB controller
To check if the hardware is fine, I've run the BSP FSL-2.6.31_09.12.01
from Freescale and I can load any gadget driver with positive results.

The problem appears on new kernels when fsl_udc_core is compiled with
VERBOSE and DEBUG defined. I've tried 3.2.2, 3.3.2 and 3.4-rc3 kernels,
all of them with the same results; if I load -any- gadget driver and
plug the USB cord into my Linux Host, I get the following error
messages, continuously, non stopping: 
------------------------------------------------------------------------
--- [fsl_udc_irq]  reset int
[reset_irq]  Controller reset
[dr_controller_setup]  vir[qh_base] is ffdf9000 phy[qh_base] is
0x838c4000 reg is 0x838c4000
[fsl_udc_irq]  reset int
[reset_irq]  Controller reset
[dr_controller_setup]  vir[qh_base] is ffdf9000 phy[qh_base] is
0x838c4000 reg is 0x838c4000
..........
..........
------------------------------------------------------------------------
---
If fsl_udc_core is compiled with VERBOSE -OR- DEBUG undefined, I can
load any gadget driver with no "reset" problem.



Problem #2.- g_webcam enumeration 
The enumeration starts as soon as the USB cord is plugged into my Linux
Host, but with no user space support (the device /dev/video0 hasn't been
opened).

With the USB cord unplugged I've traced the call chain when g_webcam is
modprobed down to "fsl_pullup". This function is only called once and,
as expected, "is_on" parameter is 0 so the pullup should disabled, but
when I plug the USB cord ..... enumeration starts :(

Any advice is really appreciated  !!!

TIA for your help,
Gonzalo.


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux