mount mobile phone

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

mount mobile phone

Post by mimosa »

I've just got a USB cable that plugs into my mobile phone, with a view to extracting the store of photos in it. But how might Salix mount it?

I should add that when I plug the cable in, the phone asks me to chose between "Media and printing" and "PC Suite". I have tried both. No doubt if I plug it into a Windows machine, it will automagically open an app called PC Suite. :evil:

For what it's worth:

Code: Select all

root[mimosa]# mount
/dev/root on / type ext4 (rw,noatime,barrier=1,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda2 on /data type reiserfs (rw)
gvfs-fuse-daemon on /home/mimosa/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=mimosa)

Code: Select all

root[mimosa]# cat /etc/fstab
/dev/sda1        swap             swap        defaults         0   0
#/dev/sda2        /home                reiserfs        defaults 1   1
dev/sda3        /                ext4        noatime,defaults 1   1
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,users,rw,umask=00 0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

/proc/bus/usb contains five directories named 001 to 005, some of which contain non-text files with names like 007. But I imagine that's neither here nor there.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: mount mobile phone

Post by Shador »

If your phone doesn't have a mass storage mode, it can't be accessed straightforward as a mountable storage device.
In that case there may exist - depending on the brand and type of your phone - a (possibly open source) software solution for linux to access it. For example in the past I had already used successfully gammu/wammu with a Sony Ericson phone.
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: mount mobile phone

Post by mimosa »

Thanks Shador - I'll look into it, and post if I get anywhere.
EaglePrince
Posts: 16
Joined: 20. Nov 2009, 11:40

Re: mount mobile phone

Post by EaglePrince »

In my experience, many phones have a mass storage mode.

However, you would be extemely lucky to get the device name right first time.
If you run:

Code: Select all

dmesg | tail -10
immediately after plugging in the USB cable, it will give you an idea if the phone is recognised as a USB mass storage device, and you will then know what needs to be mounted. You can then add this device to your fstab if you wish to auto-mount it.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: mount mobile phone

Post by mimosa »

Gammu/Wammu didn't work for this phone, so I chickened out and did it in Windows, no harm done except the app plastered its icons everywhere. :evil:

@EaglePrince, for the record, here's the output, first selecting "media and printing" or whatever:

Code: Select all

mimosa[~]$ dmesg | tail -10
usb 3-2: bad CDC descriptors
usbcore: registered new interface driver rndis_wlan
usb 3-2: USB disconnect, address 2
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: New USB device found, idVendor=0421, idProduct=00ad
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: Nokia 3120 classic
usb 3-2: Manufacturer: Nokia
usb 3-2: SerialNumber: 354853021330604
usb 3-2: USB disconnect, address 3
then Nokia's Windows app:

Code: Select all

mimosa[~]$ dmesg | tail -10
usb 3-2: SerialNumber: 354853021330604
usb 3-2: USB disconnect, address 4
usb 3-2: new full speed USB device using uhci_hcd and address 5
usb 3-2: New USB device found, idVendor=0421, idProduct=00ae
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-2: Product: Nokia 3120 classic
usb 3-2: Manufacturer: Nokia
cdc_acm 3-2:1.1: ttyACM0: USB ACM device
usb 3-2: bad CDC descriptors
usb 3-2: bad CDC descriptors
mimosa[~]$ 
My guess is it's not one of the phones you describe - at least, I can't see anything to mount there.

Code: Select all

root[mimosa]# mount /dev/ttyACM0 /temp
mount: /dev/ttyACM0 is not a block device
For the record, I also tried something called nokinux, but no joy either. Thank you both for your suggestions!
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: mount mobile phone

Post by pwatk »

This is probably a stupid question but does your phone have bluetooth?
Image
User avatar
Duncan_Idaho
Posts: 216
Joined: 19. Sep 2009, 01:43
Location: Sietch Tabr, Planet Arrakis

Re: mount mobile phone

Post by Duncan_Idaho »

If your phone has "external storage", aka a microSD card
you should connect that to your computer using a card reader instead
that is the most painless way of moving pictures, videos and music from/to the phone
Post Reply