Using the iRiver H320 (and H340) with Linux

Recently, I came into the possession of the iRiver H320 Digital Jukebox. (I hesitate to call it an MP3 player because most of the files I have on it are now Ogg Vorbis.) My problem: using this thing with Linux. I dug around for a bit and figured out how to get files on and off this thing using Linux.

Note: This was done using SimplyMepis (Linux) 2004-01 with the included 2.6 kernel. Procedures may vary by kernel version.

  1. Go into the Control menu by pressing and holding the [b]Navi[/b] button while on the root screen.
  2. Click [b]|>>[/b] (fast forward) until you get to the Control menu, then tap [b]Navi[/b].
  3. Scroll down to USB Charging and tap Navi again.
  4. Select Off.

Now, connect the USB cable to the DATA port on the bottom of the unit. (And connect the other end of the USB Cable to your system, of course.) On your Linux system, open up a terminal window and type the following (where $ and # represent the prompt, and shouldn’t be typed):

$ tail /var/log/messages

You will see the following output:

Dec 2 19:14:15 XCube kernel: Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
Dec 2 19:14:15 XCube kernel: Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0

(Note the sdb (in my case). Most likely it’ll be sda.)

Now, run the following commands:

$ su root
password: [ENTER YOUR PASSWORD]
# mkdir /mnt/H320
# mount -t vfat /dev/sdb1 /mnt/H320

Ta dah! It’s mounted and ready to interface with all the capabilities of a regular USB hard drive. [b]Just remember to run umount /mnt/H320 before unplugging![/b]

Share your thoughts