The X20 is a fairly new flash based media player from iRiver. Getting it working with Amarok 1.4.5 is simple - just follow these instructions.
Plug the X20 in to a free USB port If the battery is not fully charged it might give you information about charging the battery Ensure the X20 is set to connection type MSC iRiver: Mass Storage Class (MSC) is a traditional UMS type rather than MTP. When used in MSC mode it presents as a USB drive. Once plugged in, the X20 should present itself in KDE as an Unmounted Removable Medium on the desktop (you should see an icon appear for "iriver X20") If KDE and/or Amarok present dialogue boxes about new medium or devices being detected, cancel them for now Right click the icon. Choose Properties then select the Mounting tab. In the Mountpoint: field type in where you want the X20 mounted eg /media/iriver X20 and ensure Mount automatically is checked. Open Amarok and in the Devices section you should see something similar to Generic Audio Player at /dev/sdb/ (mounted at /media/iriver X20) in the Device drop down box. Choose it then hit the Connect button and the folders config, music, pictures, record, recycler, video will be presented.
Choose the Configure Device icon If you have followed the above instructions the Pre-connect and Post-disconnect command can be left empty. Choose the file formats the X20 supports. mp3, ogg, mpeg, mp4, wma In the Song location field, prepend /music to what is in the field Leave the Podcast location as is, all you need to do is create a folder on the X20 with the same name for storage of your podcasts Adjust any other settings as you wish
When the X20 is in communication with Amarok the screen displays a red USB icon and states Synching do not disconnect device Just drag and drop the files into the device pane then hit the Transfer button when done Notes
This was tested on Kubuntu 7.04 beta with KDE 3.5.6 and Amarok 1.4.5