You are not logged in.

#1 2012-01-18 21:37:56

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 121
Website

[SOLVED] iFuse with iPhone4

I'm trying to access my (non-rooted) iPhone 4 running iOS5 (although had the same issues with iOS4 before) but I'm not having any luck. Plugging the device in results in this:

[   27.907061] usb 2-2: new high-speed USB device number 4 using ehci_hcd
[   28.136381] ehci_hcd 0000:00:13.2: force halt; handshake ffffc90000664424 00004000 00000000 -> -110
[   28.136390] ehci_hcd 0000:00:13.2: HC died; cleaning up
[   28.136447] usb 2-2: USB disconnect, device number 4
[   28.193671] ipheth: ipheth_get_macaddr: usb_control_msg: -108
[   28.193701] ipheth: probe of 2-2:4.2 failed with error -108
[   28.193911] usbcore: registered new interface driver ipheth
[   28.197095] usb 2-3: USB disconnect, device number 2
[   28.224827] usb 2-5: USB disconnect, device number 3

I'm using the git version of libimobiledevice at the moment along with ifuse, usbmuxd, etc. Despite the disconnection message above, I didn't disconnect the device. Additionally disconnecting and reconnecting has no effect after this point, neither the phone nor laptop notice a device is being attached or removed.

Obviously ifuse doesn't work at this point as it says nothing is connected.

Should this hardware work? If so, what am I missing here?
Kernel is 3.2.1, everything is up to date as of an hour ago.

Last edited by Enverex (2012-01-19 20:06:56)

Offline

#2 2012-01-18 22:59:36

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 54

Re: [SOLVED] iFuse with iPhone4

Install the libimobiledevice-git package from AUR (note that this will replace libimobiledevice-git).  The link below is for the AUR package
http://aur.archlinux.org/packages.php?ID=35927

Once that is installed, connect your iPhone while its unlocked, and type the following command:

idevicepair unpair && idevicepair pair

Reconnect your iPhone while its unlocked.  All should be well then.  Just tried it on my iPhone 4S running iOS5.  Also, the Arch Wiki has a lot of info on dealing with iPhones
https://wiki.archlinux.org/index.php/IPod


Machine:  Gateway NV55C Dual core Intel Pentium CPU P6100

Offline

#3 2012-01-18 23:09:58

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 121
Website

Re: [SOLVED] iFuse with iPhone4

As i said im already using that package (the git version). I tried those commands before and it just says no device is connected.

Offline

#4 2012-01-18 23:14:12

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 54

Re: [SOLVED] iFuse with iPhone4

Ah, sorry for stating the obvious then tongue

Are you using a USB hub to connect the iPhone to your computer?  Is the port you're connecting it to USB2.0 or USB3.0?  I've experienced random issues sometimes when I connect my iPhone through a hub.  It has something to do with the power being delivered to the device.  iPhones are very finicky about that.


Machine:  Gateway NV55C Dual core Intel Pentium CPU P6100

Offline

#5 2012-01-18 23:16:38

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 121
Website

Re: [SOLVED] iFuse with iPhone4

Im connecting it directly to the laptop, into a USB 2 port.

Offline

#6 2012-01-19 15:27:24

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 54

Re: [SOLVED] iFuse with iPhone4

Do you get any errors when you run then following command?  If nothing is returned, then the command ran successfully

modprobe fuse

Do you have gtkpod installed?  Also, I found a suggestion in the link http://www.spinics.net/lists/usb/msg02644.html to add the following line to /etc/modprobe.d/modprobe.conf

options usbcore use_both_schemes=y

I've found in other forums that the "ehci_hcd 0000:00:13.2: force halt" and the "ehci_hcd 0000:00:13.2: HC died" errors you're getting are sometimes a hardware-related issue.  People have also reported seeing this issue when multiple USB devices are causing conflicts or errors between them.

http://www.spinics.net/lists/linux-usb/msg55144.html

Have you tried disconnecting all USB devices except your iPhone and see if the error persists?  Or tried connecting the iPhone on a separate computer running Arch?

I was also noticing that my iPhone kept disconnecting and reconnecting every 30 seconds or so.  I was able to fix this issue by unplugging any other USB device connected to my laptop, and then connecting just the iPhone.  Not sure why/how that fixed it.


Machine:  Gateway NV55C Dual core Intel Pentium CPU P6100

Offline

#7 2012-01-19 15:33:05

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 54

Re: [SOLVED] iFuse with iPhone4

[   28.193671] ipheth: ipheth_get_macaddr: usb_control_msg: -108
[   28.193701] ipheth: probe of 2-2:4.2 failed with error -108

Are you trying to tether your iPhone?  I do not have ipheth installed on my system, so I do not know if this could be causing the issue.  From what the AUR says about the two ipheth packages, one is out of date and the other hasn't been maintained in over six months.  Try uninstalling ipheth and see if the iPhone can be recognized and mounted by the system.

Last edited by natestar13 (2012-01-19 15:41:48)


Machine:  Gateway NV55C Dual core Intel Pentium CPU P6100

Offline

#8 2012-01-19 16:28:29

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 121
Website

Re: [SOLVED] iFuse with iPhone4

I don't have ipheth installed (or anything with that in its name) which is why I thought it was odd that I was seeing those messages.

I have no other USB devices connected so nothing should be interfering hardware wise. I've used FUSE for other things so fuse itself shouldn't be an issue. I'm not trying to tether the phone, just access the files on it.

I'll try that USB modprobe line when I'm back at the machine and let you know how I get on.

Offline

#9 2012-01-19 19:53:16

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 121
Website

Re: [SOLVED] iFuse with iPhone4

Adding that modprobe line it appears to have fixed it, I'm still getting:

[  120.970380] usb 1-1: new high-speed USB device number 3 using ehci_hcd
[  122.627233] ipheth: ipheth_get_macaddr: usb_control_msg: -110
[  122.627278] ipheth: probe of 1-1:4.2 failed with error -110
[  122.627831] usbcore: registered new interface driver ipheth

... but it doesn't seem to matter. Cheers guys smile

Offline

#10 2012-01-19 19:57:14

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 54

Re: [SOLVED] iFuse with iPhone4

@Enverex Glad to have helped!  Please mark this thread as solved.  iPhone's are a popular device, so it would be nice for others to know that this worked for you!


Machine:  Gateway NV55C Dual core Intel Pentium CPU P6100

Offline

#11 2012-06-11 05:07:30

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: [SOLVED] iFuse with iPhone4

@Enverex.  What application to you use with iPhone? Do you use gtkpod?
I have no issues with ifuse 1 year ago.

Offline

#12 2012-06-11 09:09:03

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 121
Website

Re: [SOLVED] iFuse with iPhone4

archlinuxsagi wrote:

@Enverex.  What application to you use with iPhone? Do you use gtkpod?
I have no issues with ifuse 1 year ago.

No, I was using iFuse so I could access the files on the device.

Offline

Board footer

Powered by FluxBB