maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   USB Mounted Hard Drives (https://talk.maemo.org/showthread.php?t=13515)

pablo 2007-12-20 17:42

USB Mounted Hard Drives
 
I was able to mount an external USB drive on my N810 running OS2008 just now.

http://farm3.static.flickr.com/2415/...bf16d9b5_o.png

Here is all that is needed ...

External HD - Tested with a WD Passport, but i'm sure any full size 3.5" external would work as well
MicroUSB Host Mode Cable - Got mine at Amazon
Gender Changer - Female A -> Female A
Some way to power the drive as the n810 won't do it. I used a Y power cable to plug into a powered USB port since the passports are USB powered, other drives have external power supplies. Just get some juice to the thing =)

That's it!! Just plug the normal USB cable for the HD into the drive, plug whatever source of power your drive requires, plug the MicroUSB into your N810, and plug both Male USB ends into each end of the Female gender changer. You should see a little popup that says "USB Device Not Supported" ... it goes away, and file manager pops up with the contents of your drive =)

A Few Notes
  • Media Player(built-in) will not recognize or scan the drive for files
  • MediaBox, and UKMP(the 2 I tried) could not scan 13GB of MP3's, they took a royal shite on me
  • I was able to play the files through the console via mplayer one at a time

Does anyone know of any media/mp3 players for OS2008 that do not try to scan and will just let you pick a playlist or a directory to load? A console based one would draw the least load on the device I think, so that would be ideal if any of those have been ported. My next project is to mount all this up in my car for an on-dash media center. Only major problem I can see so far is plugging in the USB while the stand is closed or mounting the device with the stand open. I ehar that is not an issue with the n800. A ~$200 in-car media center ain't bad eh? =)

hordeman 2007-12-20 21:23

Re: USB Mounted Hard Drives
 
I just plugged in a thumb drive into my n800 (on os2008), but nothing happened. Is it because I don't have enough power, or is it because I need to do something to put into host mode?

penguinbait 2007-12-20 21:31

Re: USB Mounted Hard Drives
 
Quote:

Originally Posted by hordeman (Post 112350)
I just plugged in a thumb drive into my n800 (on os2008), but nothing happened. Is it because I don't have enough power, or is it because I need to do something to put into host mode?


echo host > /sys/devices/platform/musb_hdrc/mode

rcull 2007-12-20 21:57

Re: USB Mounted Hard Drives
 
Pablo

Try

Code:

find /home/rick/Favorites -print|mplayer -playlist -
don't forget the trailing "-"

see also

http://www.internettablettalk.com/fo...earchid=908137


Rick

hordeman 2007-12-20 22:22

Re: USB Mounted Hard Drives
 
Quote:

Originally Posted by penguinbait (Post 112357)
echo host > /sys/devices/platform/musb_hdrc/mode

OH! So, it's the same thing as for the rumblepad! (I haven't tried it yet as I forgot my gamepad at home!) :)

That definitely did the trick. Two more questions:
* Do I need to do something to unmount?
* What command do I do to turn it off then?

THANKS! (Even clicked the THANKS! button for you!) :)

penguinbait 2007-12-20 22:30

Re: USB Mounted Hard Drives
 
To set N800 back to OTG mode, do:

# echo otg > /sys/devices/platform/musb_hdrc/mode

If the system does not detect cable events after switching back to OTG mode,
switch it to peripheral mode first, then to OTG mode:

# echo peripheral > /sys/devices/platform/musb_hdrc/mode
# echo otg > /sys/devices/platform/musb_hdrc/mode

hordeman 2007-12-20 22:49

Re: USB Mounted Hard Drives
 
Awesome! The OTG line did the trick! (No need to go into peripheral mode, but it is good to know.)

pablo 2007-12-21 03:46

Re: USB Mounted Hard Drives
 
Quote:

Originally Posted by rcull (Post 112383)
Pablo

Try

Code:

find /home/rick/Favorites -print|mplayer -playlist -
don't forget the trailing "-"

see also

http://www.internettablettalk.com/fo...earchid=908137


Rick

That link isn't working =/

DataPath 2007-12-21 04:26

Re: USB Mounted Hard Drives
 
Quote:

Originally Posted by penguinbait (Post 112415)
To set N800 back to OTG mode, do:

# echo otg > /sys/devices/platform/musb_hdrc/mode

If the system does not detect cable events after switching back to OTG mode,
switch it to peripheral mode first, then to OTG mode:

# echo peripheral > /sys/devices/platform/musb_hdrc/mode
# echo otg > /sys/devices/platform/musb_hdrc/mode

A little tray icon for switching modes would be nice. Anyone interested in doing such a thing?

ag2 2007-12-21 05:15

Re: USB Mounted Hard Drives
 
Quote:

Originally Posted by pablo (Post 112131)
I was able to mount an external USB drive on my N810 running OS2008 just now.

MicroUSB Host Mode Cable - Got mine at Amazon

Is this a different cable from the one included with N810?


All times are GMT. The time now is 16:45.

vBulletin® Version 3.8.8