Difference between revisions of "IRiver iFP Audio Players"

From ArchWiki
Jump to: navigation, search
m (Bot: Removing from Category:HOWTOs (English))
Line 1: Line 1:
[[Category:Other hardware (English)]]
[[Category:Other hardware (English)]]
[[Category:HOWTOs (English)]]
ifp-line lets you manage your iRiver mp3 music player acting in \"Manager Mode\" ONLY.
ifp-line lets you manage your iRiver mp3 music player acting in \"Manager Mode\" ONLY.

Revision as of 17:40, 10 June 2011


ifp-line lets you manage your iRiver mp3 music player acting in \"Manager Mode\" ONLY. If your player is using \"UMS Mode\", then you don't need this program; it will appear as a new drive when you plug it in. At the time of writing, only Manager Mode can play ogg-vorbis format files.

ifp can upload or download files or directories, delete or make directories on the device, format the device, or upgrade your firmware. It effectively manages most of the tasks performed by the iRiver software provided for windows -whilst being faster & more stable.

It is recommended that it is used in conjunction with Midnight Commander to help manage your music files more effectively.

This configuration assumes Udev and hotplug will be used.

Setup udev:

See [1]

Configure usb:

Edit /etc/rc.conf:

Add to DAEMONS: 'hotplug'

Add to MODULES: 'usbserial' 'usb-storage'

Install iRiver driver/manager from extra repository:

$ pacman -S ifp-line
$ reboot

Verify that you can connect to your iRiver:

Connect iRiver device to your pc with the supplied usb cable.

In bash do:

$ ifp ls /

If successful, the output should display the root directory on your iRiver, similar to this:

d music

Midnight Commander Setup (as root)

8 Install midnight Commander

$ pacman -S mc
  • Copy the ifp binary to the midnight Commander extfs directory
$ cp /usr/bin/ifp /usr/share/mc/extfs/
  • Edit /usr/share/mc/extfs/extfs.ini & add a new line at the bottom:
  • Save changes to extfs.ini
  • run midnight commander
$ mc
  • In Midnight Commanders command line type:
cd /#ifp

You should now have full access to your iRiver directories via midnight commander. You will be able to copy & delete music tracks as you wish.

Setting up udev to automatically assign permissions

Put the following into a file named ifpdev.rules in /etc/udev/rules.d

# udev rules file for supported ifp devices
# To add an USB ifp device, add a rule to the list below between the SUBSYSTEM...
# and LABEL... lines.
# To run a script when your ifp is plugged in, add RUN="/path/to/script"
# to the appropriate rule.

SUBSYSTEM!="usb_device", ACTION!="add", GOTO="libifp_rules_end"

# ifp-1xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1001", GROUP="storage"
# ifp-3xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1003", GROUP="storage"
# ifp-5xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1005", GROUP="storage"
# ifp-7xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1007", GROUP="storage"
# ifp-8xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1008", GROUP="storage"
# ifp-9xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1009", GROUP="storage"
# ifpdev
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1010", GROUP="storage"
# The N10
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1011", GROUP="storage"


And add the user you want to have permissions to the storage group

gpasswd -a username storage


Do not delete the default folders in the / directory of your iRiver -it may cause issues!
Midnight Commander (by default) copies files preserving their file permissions. Because these file permissions cannot be written to your iRiver, an error message will be displayed after each file copy.
To prevent these messages from appearing, UNCHECK the 'preserve attributes' checkbox on midnight commanders copy dialog.

If you frequently copy directories to your iRiver rather than individual tracks, then select the directory to copy & check the 'Dive into subdir if exists' checkbox.

The ifp commands can easily be incorporated into your own bash scripts to make the management of your iRiver even faster ! See the man page for more !

Upgrading Firmware

  1. get the firmware for the manager version and name it IFP-3XXT.HEX
  2. run ifp firmupdate ./IFP-3XXT.HEX
  3. wait for player to do its thing, concluding in a poweroff
  4. unplug everything, turn on player, and plug back in
  5. run ifp ls / to see some files, ensure it is working