0

When I connect my girlfriends iphone to my ubuntu mate laptop I am not able to access it.

dmesg -w shows the following log:

[ 1450.188245] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[ 1450.317913] usb 1-2: New USB device found, idVendor=05ac, idProduct=12a8
[ 1450.317918] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1450.317921] usb 1-2: Product: iPhone
[ 1450.317923] usb 1-2: Manufacturer: Apple Inc.
[ 1450.317925] usb 1-2: SerialNumber: c97187dc25fa168592447bcf11c270298d877864
[ 1450.394444] ipheth 1-2:4.2: Apple iPhone USB Ethernet device attached
[ 1450.406295] ipheth 1-2:4.2 enp0s20u2c4i2: renamed from eth0
[ 1450.437139] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2c4i2: link is not ready
[ 1450.438525] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2c4i2: link is not ready
[ 1460.184291] ipheth 1-2:4.2: ipheth_carrier_set: usb_control_msg: -110
[ 1472.184300] ipheth 1-2:4.2: ipheth_carrier_set: usb_control_msg: -110

Yesterday connecting it to the laptop worked for some time, today it does not anymore.

1

Linux kernel error codes are defined in errno.h. The return value is negative, but the code itself is positive, and you'll find

#define ETIMEDOUT   110 /* Connection timed out */

So the iPhone appears as a USB ethernet device, and then the kernel tries to set the (virtual) carrier for this device by sending an USB control message, but this message is not accepted by the iPhone, and times out.

There could be a number of reasons for this. If it worked yesterday, I'd rule out driver problems, so my guess is hardware or cable problems - the initial USB packets transfer fine, but then they stop to work.

1
  • thank you to point me to the definitions. so my guess is hardware problems thats also my guess. I plug in the cable, the iphone asks for permission to act as usb device. as soon as permission is granted, the error appears. I just want to quickly backup its data. perhaps i have to go via wifi using a nextcloud instance as last resort. Sep 18 '19 at 6:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.