LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 10-26-2010, 09:39 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,350
Blog Entries: 3

Rep: Reputation: 86
ubuntu lucid will not mount android 2.1 phone storage


When I connect my Ubuntu Lucid laptop to my Android 2.1 phone (Samsung Galaxy-S "Captivate"), I see the following in the logs:
Code:
mumbles kernel: [29882.768051] usb 2-1: new high speed USB device using ehci_hcd and address 4
mumbles kernel: [29882.901148] usb 2-1: configuration #2 chosen from 1 choice
mumbles kernel: [29882.902119] scsi7 : SCSI emulation for USB Mass Storage devices
mumbles kernel: [29887.902914] scsi 7:0:0:0: Direct-Access     SAMSUNG  SGH-I897 Card    0000 PQ: 0 ANSI: 2
mumbles kernel: [29887.903379] scsi 7:0:0:1: Direct-Access     SAMSUNG  SGH-I897         0000 PQ: 0 ANSI: 2
mumbles kernel: [29887.905386] sd 7:0:0:0: Attached scsi generic sg1 type 0
mumbles kernel: [29887.907958] sd 7:0:0:1: Attached scsi generic sg2 type 0
mumbles kernel: [29887.920432] sd 7:0:0:0: [sdb] Attached SCSI removable disk
mumbles kernel: [29887.922160] sd 7:0:0:1: [sdc] Attached SCSI removable disk
In addition, the Nautilus file manager display gets two new file system icons named: SAMSUNG SGH-I897 and SAMSUNG SGH-I897 Card.

In spite of all of this, I cannot open the Nautilus "file systems"
and mount does not show anything available. Also, I cannot use sudo mount /dev/sdb /media/something or sudo mount /dev/sdc /media/something even though the logs report that both are "attached SCSI removable disk".

<soap_box>
I am so very frustrated!!! This is yet another situation where most of the postings say that this just works. Then when ** I ** try that same something, I have all sorts of grief.

I'm a 30+ year veteran bit-slinger and a 10+ year linux user. If I have this sort of confabulation, pity the poor newbie all the more.
It is little wonder that linux gets such a bad rep in general.
</soap_box>

Can anyone help me?
~~~ 0;-Dan
 
Old 10-27-2010, 01:08 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Ok maybe it's similar to my milestone.
when you connect to your notebook, you can adjust the usb settings on the phone.
like only load battery, portal and? , but also just as simple usb device.
 
Old 10-27-2010, 06:53 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
When I mount my Droid, I have to plug in the phone and then I have to use the Android notification to make the phone available for mounting. Sorry for asking such a basic question, but are you doing that? If you simply plug the phone into USB, it isn't available for mounting since Android still has the SD card mounted. Once I make the SD card available, I can see in the dmesg output what node in /dev it is and can mount it.
 
Old 10-27-2010, 07:47 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Yes when i plug in i have to assign how usb is / should be recognized.
 
Old 10-27-2010, 09:51 AM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,350
Blog Entries: 3

Original Poster
Rep: Reputation: 86
Quote:
Originally Posted by Hangdog42 View Post
When I mount my Droid, I have to plug in the phone and then I have to use the Android notification to make the phone available for mounting. Sorry for asking such a basic question, but are you doing that? If you simply plug the phone into USB, it isn't available for mounting since Android still has the SD card mounted. Once I make the SD card available, I can see in the dmesg output what node in /dev it is and can mount it.
I understand what you are saying, and I'm doing some sort of dance at the phone. I was expecting the phone to present both the internal and external SD storage -- that is what the phone calls them -- such that the desktop or laptop would see them similar to how it sees flash media or other external usb storage.

I guess that I'm missing something along the way.

Merci d'avance,
~~~ 0;-Dan
 
Old 10-27-2010, 09:56 AM   #6
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,350
Blog Entries: 3

Original Poster
Rep: Reputation: 86
My phone is new and I don't want to foul the warranty ... yet (grin).

Is there some way that I can view the phone's log files and otherwise poke around without resorting to (1) "jailbreak", or (2) "rooting" the phone?

ASIDE -- I'm still looking for understanding about "jailbreak" (enable the phone to load apps from anywhere not just the carrier) and "rooting" (enable full root-user and shell access to phone software).
When I research this, it seems that everyone goes straight to rooting but the two hacks seem different to me.

Merci d'avance,
~~~ 0;-Dan
 
Old 10-27-2010, 12:19 PM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
Originally Posted by SaintDanBert
ASIDE -- I'm still looking for understanding about "jailbreak" (enable the phone to load apps from anywhere not just the carrier) and "rooting" (enable full root-user and shell access to phone software).
When I research this, it seems that everyone goes straight to rooting but the two hacks seem different to me.
Actually I think the term jailbreak came from the Apple side of the world and pretty much means the same thing as rooting. It is just in the case of iOS, you have to root in order to be able to load apps not approved by His Jobsness since iOS is locked to the Apple app store. In Android, there is a switch you set (Settings > Applications >Unknown Sources) that lets you use whatever source you like for apps and you don't have to root to change this setting.

Quote:
Originally Posted by SaintDanBert
I understand what you are saying, and I'm doing some sort of dance at the phone. I was expecting the phone to present both the internal and external SD storage -- that is what the phone calls them -- such that the desktop or laptop would see them similar to how it sees flash media or other external usb storage.
I've never seen a way to get at the internal phone storage, only the SD storage. I think as long as the phone is on, the internal storage is mounted by Android, and probably can't be unmounted, even with root access. I think there are also some security reasons that lock down internal storage (though I may be wrong). However, in my case, the SD storage looks and acts exactly like a USB stick or any other removable device I connect to my computer. All I'm doing it plugging in the USB cable, telling Android to allow the SD card to be accessed and then mounting it on my Linux box.

Quote:
Originally Posted by SaintDanBert
Is there some way that I can view the phone's log files and otherwise poke around without resorting to (1) "jailbreak", or (2) "rooting" the phone?
I use an app called "Android System Info". It is available for free in the Marketplace and one of the things it does is show the log files. No root needed for this one.
 
Old 10-27-2010, 05:41 PM   #8
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,350
Blog Entries: 3

Original Poster
Rep: Reputation: 86
I do not have Settings --> Applications --> Unknown Sources. My software is Android v2.1, Update1. Is there some way to replace my Settings app with one that will do the thing needed?

All I have is Settings --> Applications then
  • Manage applications
  • Running services
  • Development
  • USB settings

Under USB settings I see:
  • Kies (firmware update)
  • Media player
  • Mass storage Checked
  • Ask on connection

Under Development I see:
  • USB debugging Checked
  • Stay awake Checked
  • Allow mock locations

Last edited by SaintDanBert; 10-27-2010 at 05:50 PM.
 
Old 10-27-2010, 05:43 PM   #9
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,350
Blog Entries: 3

Original Poster
Rep: Reputation: 86
Access to INTERNAL Storage

The description of Settings --> Applications --> Development --> USB Debugging says to use that option to access the internal storage.

For what its worth,
~~~ 0;-Dan
 
Old 10-27-2010, 05:49 PM   #10
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,350
Blog Entries: 3

Original Poster
Rep: Reputation: 86
Why all the tinkering?

Why is all of this tinkering to share files between Android and Linux?

For *nix-es, I would use NFS or similar, but SAMBA also includes the win-doze folks to play nice.

Phone runs a samba server with configured shares for the storage -- internal and external.

Phone connects. Device dance happens. "Connect to samba share" happens once the device is seen as connected. smbmount or similar causes the share to become visible to linux host as if it were a local drive.
Phone configurables are (1a) enable shares, and (2a) what to call them.
Linux configurables are (1b) udev rules, and (2b) where to mount shares if other than /phone or similar.

Cheers,
~~~ 0;-Dan
 
Old 10-28-2010, 07:08 AM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
Originally Posted by SaintDanBert
Why is all of this tinkering to share files between Android and Linux?
I wish I knew why you were having all this trouble. I never have, even when I was running vanilla Android (I'm running BuglessBeast now).

Quote:
I do not have Settings --> Applications --> Unknown Sources. My software is Android v2.1, Update1. Is there some way to replace my Settings app with one that will do the thing needed?
I wonder if Samsung or your wireless carries have messed with Android. I would swear that 2.1 had the exact same option to load from unknown sources. I've been doing it since I got my Droid in January, and it was running stock 2.1 then.

Quote:
Under USB settings I see:

* Kies (firmware update)
* Media player
* Mass storage Checked
* Ask on connection
You might want to check "ask on connection" and see if that gives you more options.
 
Old 10-28-2010, 09:00 AM   #12
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,350
Blog Entries: 3

Original Poster
Rep: Reputation: 86
Quote:
Originally Posted by Hangdog42 View Post
I wish I knew why you were having all this trouble. I never have, even when I was running vanilla Android (I'm running BuglessBeast now).
This is the story of my linux life: I have troubles with all sorts of features that "just work" for everyone else. Heavy sigh!

~~~ 0;-Dan
 
Old 11-02-2010, 01:19 PM   #13
SETXBera
LQ Newbie
 
Registered: Apr 2005
Location: Space Coast, FL
Distribution: Ubuntu 9.10
Posts: 17

Rep: Reputation: 1
Is this problem solved yet? I have a Captivate and also have discovered how to operate it.

It sounds like you have all the settings correct on your phone. I think what HangDog is saying is you have to use the notification pull down pane to allow usb to access internal/external sd storage. The same pull down where you can activate wifi, bluetooth, vibrate, and silent all in one place.
 
Old 11-24-2010, 06:29 PM   #14
thewoose
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Samsung Captivate Mass Storage Mounting STEPS!

Hello all,

I also had much trouble getting the USB Mass Storage to work on my new Captivate. I use FreeBSD primarily so of course I need the Mass Storage to work. MTP transfer mode worked fine in Windows, though it's slow, but Mass Storage worked on neither Windows nor BSD nor Linux. So, the trick is there is a very specific set of actions to make it work, and yes, it does!
  1. Set the USB mode in settings to 'Mass Storage' or 'Choose'.
  2. Plug the USB cable into the phone.
  3. Select "Mass Storage" if it isn't set to automatic.
  4. NOW, go to the Home screen and pull down the Notifications bar curtain.
  5. Touch the USB item in the list. The phone should prompt you to mount the SD card and enable transfer.
  6. Now, the computer should see the Removable Drive appear, and allow you to browse the disk.
  7. I mounted it in FreeBSD by: mount -t msdosfs /dev/da1 /droid ... In Linux it should be mount -t vfat /dev/sda2 /droid (I think!)
  8. That's it! I am getting 8-9 MB/second transfer which is pretty decent for a solid-state disk device.

    Hope this helps!

    -The Woose







 
  


Reply

Tags
android, file sharing, mount, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot mount Western Digital 2.0 USB 2TB on Ubuntu Lucid shayno90 Ubuntu 7 10-28-2010 07:19 PM
LXer: Puppy 5.1 codename Lucid is out- Now is compatible with Ubuntu 10.04 Lucid Lynx package LXer Syndicated Linux News 0 08-15-2010 02:20 PM
LXer: Why do I use an Android phone? LXer Syndicated Linux News 0 06-29-2010 01:30 PM
Mount Android phone in FreeBSD [Solution] rndm_luser *BSD 6 06-27-2010 11:23 PM
Nokia Phone: Plugged as Storage Media: Slack Cannot Mount Memory Card: Help malekmustaq Slackware 18 08-12-2009 08:56 PM


All times are GMT -5. The time now is 11:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration