#118 ✓resolved

iphone 3gs stopped showing up in gnome and desktop AFTER libi install

Reported by dgd | April 6th, 2010 @ 03:31 PM

Here's the video.

After installing libi my iphone 3gs stopped showing up on the desktop.

The computer knows the iphone is there:

sudo tail -s 3 -f /var/log/messages

Apr  6 18:26:28 localhost kernel: usb 1-4: New USB device found, idVendor=05ac, idProduct=1294
Apr  6 18:26:28 localhost kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr  6 18:26:28 localhost kernel: usb 1-4: Product: iPhone
Apr  6 18:26:28 localhost kernel: usb 1-4: Manufacturer: Apple Inc.
Apr  6 18:26:28 localhost kernel: usb 1-4: SerialNumber: 89649006fbe63f240b3dfe9383e311ccf8d63e

More info
[user@localhost ~]$ rpm -qa|grep libi


sudo yum install sbmanager= No package sbmanager available.

uname -r

sudo tail -s 3 -f /var/log/messages 
Apr  7 10:48:48 localhost yum: Installed: coolkey-1.1.0-11.fc12.i686
Apr  7 10:48:49 localhost yum: Installed: yp-tools-2.9-8.fc12.i686
Apr  7 13:06:56 localhost kernel: usb 1-4: new high speed USB device using ehci_hcd and address 13
Apr  7 13:06:56 localhost kernel: usb 1-4: New USB device found, idVendor=05ac, idProduct=1294
Apr  7 13:06:56 localhost kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>>>>>Apr  7 13:06:56 localhost kernel: usb 1-4: Product: iPhone
Apr  7 13:06:56 localhost kernel: usb 1-4: Manufacturer: Apple Inc.
Apr  7 13:06:56 localhost kernel: usb 1-4: SerialNumber: 89649006fbe63f240b3dfe9383e311ccf8d63e6d
Apr  7 13:06:56 localhost kernel: usb 1-4: configuration #1 chosen from 4 choices
>>>>>>>>Apr  7 13:15:28 localhost usbmuxd[21405]: [0] Could not open lockfile


Comments and changes to this ticket

  • Nikias Bassen

    Nikias Bassen April 6th, 2010 @ 04:59 PM

    • State changed from “new” to “open”

    Nice, never got a bug report with a video :-D

    OK listen. libimobiledevice is the communication lib that speaks the device's language and itself does not provide any GUI.
    For communication to work you need usbmuxd [1] correctly installed so that it starts up when you plug the device in. When you plugged in your device, type "ps ax |grep usbmuxd" and see if there's a process running with that name. If not, look on our web site there are links to packages for several distros.

    If everything worked as expected up to this point, make the next checks libimobiledevice has some command line tools.
    - type "idevice_id -l" it should list all connected devices. - type "ideviceinfo" it should print out a bunch of information about the first device that it can find (with -u you can pass your device's UUID you got from idevice_id)

    If all of this works, you need to make sure you have the latest gvfs packages installed. On debian like distros like ubuntu, type
    "apt-cache show gvfs |grep Version" and report the version number.

    "ldd /usr/lib/gvfs/gvfsd-afc |grep libimobiledevice" should give the version of libimobiledevice linked to gvfs (gvfsd-afc)

    You said it "stopped showing up", so what did you use before?

    Hope that helps,

    [1] http://marcansoft.com/blog/iphonelinux/usbmuxd/

  • Martin S.

    Martin S. April 7th, 2010 @ 09:52 AM


    • How did you install libimobiledevice?
    • Did you try the official Fedora packages?
    • Can you confirm "usbmuxd" is running if you plug in your device?

    So far this hints at an incorrect installation.
    Once you can run "ideviceinfo" in a terminal then all should be fine.

  • dgd

    dgd April 7th, 2010 @ 10:40 AM

    How did I install= sudo yum install libimobiledevice
    official Fedora packages= yes
    confirm usbmuxd= not sure how to on Fedora 12

    [rpm -qa|grep usbmuxd usbmuxd-1.0.3-1.fc12.i686]

    ldd /usr/lib/gvfs/gvfsd-afc |grep libimobiledevice= command did not work

    rpm -qa|grep gvfs

    Video of what I tried:

  • Martin S.

    Martin S. April 7th, 2010 @ 11:49 AM

    Hehe. Thanks for the nice video reports.
    It looks like you are running Fedora which infact has pretty good support for the library.
    As you are able to run ideviceinfo, libimobiledevice is correctly installed.

    You also need gvfs-afc ontop of all this to have the desktop icon show up.
    The official gvfs 1.4.3 release though has no support for libimobiledevice.
    The support for it arrived with gvfs 1.5.1.

    You can still try installing gvfs-afc and restart your desktop session (logout/login) on success.

    The "other goodies" you see on libimobiledevice.org need to be compiled by yourself like sbmanager or nautilus-ideviceinfo and related as they have no releases yet.

  • dgd

    dgd April 7th, 2010 @ 01:13 PM

    Hey, I installed gvfs-afc as you suggested and now my fedora 12 machine sees my iphone. Thanks.

    Is there an open FAQ somewhere to add questions?

    I've got a stack of questions about how to get more out of my iphone/linux marriage. Where to go for help?

  • Martin S.

    Martin S. April 7th, 2010 @ 01:34 PM

    • State changed from “open” to “resolved”

    You get more help in Fedora Forums or directly on IRC. For that you need to check channel #gtkpod on freenode with an app like xchat. :)

    For putting any music, videos or podcasts onto your device, you require a media player that uses a recent version of the libgpod library!
    The device has a specific internal database that needs to be updated with special tools (Nothing works by just copying your media into folders on the device!).

    I think Fedora 12 has only an old version available.
    You need libgpod4 >= 0.7.90 in order for media players like Rythmbox or GTKPod to "transfer" anything to the device.

    Please mind that you are moving on experimental ground all the time here and that the next releases of distributions will make this much more an "out of the box" experience without the fiddling you needed to do now.

    Some of the "magic" you could try if you are up for the adventure:

    Bundled tools:

    • ideviceinfo (terminal app; gives you a lot of device related information, from serials, names, sim infos, bootloaders, rom versions, battery status, ...)
    • idevicesyslog (terminal app; shows the system log of the device)
    • idevicebackup (terminal app; does a backup in a native way like iTunes)
    • idevice_id (terminal app; shows the 40-digit unique id of connected devices)

    External tools (sources from cgit.sukimashita.com)

    • ideviceinstaller (terminal app, compile from sourcecode; manage installed apps)
    • nautilus-ideviceinfo (GUI app; shows some information about your device in nautilus properties)
    • sbmanager (GUI app; allows you to arrange the icons on the device from your computer; needs OS 3.1+)

    More to come... setting this bug to resolved as the initial reported bug was fixed.

  • Martin S.

    Martin S. April 7th, 2010 @ 02:12 PM

    Infact you should be able to add this repository to "/etc/yum.repos.d/":

    Then install libgpod 0.7.92 and gtkpod 0.99.16 from there and afterwards Rhythmbox and GTKPod should be able to transfer your music, videos and podcasts.

  • dgd

    dgd April 7th, 2010 @ 02:29 PM

    Thanks Martin,
    I just tested gtkpod and found that it did not 'see' my iphone or its contents. Further,dragging and dropping from rhythmbox failed as well.

    I have 30+ podcasts (no music or videos) on my iphone.

    Not experiencing much joy here but as you said, I'm the edge here with little support. That said, you guys have been great and I DO appreciate all your patience/time/help!

    I'm posting another Youtube vid and HIGHLY recommend you guys do more screencasts! You're doing cool things and people need to see how linux and iphone can work together (even if it doesn't work for me!)


  • Martin S.

    Martin S. April 7th, 2010 @ 03:06 PM

    I seen that you have podcasts there. They reside in special folders on the device, not necessarily in the Podcasts folder and you can not just copy stuff over.
    The icon on the desktop is for pure filesystem access. Kind of like an USB drive and accessing your camera photos.

    As noted, you'll need the newer libgpod release in order for any media player to read or write music from/to your device.

    Current work focuses on adding the restore feature for idevicebackup and making a first release of nautilus-ideviceinfo and sbmanager.

    I'll be doing some mini-feature on my blog soon, describing each feature one is able to use with the library a bit more detailed.
    The idea of adding some screencasts for that might be worth creating some, too.

    Thanks for testing!

  • dgd

    dgd April 7th, 2010 @ 03:25 PM

    Another vid showing file transfer (fail)... but I'm used to user error... probably me.

  • Martin S.

    Martin S. April 7th, 2010 @ 04:28 PM

    You should read exactly what I wrote. Your libgpod version is at 0.7.2. That is too old. It does not have any support for reading libimobiledevice!
    The new one is 0.7.92 and to install it you must add this package repository: http://tmz.fedorapeople.org/repo/libgpod/libgpod.repo to your /etc/yum.repos.d/ directory.

    Simply download that .repo file and put it into /etc/yum.repos.d/ as this command does:

    curl -o /etc/yum.repos.d/libgpod.repo http://tmz.fedorapeople.org/repo/libgpod/libgpod.repo

    Then update gtkpod and libgpod. If you check versions to be libgpod 0.7.92 and gtkpod 0.9.16 then you are all fine and restarting Rhythmbox should make things work.

    You are "almost" there. ;)

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