RE: Question regarding MUSB and dynamic fifo sizing

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

 



>Someting strange is going on.  If I boot with the MUSB->OTG adapter ->
>thumbdrive plugged in, and then modprobe the driver, it finds the
>thumbdrive.  I can then remove/reinsert the OTG adapter -> thumbdrive
>multiple times, and each time it is enumerated.

>If I boot w/o the OTG adapter -> thumbdrive plugged in, modprobe the
>musb driver, and then plug in the OTG adaptor ->thumbdrive, it is not
>enumerated.
>Any idea why I need the OTG adapter -> thumbdrive plugged in at kernel
>boot for it to enumerate the thumbdrive?

It seems Vbus is off and thus nothing is detected.
There is already a fix for this (at least for host only driver) in mainline but as 
you are using v2.6.28-rc8 that fix is not in your driver.

Please try using below patch,
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=743821717c611913a5a3f95010b141f0b4cb5463

This will solve the problem for host only driver but for otg build driver Vbus will be switched off 
as of now we don't have any entry to revive it.We use to start session and Vbus using
$echo  F >/proc/driver/musb_hdrc but now that proc entry is gone and equivalent debugfs
entry is suppose to come.

I would suggest to pull in all musb specific patches from mainline tree into your driver or move
to a newer kernel version.

-Ajay
--
Peter Barada <peterb@xxxxxxxxxxx>
Logic Product Development, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux