[maemo-developers] Switching N810 to USB host mode?

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Tue Apr 1 16:17:33 EEST 2008
On Tue, 2008-04-01 at 06:10 -0600, ext Charles Werbick wrote:
> On Tue, Apr 1, 2008 at 3:48 AM, Kimmo Hämäläinen
> <kimmo.hamalainen at nokia.com> wrote:
> 
> > ...
> 
> > After connecting your stick, please check the value
> > of /sys/devices/platform/musb_hdrc/mode -- the kernel should switch to
> > the host mode automatically.
> >
> > BR, Kimmo
> 
> O.K. Now I'm confused...
> 
> The kernel should switch to host mode automagiacally if he's using an
> OTG 'A' cable. But he's not. He's setting the soft ID through sysfs

Ah, sorry. If you had the correct cable, no hacks would be required ;)

> and using the stock nokia OTG 'B' cable with a USB F->F adapter. So
> the kernel should stay in OTG mode unless he does-
> echo host > /sys/devices/platform/musb_hdrc/mode
> 
> Or am I missing something here?

Maybe that works, I haven't tested. The kernel's automatic cable
detection might fight against you.

BR; Kimmo

> 
> Charles Werbick

More information about the maemo-developers mailing list