Automount Ipod Shuffle gen 2 on Ubuntu

Discussion in 'General Linux' started by ryanvade, Jul 31, 2013.

  1. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    428
    Trophy Points:
    83
    Hello everyone.


    I cannot figure this out. Does anyone know how to setup automount of an Ipod shuffle (gen 2) on Ubuntu 13.04? I think the udev rules are wrong. I know that the device is connected though...
    Code:
        [ 3032.041958] usb 3-1: USB disconnect, device number 3
        [ 3260.312104] usb 3-4: new high-speed USB device number 4 using xhci_hcd
        [ 3260.329367] usb 3-4: New USB device found, idVendor=05ac, idProduct=1301
        [ 3260.329378] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
        [ 3260.329384] usb 3-4: Product: iPod
        [ 3260.329389] usb 3-4: Manufacturer: Apple
        [ 3260.329394] usb 3-4: SerialNumber: 000A27001CBAE2CF
        [ 3260.330035] usb-storage 3-4:1.0: USB Mass Storage device detected
        [ 3260.330134] scsi8 : usb-storage 3-4:1.0
        [ 3261.329739] scsi 8:0:0:0: Direct-Access    Apple    iPod            2.70 PQ: 0 ANSI: 2
        [ 3261.329931] sd 8:0:0:0: Attached scsi generic sg2 type 0
        [ 3261.330147] sd 8:0:0:0: [sdb] 495616 2048-byte logical blocks: (1.01 GB/968 MiB)
        [ 3261.330401] sd 8:0:0:0: [sdb] Write Protect is off
        [ 3261.330405] sd 8:0:0:0: [sdb] Mode Sense: 64 00 00 08
        [ 3261.330611] sd 8:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    
    Code:
        Bus 003 Device 005: ID 05ac:1301 Apple, Inc. iPod Shuffle 2.Gen
    Code:
          Device Boot      Start        End      Blocks  Id  System
        /dev/sdb1  ?  778135908  1919645538  2283019262  72  Unknown
        /dev/sdb2  ?  168689522  2104717761  3872056480  65  Novell Netware 386
        /dev/sdb3  ?  1869881465  3805909656  3872056384  79  Unknown
        /dev/sdb4  ?  2885681152  2885736650      110998    d  Unknown
    I can mount /ded/sdb but I cannot do anything with it. I have tried Banshee, clementine, and gtkpod. Nothing works. Automount is not working at all. Can anyone help?
  2. SLW210

    SLW210 Member

    Messages:
    89
    Likes Received:
    31
    Trophy Points:
    18
    I still need to set mine up, I'll have a look at giving this a try when I get home tonight.
    ryanvade likes this.
  3. MikeyD

    MikeyD Active Member

    Messages:
    232
    Likes Received:
    112
    Trophy Points:
    43
    Can you see the device in /media?

    Not sure if this will help at all (prob not) as I can't find which Ubuntu version this applies to, and it is regarding USB devices in general, AND it seems to assume using Nautilus and Gnome, but it might be worth a shot to make sure automount is enabled:

    Configuring Automounting

    To enable or disable automount open a terminal and type dconf-editor followed by the [Enter] key.
    Browse to org.gnome.desktop.media-handling.
    The automount key controls whether to automatically mount media. If set to true, then Nautilus will automatically mount media such as user-visible hard disks and removable media on start-up and media insertion.
    There is another key org.gnome.desktop.media-handling.automount-open. This controls whether to automatically open a folder for automounted media.

    If set to true, then Nautilus will automatically open a folder when media is automounted. This only applies to media where no known x-content/* type was detected; for media where a known x-content type is detected, the user configurable action will be taken instead.


    From: https://help.ubuntu.com/community/Mount/USB
  4. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    428
    Trophy Points:
    83
    Auto mounting is already setup by default on Ubuntu. The problem appears to be just Ipods. I tried a fix in the Udev rule that controls Ipods, no luck.

    A base Arch system with KDE and Clementine and Udisks2 mounted the Ipod after about 5 minutes. So the Umuxsb bug appears valid. But at least it mounted it. I cannot transfer files without the libgpod library though.
  5. SLW210

    SLW210 Member

    Messages:
    89
    Likes Received:
    31
    Trophy Points:
    18
    13.04 could just be a little buggy still. I didn't get a chance last night to try mounting my iPod, 13.04 froze on me, had to shut down via power button, didn't feel like starting it back up, but ran fine when I started it up this morning, but no time to mess with the iPod.

    Hopefully tonight. I'll try on 12.04 LTS first and then compare.
  6. SLW210

    SLW210 Member

    Messages:
    89
    Likes Received:
    31
    Trophy Points:
    18
    Mine (iPod Classic) works fine, it automounts and plays etc with gtkPod and Rythmbox.

    Both 13.04 and 12.04 Ubuntu. Mounts as a file system, also.

    Sorry I couldn't help.

    Could be your cable, I have had similar problems on one of my cables.
  7. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    428
    Trophy Points:
    83
    From what I have seen this issue is Shuffle specific.

    Thanks though. Cable seems likely also.
  8. SLW210

    SLW210 Member

    Messages:
    89
    Likes Received:
    31
    Trophy Points:
    18
    Have you ever had it hooked to iTunes?

    I forgot to add, I did set to "Enable Disk Use" and "Manage Music Manually" in iTunes a good while back.

    I use Floola on my Windows machines for iTunes, they have a Linux version, you might try that.
  9. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    428
    Trophy Points:
    83
    I will have to try that thanks. I REALLY don't like iTunes. I have used it in the past for basic setup. I will have to install it again.
  10. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    428
    Trophy Points:
    83
    Well, it works fine on Windows. On Linux the shuffle is not detected. I am thinking it is the libgpod causing issues. Perhaps I should build the development version from source?
  11. MikeyD

    MikeyD Active Member

    Messages:
    232
    Likes Received:
    112
    Trophy Points:
    43
    It might be worth opening a bug report even if you manage a workaround so it (hopefully) gets fixed in future releases. The closest bug report I could find was this one:
    https://bugs.launchpad.net/hotplug/ bug/501148
    But it looks like that problem is slightly different since your system bus seems to at least detect the device, the report isn't very detailed though. Does the iPod charge when plugged in?

Share This Page