use mtp or usm for an iRiver T10?

Jeff Mitchell kde-dev at
Thu Nov 2 23:07:14 UTC 2006

Andreas Pakulat wrote:
> On 02.11.06 21:27:10, Andreas Pakulat wrote:
>> On 02.11.06 19:05:16, Andreas Pakulat wrote:
>>> I'm currently having a problem with amaroks "sync with media player"
>>> feature, it offeres to change spaces to underscores and also allows to
>>> replace non-ascii text by underscores. But it doesn't have an option to
>>> replace all characters that don't work on FAT filesystems to
>>> underscores. This includes "*,%()" and possibly some others. Also I
>>> think the length of directory and filenames is limited on FAT.
>> This was actually easier for the beginning, because I currently cannot
>> reboot to reflash the player..
>> I do have a KDE svn account and could commit a change to app.cpp,
>> changing vfatPath to also replace some more characters. I'm not doing it
>> because nobody here knows me and I don't want to get flame-mails about
>> changing amarok without anybody commenting.
> Hmm, weird. Now it seems amarok can write all files. I wonder wether
> this could be because of a reformat of the stick or because I was using
> 1.4.4 release from Debian on the first try...
> Andreas

I must admit that I don't actually understand what issue you're having 
with syncing.  If you're having trouble with your iRiver, it may be 
because it's not actually a vfat device -- you may need to use the iFP 
or MTP plugins.  But you're also wrong about what characters vfat 
filesystems can support.  Here's a quick proof-of-concept I did on some 
of your cases (using "touch" to create some files, hence the zero lengths):

scales ~ # mount
/root/vfattest.img on /mnt/shared type vfat (rw,loop=/dev/loop0)

scales ~ # ls -al /mnt/shared
total 16
drwxr-xr-x  2 root root 16384 2006-11-02 18:04 .
drwxr-xr-x 17 root root   448 2006-09-25 18:58 ..
-rwxr-xr-x  1 root root     0 2006-11-02 18:03 blah[2].mp3
-rwxr-xr-x  1 root root     0 2006-11-02 18:03 blah$2.mp3
-rwxr-xr-x  1 root root     0 2006-11-02 18:03 blah{3}.mp3
-rwxr-xr-x  1 root root     0 2006-11-02 18:03 blah+4.mp3
-rwxr-xr-x  1 root root     0 2006-11-02 18:04 blah;blah.mp3
-rwxr-xr-x  1 root root     0 2006-11-02 18:03 blah at blah.mp3
-rwxr-xr-x  1 root root     0 2006-11-02 18:04 blah&blah.mp3


More information about the Amarok mailing list