#147 ✓invalid
fnkslbrthr

Non-jailbroken iPhone 3GS, firmware 3.1.3, cannot connect to Ubuntu 10.04

Reported by fnkslbrthr | June 6th, 2010 @ 08:13 AM

I am trying to connect my non-jailbroken iPhone 3GS running Firmware 3.1.3 to my fresh Ubuntu 10.04 installation. When I connect the iPhone it beeps and switches on the display to show that it's now charging. But on my desktop nothing happens - the iPhone does not appear on the desktop and not under "Places". First I read that Ubuntu 10.04 would support iPhone out-of-the-box through your libimobiledevice. Because it did not I also tried to follow these steps, but it did not change anything.

lsusb -v produces:

Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x05c8 Cheng Uei Precision Industry Co., Ltd (Foxlink)
  idProduct          0x0118 
  bcdDevice            1.02
  iManufacturer           2 
  iProduct                1 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:

bLength                 9
bDescriptorType         2
wTotalLength          645
bNumInterfaces          2
bConfigurationValue     1
iConfiguration          0 
bmAttributes         0x80
  (Bus Powered)
MaxPower              168mA
Interface Association:
  bLength                 8
  bDescriptorType        11
  bFirstInterface         0
  bInterfaceCount         2
  bFunctionClass         14 Video
  bFunctionSubClass       3 Video Interface Collection
  bFunctionProtocol       0 
  iFunction               5 
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        0
  bAlternateSetting       0
  bNumEndpoints           1
  bInterfaceClass        14 Video
  bInterfaceSubClass      1 Video Control
  bInterfaceProtocol      0 
  iInterface              5 
  VideoControl Interface Descriptor:
    bLength                13
    bDescriptorType        36
    bDescriptorSubtype      1 (HEADER)
    bcdUVC               1.00
    wTotalLength          103
    dwClockFrequency       15.000000MHz
    bInCollection           1
    baInterfaceNr( 0)       1
  VideoControl Interface Descriptor:
    bLength                 9
    bDescriptorType        36
    bDescriptorSubtype      3 (OUTPUT_TERMINAL)
    bTerminalID             2
    wTerminalType      0x0101 USB Streaming
    bAssocTerminal          0
    bSourceID               5
    iTerminal               0 
  VideoControl Interface Descriptor:
    bLength                26
    bDescriptorType        36
    bDescriptorSubtype      6 (EXTENSION_UNIT)
    bUnitID                 4
    guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
    bNumControl             8
    bNrPins                 1
    baSourceID( 0)          3
    bControlSize            1
    bmControls( 0)       0x0f
    iExtension              0 
  VideoControl Interface Descriptor:
    bLength                26
    bDescriptorType        36
    bDescriptorSubtype      6 (EXTENSION_UNIT)
    bUnitID                 5
    guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
    bNumControl             8
    bNrPins                 1
    baSourceID( 0)          4
    bControlSize            1
    bmControls( 0)       0xff
    iExtension              0 
  VideoControl Interface Descriptor:
    bLength                18
    bDescriptorType        36
    bDescriptorSubtype      2 (INPUT_TERMINAL)
    bTerminalID             1
    wTerminalType      0x0201 Camera Sensor
    bAssocTerminal          0
    iTerminal               0 
    wObjectiveFocalLengthMin      0
    wObjectiveFocalLengthMax      0
    wOcularFocalLength            0
    bControlSize                  3
    bmControls           0x00000002
      Auto-Exposure Mode
  VideoControl Interface Descriptor:
    bLength                11
    bDescriptorType        36
    bDescriptorSubtype      5 (PROCESSING_UNIT)
  Warning: Descriptor too short
    bUnitID                 3
    bSourceID               1
    wMaxMultiplier          0
    bControlSize            2
    bmControls     0x0000173f
      Brightness
      Contrast
      Hue
      Saturation
      Sharpness
      Gamma
      Backlight Compensation
      Gain
      Power Line Frequency
      White Balance Temperature, Auto
    iProcessing             0 
    bmVideoStandards     0x 0
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x83  EP 3 IN
    bmAttributes            3
      Transfer Type            Interrupt
      Synch Type               None
      Usage Type               Data
    wMaxPacketSize     0x0010  1x 16 bytes
    bInterval               6
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       0
  bNumEndpoints           0
  bInterfaceClass        14 Video
  bInterfaceSubClass      2 Video Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  VideoStreaming Interface Descriptor:
    bLength                            14
    bDescriptorType                    36
    bDescriptorSubtype                  1 (INPUT_HEADER)
    bNumFormats                         1
    wTotalLength                      399
    bEndPointAddress                  129
    bmInfo                              0
    bTerminalLink                       2
    bStillCaptureMethod                 2
    bTriggerSupport                     0
    bTriggerUsage                       0
    bControlSize                        1
    bmaControls( 0)                    27
  VideoStreaming Interface Descriptor:
    bLength                            27
    bDescriptorType                    36
    bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
    bFormatIndex                        1
    bNumFrameDescriptors                7
    guidFormat                            {59555932-0000-1000-8000-00aa00389b71}
    bBitsPerPixel                      16
    bDefaultFrameIndex                  1
    bAspectRatioX                       0
    bAspectRatioY                       0
    bmInterlaceFlags                 0x00
      Interlaced stream or variable: No
      Fields per frame: 1 fields
      Field 1 first: No
      Field pattern: Field 1 only
      bCopyProtect                      0
  VideoStreaming Interface Descriptor:
    bLength                            50
    bDescriptorType                    36
    bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
    bFrameIndex                         1
    bmCapabilities                   0x00
      Still image unsupported
    wWidth                            640
    wHeight                           480
    dwMinBitRate                  3072000
    dwMaxBitRate                 18432000
    dwMaxVideoFrameBufferSize      614400
    dwDefaultFrameInterval         333333
    bFrameIntervalType                  6
    dwFrameInterval( 0)            333333
    dwFrameInterval( 1)            400000
    dwFrameInterval( 2)            500000
    dwFrameInterval( 3)            666666
    dwFrameInterval( 4)           1000000
    dwFrameInterval( 5)           2000000
  VideoStreaming Interface Descriptor:
    bLength                            50
    bDescriptorType                    36
    bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
    bFrameIndex                         2
    bmCapabilities                   0x00
      Still image unsupported
    wWidth                            352
    wHeight                           288
    dwMinBitRate                  1013760
    dwMaxBitRate                  6082560
    dwMaxVideoFrameBufferSize      202752
    dwDefaultFrameInterval         333333
    bFrameIntervalType                  6
    dwFrameInterval( 0)            333333
    dwFrameInterval( 1)            400000
    dwFrameInterval( 2)            500000
    dwFrameInterval( 3)            666666
    dwFrameInterval( 4)           1000000
    dwFrameInterval( 5)           2000000
  VideoStreaming Interface Descriptor:
    bLength                            50
    bDescriptorType                    36
    bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
    bFrameIndex                         3
    bmCapabilities                   0x00
      Still image unsupported
    wWidth                            320
    wHeight                           240
    dwMinBitRate                   768000
    dwMaxBitRate                  4608000
    dwMaxVideoFrameBufferSize      153600
    dwDefaultFrameInterval         333333
    bFrameIntervalType                  6
    dwFrameInterval( 0)            333333
    dwFrameInterval( 1)            400000
    dwFrameInterval( 2)            500000
    dwFrameInterval( 3)            666666
    dwFrameInterval( 4)           1000000
    dwFrameInterval( 5)           2000000
  VideoStreaming Interface Descriptor:
    bLength                            50
    bDescriptorType                    36
    bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
    bFrameIndex                         4
    bmCapabilities                   0x00
      Still image unsupported
    wWidth                            176
    wHeight                           144
    dwMinBitRate                   253440
    dwMaxBitRate                  1520640
    dwMaxVideoFrameBufferSize       50688
    dwDefaultFrameInterval         333333
    bFrameIntervalType                  6
    dwFrameInterval( 0)            333333
    dwFrameInterval( 1)            400000
    dwFrameInterval( 2)            500000
    dwFrameInterval( 3)            666666
    dwFrameInterval( 4)           1000000
    dwFrameInterval( 5)           2000000
  VideoStreaming Interface Descriptor:
    bLength                            50
    bDescriptorType                    36
    bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
    bFrameIndex                         5
    bmCapabilities                   0x00
      Still image unsupported
    wWidth                            160
    wHeight                           120
    dwMinBitRate                   192000
    dwMaxBitRate                  1152000
    dwMaxVideoFrameBufferSize       38400
    dwDefaultFrameInterval         333333
    bFrameIntervalType                  6
    dwFrameInterval( 0)            333333
    dwFrameInterval( 1)            400000
    dwFrameInterval( 2)            500000
    dwFrameInterval( 3)            666666
    dwFrameInterval( 4)           1000000
    dwFrameInterval( 5)           2000000
  VideoStreaming Interface Descriptor:
    bLength                            34
    bDescriptorType                    36
    bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
    bFrameIndex                         6
    bmCapabilities                   0x00
      Still image unsupported
    wWidth                           1280
    wHeight                           960
    dwMinBitRate                 12288000
    dwMaxBitRate                 22118400
    dwMaxVideoFrameBufferSize     2457600
    dwDefaultFrameInterval        1111111
    bFrameIntervalType                  2
    dwFrameInterval( 0)           1111111
    dwFrameInterval( 1)           2000000
  VideoStreaming Interface Descriptor:
    bLength                            34
    bDescriptorType                    36
    bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
    bFrameIndex                         7
    bmCapabilities                   0x00
      Still image unsupported
    wWidth                           1280
    wHeight                          1024
    dwMinBitRate                 13107200
    dwMaxBitRate                 23592960
    dwMaxVideoFrameBufferSize     2621440
    dwDefaultFrameInterval        1111111
    bFrameIntervalType                  2
    dwFrameInterval( 0)           1111111
    dwFrameInterval( 1)           2000000
  VideoStreaming Interface Descriptor:
    bLength                            34
    bDescriptorType                    36
    bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
    bEndpointAddress                    0
    bNumImageSizePatterns               7
    wWidth( 0)                       1280
    wHeight( 0)                      1024
    wWidth( 1)                       1280
    wHeight( 1)                       960
    wWidth( 2)                        640
    wHeight( 2)                       480
    wWidth( 3)                        352
    wHeight( 3)                       288
    wWidth( 4)                        320
    wHeight( 4)                       240
    wWidth( 5)                        176
    wHeight( 5)                       144
    wWidth( 6)                        160
    wHeight( 6)                       120
    bNumCompressionPatterns             7
  VideoStreaming Interface Descriptor:
    bLength                             6
    bDescriptorType                    36
    bDescriptorSubtype                 13 (COLORFORMAT)
    bColorPrimaries                     1 (BT.709,sRGB)
    bTransferCharacteristics            1 (BT.709)
    bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       1
  bNumEndpoints           1
  bInterfaceClass        14 Video
  bInterfaceSubClass      2 Video Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 IN
    bmAttributes            5
      Transfer Type            Isochronous
      Synch Type               Asynchronous
      Usage Type               Data
    wMaxPacketSize     0x0080  1x 128 bytes
    bInterval               1
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       2
  bNumEndpoints           1
  bInterfaceClass        14 Video
  bInterfaceSubClass      2 Video Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 IN
    bmAttributes            5
      Transfer Type            Isochronous
      Synch Type               Asynchronous
      Usage Type               Data
    wMaxPacketSize     0x0100  1x 256 bytes
    bInterval               1
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       3
  bNumEndpoints           1
  bInterfaceClass        14 Video
  bInterfaceSubClass      2 Video Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 IN
    bmAttributes            5
      Transfer Type            Isochronous
      Synch Type               Asynchronous
      Usage Type               Data
    wMaxPacketSize     0x0320  1x 800 bytes
    bInterval               1
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       4
  bNumEndpoints           1
  bInterfaceClass        14 Video
  bInterfaceSubClass      2 Video Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 IN
    bmAttributes            5
      Transfer Type            Isochronous
      Synch Type               Asynchronous
      Usage Type               Data
    wMaxPacketSize     0x0b20  2x 800 bytes
    bInterval               1
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       5
  bNumEndpoints           1
  bInterfaceClass        14 Video
  bInterfaceSubClass      2 Video Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 IN
    bmAttributes            5
      Transfer Type            Isochronous
      Synch Type               Asynchronous
      Usage Type               Data
    wMaxPacketSize     0x1320  3x 800 bytes
    bInterval               1
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       6
  bNumEndpoints           1
  bInterfaceClass        14 Video
  bInterfaceSubClass      2 Video Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 IN
    bmAttributes            5
      Transfer Type            Isochronous
      Synch Type               Asynchronous
      Usage Type               Data
    wMaxPacketSize     0x1400  3x 1024 bytes
    bInterval               1



can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 2.06 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor:
bLength                 9
bDescriptorType         2
wTotalLength           25
bNumInterfaces          1
bConfigurationValue     1
iConfiguration          0 
bmAttributes         0xe0
  Self Powered
  Remote Wakeup
MaxPower                0mA
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        0
  bAlternateSetting       0
  bNumEndpoints           1
  bInterfaceClass         9 Hub
  bInterfaceSubClass      0 Unused
  bInterfaceProtocol      0 Full speed (or root) hub
  iInterface              0 
  Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 IN
    bmAttributes            3
      Transfer Type            Interrupt
      Synch Type               None
      Usage Type               Data
    wMaxPacketSize     0x0004  1x 4 bytes
    bInterval              12



can't get hub descriptor: Operation not permitted can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1) @@@
I guess the last 4 lines are the problem - but I have no idea what exactly the problem is and how to solve it. (I installed Ubuntu yesterday and have never had a linux distribution installed before. So I apologize if my problem does not belong here because it's a misconfig-issue, but still would appreciate any help.)
For what it's worth: My iPhone is passcoded, but I unlocked it before connecting.

Comments and changes to this ticket

  • Nikias Bassen

    Nikias Bassen June 6th, 2010 @ 08:41 AM

    Hi,

    first of, if you post long console outputs, append them as a logfile. Second, your device does not seem to be listed.
    You can do just 'lsusb' which should list all available devices with their product and device ids. You should get at least one 'Apple' device. Second, the 'Operation not permitted' lines are because you are running 'lsusb -v' as regular user. If you want full output, run it as root: 'sudo lsusb -v'. If your device is NOT listed, try to use another usb port, best if it's a direct onboard port as some usb hubs don't work with the iPhone.

    So first you should get your device listed. And the instructions you linked are outdated, the ppa repository does not provide libimobiledevice/usbmuxd packages for lucid, karmic should already contain the required packages.

  • fnkslbrthr

    fnkslbrthr June 6th, 2010 @ 10:44 AM

    Ok, I now managed to get the iPhone listed by plugging it to another usb port. I attached the output of lsusb with and without verbose option.

  • Nikias Bassen

    Nikias Bassen June 8th, 2010 @ 02:52 PM

    • State changed from “new” to “open”
    • Assigned user set to “Nikias Bassen”

    Hi,
    sorry for the delay. Now that you are set, I have good news. Paul McEnery backported the latest stable releases of the required packages.

    Add his PPA to your ubuntu configuration:

    sudo add-apt-repository ppa:pmcenery/ppa
    

    Then, update the package repo

    sudo apt-get update
    sudo apt-get dist-upgrade
    

    It should upgrade several packages automatically. To make sure the required packages are definitely installed do this:

    sudo apt-get install usbmuxd libusbmuxd1 libimobiledevice1 libimobiledevice-utils ifuse gvfs
    

    Now after rebooting your system the automounting should work, i.e. a symbol should appear on your desktop if you plug in your device.

    Greetings
    Nikias

  • Martin S.

    Martin S. June 8th, 2010 @ 03:54 PM

    Please run "ideviceinfo" and make sure to not have any passcode enabled while connecting.
    If it outputs information about your device without errors, libimobiledevice is setup just fine and something higher in the stack must be broken for you.

  • Martin S.

    Martin S. March 25th, 2011 @ 05:58 PM

    • Tag changed from lucid ubuntu 10.04 iphone 3gs 3.1.3 mount mounting to ios 3.1.3, iphone 3gs, ubuntu 10.04, lucid, mounting
    • State changed from “open” to “invalid”

    Hi, you failed to provide needed information since a heckload of time thus closing this bug. :)

    Feel free to reopen if you still encounter this issue.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

People watching this ticket

Attachments

Referenced by

Pages