Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recognising cheap Android 'phone on USB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 767
Location: Queensland

PostPosted: Mon Feb 15, 2016 6:21 am    Post subject: Recognising cheap Android 'phone on USB Reply with quote

Hello, I'm trying to get the photos etc. off my wifes cheap HTC Android mobile 'phone, without success. When it's plugged in to one of my several Gentoo systems, dmesg reports nothing but on another Gentoo system, dmesg outputs:
Code:
[10873.681047] usb 2-2: new low-speed USB device number 2 using ohci-pci
[10873.843045] usb 2-2: device descriptor read/64, error -62
[10874.118048] usb 2-2: device descriptor read/64, error -62
[10874.388045] usb 2-2: new low-speed USB device number 3 using ohci-pci
[10874.550054] usb 2-2: device descriptor read/64, error -62
[10874.824049] usb 2-2: device descriptor read/64, error -62
[10875.605046] usb 2-2: new low-speed USB device number 4 using ohci-pci
[10876.009044] usb 2-2: device not accepting address 4, error -62
[10876.174048] usb 2-2: new low-speed USB device number 5 using ohci-pci
[10876.578044] usb 2-2: device not accepting address 5, error -62
[10876.586066] usb usb2-port2: unable to enumerate USB device

which is something to go on. Nothing is added to /dev in either case. Presumably the difference is down to some detail of USB configuration in the kernel but I'm stumbling in the dark. Can anyone suggest where to go from here? Presumably it's easiest to start with the machine with some dmesg output. The objective is to get the photos off the 'phone, not work out why one machine doesn't see it at all.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 340
Location: Stockholm

PostPosted: Mon Feb 15, 2016 9:13 am    Post subject: Reply with quote

Install a ftp-server app on the phone if you have it wi-fi connected :)

Edit: I then use wget, like this
Code:
wget -r  --ftp-user=ftp --ftp-password=ftp ftp://192.168.1.13:1024/sdcard/aaa/*.mp4

FileZilla also works fine


Last edited by Irre on Mon Feb 15, 2016 3:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Mon Feb 15, 2016 1:34 pm    Post subject: Reply with quote

Which Android version ? In some cases, the system can consider the phone as a simple USB key, but in others, it needs some additional "tricks", like mtpfs, to be able to read the phone memory.
You can try adb tools too. QtADB, for example, even if not quite stable, is a good GUI for adb. To make adb work, you must enable The "USB debug" parameter, on the "developper options", in the phone.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Mon Feb 15, 2016 1:44 pm    Post subject: Reply with quote

My first guess would be that the USB cable is flaky...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum