I have connected a Samsung Galaxy S i9000 to a Linux machine over the USB cable.
How can I access the disks of the galaxy from the linux machine through this cable (and not through wireless or by opening the cover and removing the sd card).
I cannot find anything under /dev/disk/by-id/ on the linux machine that could be mounted.
Edit: While connected via USB, there is a USB icon on notification bar of the galaxy android device. When I drag the notification bar down, you I see a "USB connection" item. But I cannot do or change anything with it.
The steps from the accepted answer:
1) Go to Settings - Applications - Development and turn
USB Debugging to off.
2) Go to Settings - About Phone and switch USB connection to
Ask on connection. Maybe
mass storage could also work, but in my case there was some samsung app
kies still blocking the connection with this setting, so I prefer
3) Connect the device to the linux box with the USB cable. The android device brings up a menu, select
4) There should appear a USB icon on the notification bar of the android device. Drag it down and select
If nothing is mounted on the linux box automatically to
/media/ you have to mount manually.
You can watch the syslog on the linux box with this command, type it into a console of a user that has sudo rights before you connect the USB cable:
sudo tail -f /var/log/syslog
Some messages should appear after you connect the cable that help you analyze the situation.
This link is also a good resource: http://androidforums.com/android-lounge/115574-solved-cannot-mount-android-device-via-usb-linux.html