Page 1 of 1

A poke in the iriver (T30)

PostPosted: Wed Mar 22, 2006 2:25 pm
by Nobber
So I bought an iriver T30 a couple of days ago. It's small, it's light, it has 1GB of memory, and it plays ogg vorbis, so why not? Bloke in the shop assured me it works as a UMS (USB mass storage) device, so I thought "no problem using it with Linux, then" and shelled out me hard-earned.

UMS device my ar^H^H foot! Apparently iriver's latest devices, unlike most other portable MP3 players around these days, use a protocol called MTP, which requires Windows Media Player 10 on Windows XP in order to be usable. :evil:

Now, that said, all is not lost. It turns out that MTP is a derivative of/similar enough to PTP2 - the protocol used by some digital cameras - that you can use gphoto2 to access files on the device. Typing

gphoto2 -f /store_00010001 -m my_new_dir
gphoto2 -f /store_00010001/my_new_dir -u blah.ogg

(for example) is not the most convenient way to interact with the device, but it does mean you're a bash script front-end or two away from transferring music with little fuss.

However, you will need libgphoto2-2.1.99 (the latest development version) in order for gphoto2 to recognise the iriver T30, and I've found data transfers to be a bit temperamental. Sometimes you will see error messages even though everything appears to have tranferred OK, and sometimes the transfers just don't work at all.

Anyway, misery loves company, and it would seem that I'm not the only one a tad peeved at iriver's senseless MTP-only policy. Oddly enough, the T30 is available as a UMS device in Asia and Australia (but not in Europe or North America :roll: ), and so converting your T30 from MTP to UMS is just a matter of using some hacked firmware from Asia/Australia. If you want to try this, go to for details. No doubt such a procedure would void your warranty, but many people have reported success.

And so ends this cautionary tale.

RE: A poke in the iriver (T30)

PostPosted: Thu Mar 23, 2006 10:42 pm
by davecs
I have read two "specials" in another Mag, Micro Mart, about so-called mp3 players. One a couple of weeks ago, and today, one for "non-MP3" players, ie which played other formats, not always ogg.

Well they didn't mention either time the iAudio M5 and M5L (L for Large Battery!). This is 20 Gig device which, as well as the usual MP3, can do OGG and FLAC! And you do really notice the difference in Sound Quality if you turn the default OGG compression to Quality Level 4, which makes its files similar in size to MP3.

It's a real top quality piece of work, with UMS, and superior sound (provided you switch out all the gadgets and use decent phones).

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 1:04 pm
by noelob
"The people who bought you..." libnjb are in fact creating a new library to access MTP devices inder linux. The project is being hosted here: but is the early stages. Some of the functionality works though, and I think they are planning to make it work with Gnomad2

Kind regards,

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 1:11 pm
by GMorgan
This whole WMP10 only system is mad. The European version of Vista will be released without WMP in the box (or IE as I understand it). Essentially the market is going to become more diverse not less.

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 1:24 pm
by Nobber
libmtp? Interesting!

I hit a snag using gphoto2 with the T30 - once a certain amount of data had been transferred to the device, gphoto2 refused to transfer any more, or even list the contents. I found the solution here, which is to patch libgphoto2-2.1.99 thus: change


in libgphoto2-2.1.99/camlibs/ptp2/ptp.h to


(and recompile, of course). Now my T30's full to the brim and I'm happy.

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 1:31 pm
by jdtate101
So I have the Zen Touch Photo...also a MTP device (whereas the original Zen Touch used to be Libnjb compliant!!)
I used to use Kzenexplorer to upload files....any ideas how I can use this libmtp to do the same???

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 1:49 pm
by Nobber
If you feel up to it, you could add a line to libgphoto2-2.1.99/camlibs/ptp2/library.c for your device, compile, and see if you have any luck with gphoto2. For example, the line for the iriver T30 is

Code: Select all
{"iRiver:T30", 0x4102, 0x1119, 0},

where 4102 and 1119 are the components of the USB id of the device (which will be different for the Zen Touch Photo). The lsusb command may be of some help in determining the USB id (assuming you have connected the device to your computer!).

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 2:29 pm
by sjeapes
This link may help ... n=5&order=

I've looked at iRiver devices before and they always came with the MTP firmware as default but many give the option to download the firmware to make it act as a UMS device

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 3:18 pm
by Nobber
^That's actually a driver for old versions of Windows that don't automatically recognise USB mass storage devices. A bit odd that they offer that as a download for the T30 in Europe, since the T30s sold in Europe are MTP devices (or so I understand). :?

RE: A poke in the iriver (T30)

PostPosted: Fri Mar 24, 2006 4:53 pm
by shifty_ben
The world has gone mad, using MTP to copy files to an MP3 player garuantees one thing, squeezing your self out of one market or another. If the firmware is available to make it act as a UMS device I will definitely be using that once I get around to it. If it then breaks I may well be having words with their customer service.

One day people will learn, just not for a while

More on Iriver

PostPosted: Thu Mar 30, 2006 10:37 pm
by grege
For everything IRiver go to <- for the truely obsessed IRiver user!

If you have a hd IRiver there are links to linux software that can rebuild the IRiver player database that controlls that which shows in the menus. I could not get the python version to work, but iriverdb works fine.

And of course links to all sorts of firmware for firmware to completely replace the origonal IRiver firmware (hd players only H1xx and H3xx series)