You are not logged in.

#1 2013-07-09 10:41:48

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

["solved":hardware, no software issue] Galaxy S2 not recognized by USB

When my Galaxy S2 prompts me to attach the cable and I do, the prompt doesn't disappear. (But the battery connection icon on the phone changes to "charging", so the cable seems to work.)

in lsusb, the device isn't listed.
dmesg gives me the following:

[   74.106766] usb 5-7: new high-speed USB device number 7 using ehci-pci
[   74.170395] hub 5-0:1.0: unable to enumerate USB device on port 7
[   74.435755] ehci-pci 0000:00:1d.7: port 7 reset error -110
[   75.100112] hub 5-0:1.0: unable to enumerate USB device on port 7

On my other linux distribution on the same machine, that works, so the Galaxy device doesn't seem to be the problem.

Has anyone an idea how to get it working?
(installed packages regarding this: android-udev, go-mtpfs-git, udisks, thunar-volman (I'm using XFCE), gvfs-ac)

Last edited by Carl Karl (2013-07-09 21:50:02)

Offline

#2 2013-07-09 11:45:46

Suami777
Member
Registered: 2013-07-07
Posts: 46

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

try to do it in otherway

in phone use Settings > Wireless and network settings > USB utilities > connect storage to PC > put cabel in > use mass storage mode

i got same problem on arch but this way work for me

Offline

#3 2013-07-09 12:18:39

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

That IS the way I do it.

in phone use Settings > Wireless and network settings > USB utilities > connect storage to PC >

here comes the prompt on the phone which tells me to connect the cable

put cabel in

nothing happens for me. The prompt doesn't go away, and lsusb doesn't find the device.

Offline

#4 2013-07-09 15:28:26

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

Just as an aside, go-mtpfs is for devices connecting using MTP, since you're using mass storage mode, it won't do much here.

Are any of those ports USB 3.0? Does this happen with every USB port? I'm not quite sure what's going wrong either, but after some quick searching the enumeration error seems to pop up alongside the xhci_hcd and ehci-pci drivers fairly often...

[   74.435755] ehci-pci 0000:00:1d.7: port 7 reset error -110

This line also looks odd, but googling it turns up just about nothing.

Offline

#5 2013-07-09 16:47:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

After you connect the cable and place your device into USB storage mode, what are the last few lines of the output of dmesg   ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2013-07-09 21:28:55

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

SolarBoyMatt wrote:

Just as an aside, go-mtpfs is for devices connecting using MTP, since you're using mass storage mode, it won't do much here.

Thanks, I know and tried both. I talked here only about the mass-storage mode because it is the more basic one.
Using go-mtpfs gives me:

$ go-mtpfs Android
2013/07/09 23:24:49 detect failed: no MTP devices found

And, as I said, I think the reason for that is that the device isn'nt recognized by USB:

$ lsusb
Bus 001 Device 003: ID 0ac8:c33f Z-Star Microelectronics Corp. Webcam
Bus 004 Device 002: ID 0a5c:219b Broadcom Corp. Bluetooth 2.1 Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Offline

#7 2013-07-09 21:34:13

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

ewaller wrote:

After you connect the cable and place your device into USB storage mode, what are the last few lines of the output of dmesg   ??

the last lines are:

$ dmesg
.....
[  604.060105] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.065895] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.071764] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.077595] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.083548] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.086008] hub 1-0:1.0: hub_port_status failed (err = -32)
[  604.086023] hub 1-0:1.0: Cannot enable port 7.  Maybe the USB cable is bad?
[  604.140123] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.145904] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.151764] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.157566] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.163348] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.165777] hub 1-0:1.0: hub_port_status failed (err = -32)
[  604.370108] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.375879] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.381775] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.387601] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.393538] ehci-pci 0000:00:1d.7: port 7 reset error -110
[  604.395996] hub 1-0:1.0: hub_port_status failed (err = -32)
[  604.600211] hub 1-0:1.0: unable to enumerate USB device on port 7
[  892.623511] hub 5-0:1.0: unable to enumerate USB device on port 1

I tried with different cables and different ports (none of them is an USB 3 port), it doesn't work.
But with the same cable and the same computer, a Nexus 7 is recognized by USB...
....and with another distribution, also the galaxy s2 is recognized.

Offline

#8 2013-07-09 21:48:29

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

OK, correction:

Now the same problem also appears on the other linux distribution. The dmesg message with questioning the state of the cable makes me believe this is the beginning of a hardware problem... :-(  ...and not of the cable, but the connector in the phone. I suppose, I "shouldn't" use a smartphone more than 2 years.

Offline

#9 2013-07-09 22:15:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: ["solved":hardware, no software issue] Galaxy S2 not recognized by USB

From that, it looks like you plugged the device into a port, but it would not enumerate.  it looks like you tried it about four hours before on a different port with the same results.  If not, then four hours before, you had trouble with a different device.

Unfortunately, enumeration is one of the most basic things on USB that can happen.  Nothing can happen until after enumeration.  The next step is where things usually fail -- identifying the interface classes and endpoints; that is when you find out there is no driver for the device.   Perhaps the problem is that your phone is trying to negotiate for more power than the port can provide.  The phone may be asking for 500mA, whereas the port may only be able to provide 100mA.  I also notice that port 5 may be a USB 1.1 bus.  The only USB 2.0 bus is the one to which something tried to attach four hours ago.   Perhaps your phone does not support Full speed operation (I doubt it) and will not work on USB 1.1.  (BTW 'Full' speed is the slowest speed, not to be confused with 'High' or "Super Speed")

Perhaps you could post the output of lsusb -v -s 1:1   and of lsusb -v -s 5:1

Last edited by ewaller (2013-07-09 22:15:51)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB