Wife got a Droid, I plugged it in, ...nothing.

Story: Linux Syncs Great With DroidsTotal Replies: 8
Author Content
Bob_Robertson

Jul 21, 2010
5:00 PM EDT
There was a message under dmesg saying that a USB mass storage device had been attached, but that was all.

I have auto-open enabled, if I put a thumb drive in it opens Konqueror as a file browser.

Is there a minimum kernel version?
jdixon

Jul 21, 2010
5:31 PM EDT
I haven't played with a Droid yet (I don't have the need or money for one, and work is a Blackberry outfit), but If it's like the Blackberry's I've seen, you may have to enable mass storage mode in the settings on the phone.

Maybe in a couple of years, when the price and the data plans drop some.
Bob_Robertson

Jul 21, 2010
5:37 PM EDT
Well, she said it "just showed up" on Windows, which kind of stung.
gus3

Jul 21, 2010
8:01 PM EDT
Does it show up in /proc/partitions?
Bob_Robertson

Jul 21, 2010
8:47 PM EDT
Ooooo, that's a location I hadn't heard of before. Let's see.

====== [16376.248065] usb 4-1: new high speed USB device using ehci_hcd and address 3 [16376.380947] usb 4-1: New USB device found, idVendor=22b8, idProduct=4285 [16376.380957] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [16376.380964] usb 4-1: Product: MB810 [16376.380969] usb 4-1: Manufacturer: Motorola [16376.380974] usb 4-1: SerialNumber: 015A935C0702E01C [16376.381142] usb 4-1: configuration #1 chosen from 1 choice [16376.598957] Initializing USB Mass Storage driver... [16376.599961] scsi4 : SCSI emulation for USB Mass Storage devices [16376.600097] usb-storage: device found at 3 [16376.600103] usb-storage: waiting for device to settle before scanning [16376.600116] usbcore: registered new interface driver usb-storage [16376.600124] USB Mass Storage support registered. [16381.596670] usb-storage: device scan complete [16381.597486] scsi 4:0:0:0: Direct-Access Motorola MB810 0001 PQ: 0 ANSI: 2 [16381.600003] sd 4:0:0:0: [sdb] Attached SCSI removable disk =====

# cat /proc/partitions major minor #blocks name

8 0 488386584 sda 8 1 485733276 sda1 8 2 1 sda2 8 5 2650693 sda5

Nope. No sdb.

Isn't that the same information I get this way?

# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 478111580 330988040 122836880 73% / tmpfs 1687640 0 1687640 0% /lib/init/rw udev 10240 800 9440 8% /dev tmpfs 1687640 0 1687640 0% /dev/shm

Anyway, the system certainly "sees" it, but whatever it is that automounts isn't grabbing it.
gus3

Jul 21, 2010
9:16 PM EDT
No, "df" only reports on mounted partitions/volumes/slices.

If it doesn't show up in /proc/partitions, it can't be mounted. The exception to this rule is CD-ROM's and DVD-ROM's.

After the USB bus settles, does the device remain in a "connected" state? Plug it in, wait a minute or so, then check "dmesg" for recurring error messages.
jdixon

Jul 21, 2010
9:28 PM EDT
> ...she said it "just showed up" on Windows..

Well, that lets out the mass storage setting. Of course, Windows may have downloaded the drivers it needs to access it in something other than mass storage mode.

Hmm. It's seeing sdb, but not listing any partitions. What does fdisk show for sdb?

The latest Blackberries we've received won't let you see them unless there's a sd card installed. The internal memory is completely inaccessible from the USB port. The older ones would let you see both the device and the sd card as two separate devices.
hkwint

Jul 22, 2010
7:57 AM EDT
I always use '/usr/sbin/lsusb'.

With or without the -v switch it gives decent info.
Bob_Robertson

Jul 22, 2010
8:42 AM EDT
Yes, it stays connected. No other messages until I pull out the cable no matter how long.

I'll try fdisk this evening after she gets home.

'lsusb' got it, new command.

...I love all you guys, you're so _smart_!

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!