GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
MP3 Player |
An iRiver H300 Series MP3/ogg HDD player (H340):
$ udevinfo -a -p /block/sdc | grep product SYSFS{product}="iRiver H300 Series" SYSFS{product}="Intel Corp. 82801EB/ER ..." $ sudo emacs -nw /etc/udev/rules.d/local.rules BUS=="usb", KERNEL=="sd?1", SYSFS{product}=="iRiver H300 Series", NAME="%k", SYMLINK="iriver" $ sudo emacs -nw /etc/fstab /dev/iriver /media/iriver auto users,defaults 0 0 $ sudo mkdir /media/iriver $ wajig restart udev $ mount /media/iriver |
Initial connect to USB did not report anything in dmesg. By looking at /proc/bus/usb/devices found:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 26 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=4102 ProdID=1007 Rev= 0.01 S: Manufacturer=iRiver Limited. S: Product=IFP-700 HIGH SPEED C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms |
So instead install ifp-line and run as root:
$ wajig install ifp-line $ ifp ls Device is busy. (I was unable to claim its interface.) $ sudo ifp ls d VOICE d RECORD f iRiver, Catch the digital flow!.mp3 (size 1988608) |
A decent graphics interface is ifp-manager:
$ wget http://optusnet.dl.sourceforge.net/sourceforge/ifp-manager/ifp-manager0_2_0.tar.bz2 $ tar xvf ifp-manager0_2_0.tar.bz2 $ cd ifp-manager0.2.0/ $ sudo ./ifpmanager.pl |
Another graphical interface is provided by ifp-gnome. The interface is good but the functionality is limited. Seems if you select a folder of albums belonging to an artist, only the first album gets uploaded.
$ wget http://optusnet.dl.sourceforge.net/sourceforge/ifp-gnome/ifp-gnome_0.5-ubuntu1_noarch.deb $ wajig install ifp-gnome_0.5-ubuntu1_noarch.deb $ sudo ifp-gnome
To allow a user access to the ifp:
$ wajig install pmp-common $ sudo adduser kayon plugdev |