Re: usb media detection issue on USB_MUSB_HDRC on kernel 3.17

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

 



Hi all,

was switched to other tasks last week and couldn't contribute.



Seems MUSB is also broken on OMAP3 boards, booting in OTG mode I'm not
able to make it work when a pendrive is connected to the port. Forcing
HOST mode I get following messages:

[   13.244567] usb 2-1: new high-speed USB device number 2 using musb-hdrc
[   13.503234] usb 2-1: device v058f p6387 is not supported
[   13.592346] usb usb2-port1: unable to enumerate USB device

You need to disable CONFIG_USB_OTG_WHITELIST option to avoid this.
Or add your device to white list of supported devices.
I don't have actually that option enabled.
Thanks, right, with this option disabled I can enumerate the device.
OTOH the big problem is OTG doesn't switch between peripheric mode and
host mode. The use case is as follows:

1. Start the board with OTG mode, nothing connected to the port.
2. Plug a pendrive with an adaptor that sets the ID pin to low.

In that case the no device is detected.

I am testing 2 non-working cases:

1)
If i set musb to work as HOST only mode, (i am setting this into
arch/arm/mach-davinci/usb.c) usb stick is detected
and mounted, but, after this i see da8xx_musb_interrupt()
routine called continuously spamming the console, until i remove
the usb stick. After that, the interrupt is never happening anymore
even at a new re-insertion of the stick.

2)
If i let the driver as default (OTG), usb stick is properly detected
at every insertion and removal, but just after the insertion i receive
the VBUS error, but the 5V of course are there (measured).

My board(am1808 based) has USB ID connected fixed to ground.

I am proceeding on investigations.

Regards
Angelo

--
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