Switching OMAP2430 MUSB between host and device mode

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

 



Felipe:

I've got an Android device that uses the omap2430 musb driver.  It's
configured to go into device mode when it starts up, which I guess is
the normal thing for Android devices to do.

Can you explain how to switch the controller over to host mode (and
back)?  I tried writing "host" to the sysfs "mode" attribute, but all
that happened was an immediate crash and reboot.

(Related to this, it is notable that the omap2430_musb_set_mode()  
routine ignores its second argument, musb_mode.  That looks awfully
strange, even if it is right.)

Thanks,

Alan Stern

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