Connecting your MP3 Player

From ArchWiki
Revision as of 01:34, 10 June 2011 by Pointone (talk | contribs) (Bot: Removing from Category:General (English))
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 steps 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 Template:Filename).

To find the current UUIDs execute:

# blkid

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 . . .
  • Reexecute blkid

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

  • The player likely has a label. If not use the device node path. Execute as superuser:
# blkid | grep YOURLABEL >> /etc/fstab
  • Now create an easy to remember directory listing for the device:
# mkdir /media/ipod

If you don't have an ipod or have Your drives somewhere else, just rename the directory to something that you like. (Template:Filename)

/dev/sdd: LABEL="Ipod" UUID="E8F1-5438" TYPE="vfat"


UUID=E8F1-5438  /media/ipod  vfat   user,noauto,noexec  0 0

Further questions can be answered with the man page for fstab. The autor does not own any Idevices, so the Label could be wrong.

  • 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!

Alternative way

If 'blkid' doesn't work as aspected, You can look for the UUIDs in Template:Filename.

# ls -lF /dev/disk/by-uuid/

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:

## iPod
BUS="scsi", SYSFS{model}="iPod*", NAME="ipod"