You are not logged in.

#1 2011-07-23 21:25:16

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

[SOLVED] usb connection smartphones

Hi all,

i'm trying to get my smartphones to work with my arch x64 build. It does recognize them trough lsusb, but when i try to use the mass storage from the phone arch can't see the sdcard so i can mount them, i'm probably missing some drivers or modules, but i don't really know where to start.

Can somebody give me a push in the right direction ?

Last edited by peewster (2011-07-24 10:34:37)


PoC || GTFO

Offline

#2 2011-07-23 21:54:36

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: [SOLVED] usb connection smartphones

Are we talking Android, iPhone, other?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-07-23 22:02:45

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] usb connection smartphones

Android

lsusb shows me my LG phone:

Bus 001 Device 007: ID 1004:618e LG Electronics, Inc. Ally/Optimus One/Vortex


PoC || GTFO

Offline

#4 2011-07-23 22:21:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: [SOLVED] usb connection smartphones

On the Android, Go to Settings->Connect to PC Then, either :
1. under Defualt connection type select Disk Drive or
2. Enable Ask me.  In the future, a menu will pop up when you connect the USB.  When it does, select Disk Drive

Reconnect your drive, and you should see a usb drive appear under /dev. Most environments will auto-detect the USB drives.  My HTC provides two drives in the USB stack.  One for internal storage, and one for the SD


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2011-07-23 22:25:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: [SOLVED] usb connection smartphones

BTW.  Here are the differences in my /dev tree with my HTC connected and not connected:

ewaller@odin:~ 1008 %ll /dev > connected
ewaller@odin:~ 1009 %ll /dev > notconnected
ewaller@odin:~ 1010 %diff *connected
4c4
< drwxr-xr-x  2 root root           140 Jul 23 15:22 bsg
---
> drwxr-xr-x  2 root root            80 Jul 23 15:23 bsg
43d42
< lrwxrwxrwx  1 root root             3 Jul 23 15:22 scd1 -> sr1
53,54d51
< brw-rw----  1 root storage     8,  16 Jul 23 15:22 sdb
< brw-rw----  1 root storage     8,  32 Jul 23 15:22 sdc
57,59d53
< crw-rw----  1 root disk       21,   2 Jul 23 15:22 sg2
< crw-rw----  1 root disk       21,   3 Jul 23 15:22 sg3
< crw-rw----+ 1 root optical    21,   4 Jul 23 15:22 sg4
64d57
< brw-rw----+ 1 root optical    11,   1 Jul 23 15:22 sr1
ewaller@odin:~[1] 1011 %

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2011-07-23 22:47:18

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] usb connection smartphones

Ok, i'll take a look again, but i'm sure i never used the debugging mode in arch before, firts i want to get the usb mass storage to work :-)


PoC || GTFO

Offline

#7 2011-07-23 22:53:31

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] usb connection smartphones

Ok, got it working :-), fdisk -l didn't showed me anything but a: ls /dev/ | grep storage  did, so now i can use the mass storage, thanks !


PoC || GTFO

Offline

#8 2011-07-23 23:25:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: [SOLVED] usb connection smartphones

Cool.  Go ahead and edit your original post and mark the thread as solved by adding [SOLVED] to the thread title.

Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2011-07-24 10:34:52

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] usb connection smartphones

ewaller wrote:

Cool.  Go ahead and edit your original post and mark the thread as solved by adding [SOLVED] to the thread title.

Thanks

done


PoC || GTFO

Offline

Board footer

Powered by FluxBB