Connecting your MP3 Player

From ArchWiki
Jump to navigation Jump to search

There are different kinds of MP3-Players around.

Players Accessible as usb-storage

  • creative
    • Creative MuVo
      • Note that with some (older) models of MuVo deleting settings.dat from the stick renders it useless, newer models don't have the file
  • iriver
    • All iriver players with "UMS Mode" firmware are recognized as usb-storage
  • Cowon
    • iAudio U2 MP3 Player
  • NextCom
    • flash drive + mp3-player
  • MPIO
    • MPIO HD300

Players Accessible With Native Protocols

  • creative
    • creative players, probably all that don't support usb-storage, should be supported by gnomad2

UUID Player Mounting

Mounting your mp3 player(in this example an ipod) is very easy. But without the "proper" set up, it can be problematic. The following setps can be used for any mp3 player or usb mass storage device.

  • Every drive creates a UUID (Universally Unique Identifier), these identifiers can be used to track individual drive no matter their device node (ie '/dev/sda'). To find the current UUIDs execute the following command.
  ls -lF /dev/disk/by-uuid/

At this point you should see a list of your system drives and a long strings of characters. These long strings are the uuids.

  • Now plug in your mp3 player to a usb port . . . wait for a few seconds . . .
  • Now re-execute the previous command
 ls -lF /dev/disk/by-uuid/

Notice a new device and UUID? That's your mp3 player!

  • Copy or write down the new UUID. My UUID for my ipod looks like this: 6411-EF7E
  • Let's create an easy to remember directory listing for the device
 mkdir /media/ipod

If you don't have an ipod, just rename the directory to something that you like (/media/mp3player)

  • Now it's time to roll up your sleeves and edit your /etc/fstab
 $EDITOR /etc/fstab 
  • Now add this line to the bottom of your /etc/fstab
 /dev/disk/by-uuid/6411-EF7E /media/ipod vfat users,exec,noauto 0 0

Remember the UUID in the above example will be different, so remember to change it. Also remember to change your directory. Further questions can be answered with the man page for fstab

  • Remove your device from the usb port . . . wait a second . . .
  • Reinsert your device
  • Mount with the following command
 mount /media/ipod

Now no matter what, your device will always mount under the same directory! Much (if not all) of this came from

udev Player Mounting

Alternatively you can use udev to do the same thing. I have not tried this yet (the above works fine for me), but here's the basics:

  • Edit your /etc/udev/rules.d/00.rules
 ## iPod
 BUS="scsi", SYSFS{model}="iPod*", NAME="ipod"