maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   How do i mount a usb flashdrive to mmc (https://talk.maemo.org/showthread.php?t=26629)

gonzo1082 2009-02-04 19:24

How do i mount a usb flashdrive to mmc
 
Ok, so i've searched but i can't seem to find how to do this,

I have a patriot 32gb usb drive. i'm trying to get the drive to mount as an mmc so canola can read the directories. i already have usb host mode installed and file manager can see the drive. It's just that some media apps don't recognize the flash drive as an mmc, or have an option to read external drives.

BTW, i'm a super noob to linux. so i might have ran across this fix but probably didn't understand it.
i'd appreciate any help.
TIA

fatalsaint 2009-02-04 21:54

Re: How do i mount a usb flashdrive to mmc
 
Hrm... some software specifically looks for the directories /media/mmc1 and /media/mmc2...

You might try mounting it there??

Code:

umount /media/mmc1
mount /dev/xxx /media/mmc1

(where xxx is your USB device name.)

gonzo1082 2009-02-05 00:16

Re: How do i mount a usb flashdrive to mmc
 
it unmounted mmc1 fine but the mounting failed,
i did:
Code:

mount /dev/patriot /media/mmc1

jaem 2009-02-05 00:23

Re: How do i mount a usb flashdrive to mmc
 
I haven't tried this specifically (and my tablet's in for repair), but I have one suggestion: leave both MMCs mounted, then make a folder in one of them, and mount the flash drive there (e.g. mount /dev/whatever /media/mmc1/foomount). That would be simpler, in any case, and wouldn't leave you with the same problem for the MMC. Also, if you give us the error you encountered, it would help...

Thesandlord 2009-02-05 03:01

Re: How do i mount a usb flashdrive to mmc
 
for me the USB was /dev/sda1/ I think. However, when I do...

Code:

#umount /dev/sda1
#mount /dev/sda1 /media/mmc2/usb/
mount: mounting /dev/sda1/ on /media/mmc2/usb/ failed

I also tried ln -s, which gave a permission denied error...

jolouis 2009-02-05 15:01

Re: How do i mount a usb flashdrive to mmc
 
Quote:

Originally Posted by Thesandlord (Post 262203)
for me the USB was /dev/sda1/ I think. However, when I do...

Code:

#umount /dev/sda1
#mount /dev/sda1 /media/mmc2/usb/
mount: mounting /dev/sda1/ on /media/mmc2/usb/ failed

I also tried ln -s, which gave a permission denied error...

Well, the mount command probably failed for the same reason as the symlink; something to do with permissions. However I'd still say going the symlink route is better because once you set it up it means the symlink will always be there, whether the USB drive is connected or not (when the drive is disconnected the symlink will be invalid, but as soon as you reconnect it will still be pointing to the right place so will work again); with the remounting bit you'll have to manually remount the drive to your desired location everytime you connect it.
The permission denied thing is a bit strange, I'll have to give it a try when I get a chance to see what exactly is causing it...

fatalsaint 2009-02-05 20:17

Re: How do i mount a usb flashdrive to mmc
 
did you sudo gainroot or something first??

You need to be root to run those.

fragos 2009-02-05 23:20

Re: How do i mount a usb flashdrive to mmc
 
It's automounted. Open the File Manager and will be there after Removable memory. With the correct cable your N810 will automatically switch to USB Host mode.

Cable - microUSB to Female USB A.
http://search.digikey.com/scripts/Dk...name=H11576-ND


All times are GMT. The time now is 18:32.

vBulletin® Version 3.8.8