iRiver T10 in Linux

Believe it or not, the iRiver T10 does work in Linux. The drivers from the ifp-driver project do not support it. However, there is no need to panic since the people over at gPhoto have been able to get the device to behave the same way a digital camera does in Linux.

So the first thing you need to do to get the iRiver T10 working in Linux (I also believe that the T20 and T30 are supported by gPhoto) is to download and install gPhoto. If you use Debian, don't panic, just "apt-get install gphoto2" and you're done. Most distributions come preinstalled with gPhoto these days. If you're unsure about whether or not you have gPhoto installed, just type "gphoto2" on the command line and see if anything happens.

Assuming that your gPhoto installation went well, the next step is to plug the device in and make sure it's being detected with the "lsusb" command. If it has been detected by Linux, then you should see something like this:


$ lsusb
Bus 005 Device 010: ID 4102:1113 iRiver, Ltd.
Bus 005 Device 004: ID 0cf2:6220 ENE Technology, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 003: ID 046d:c20c Logitech, Inc. WingMan Precision
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 046d:c00e Logitech, Inc. Optical Mouse
Bus 002 Device 003: ID 047b:0002 Silitek Corp. Keyboard and Mouse
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

As you can see, it has been detected. The line of interest being "Bus 005 Device 010: ID 4102:1113 iRiver, Ltd." At this point, you will want to make special note of the ID. In this case, the ID is "4102:1113". Sometimes gPhoto is able to autodetect certain devices, but in my experience this has never worked properly and I have always had to manually enter the ID.

Now that Linux sees the device and you know your device ID, it's time to try interacting with the MP3 player. You may want to setup your permissions so that a normal user can access the device. Or, if you're crazy, just run it as root. Try listing the directories on the device by using this command:


$ gphoto2 --usbid "0x4102:0x1113=0x054c:0x004e" -L

I have omitted the output because it's device specific. The output from this command can be rather lengthly, so beware. However, one important thing to point out is that the main directory on the device is named "/store_00010001/". This is the root directory of the device and everything needs to be uploaded into it (in theory) for the device to see files properly.

Alright, so let's try some file management. If you don't have an MP3 or OGG handy, go grab Bach's Toccata and Fugue in D Minor to test out these commands.

  • List Files
    $ gphoto2 --usbid "0x4102:0x1113=0x054c:0x004e" -l
  • List Directories
    $ gphoto2 --usbid "0x4102:0x1113=0x054c:0x004e" -L
  • Make a Directory
    $ gphoto2 --usbid "0x4102:0x1113=0x054c:0x004e" -f /store_00010001/ -m directory
  • Upload Files
    $ gphoto2 --usbid "0x4102:0x1113=0x054c:0x004e" -f /store_00010001/directory -u file.mp3
  • Download Files
    $ gphoto2 --usbid "0x4102:0x1113=0x054c:0x004e" -f /store_00010001/directory -p file.mp3

For more commands consult the man page for gphoto2 or gPhoto.org.

If this didn't work for you, then I don't know what to say. It has worked fine for me and I haven't had the need to ruin my T10 by flashing the ROM to make it into a UMS device. Anyway, I hope that this information was useful and good luck with your iRiver T10/T20/T30 MP3 player!



Home - Michael Mazack - Privacy Policy
michael @ mazack . org
Visitor Map