You are not logged in.

#1 2004-01-24 21:13:31

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

ifp-line

Since I just got my shiny new toy (an iRiver MP3 player) which either speaks USB-mass-storage or its own protocol, I searched and found a tool speaking "the other" protocol :
http://ifp-driver.sourceforge.net

If somebody is interested : the latest version of this "iRiver Manager" protocol and firmware allows to play OggVorbis files. But not (yet) the USB-mass-storage firmware. Now I don't need Windows to transfer OggVorbis files to it 8). AFAIK, iRIver is the only (at least first) company that supports OggVorbis on flash-based players.

PKGBUILD :

# Contributor: Andreas Schweitzer <andy@bootblock.de>
pkgname=ifp-line
pkgver=0.2.3
pkgrel=1
pkgdesc="A tool to acces the iRiver IFP series MP3 players with the iriver protocol."
url="http://ifp-driver.sourceforge.net"
groups=('')
depends=('libusb' 'hotplug')
backup=
provides=
replaces=
install=install.ifp
source=(http://download.sourceforge.net/ifp-driver/$pkgname-$pkgver.tar.gz)
md5sums=('e296f89457eb845a6d0c88ae7ef9e086')

build() {
  cd $startdir/src/$pkgname-$pkgver
  install -d $startdir/pkg/usr/bin
  install -d $startdir/pkg/usr/share/ifp-line
  install -d $startdir/pkg/etc/hotplug/usb
  make || return 1
  make INSTALL=install PREFIX=$startdir/pkg/usr install
  install README TIPS nonroot.sh $startdir/pkg/usr/share/ifp-line/
  cat > $startdir/pkg/etc/hotplug/usb/ifpdev << 'EOF'
#!/bin/sh
# /etc/hotplug/usb/ifpdev

chgrp ifp $DEVICE
chmod g+rw $DEVICE
EOF
  chmod 755  $startdir/pkg/etc/hotplug/usb/ifpdev
}

install.ifp:

# arg 1:  the new package version
post_install() {
  /usr/share/ifp-line/nonroot.sh
  cat << EOF

Put all the users that want to access an iRiver IFP MP3 player in
the group "ifp" and make sure that hotplug is set up correctly.

EOF
  /bin/true
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  /bin/true
}

# arg 1:  the old package version
pre_remove() {
  cp /etc/hotplug/usb.usermap /etc/hotplug/usb.usermap.bak
  grep -v '^ifpdev[[:blank:]]' /etc/hotplug/usb.usermap.bak > /etc/hotplug/usb.usermap
  rm /etc/hotplug/usb.usermap.bak
  egrep -q '^ifp:' /etc/group && /usr/sbin/groupdel ifp
  /bin/true
}

op=$1
shift

$op $*

Offline

#2 2004-01-24 21:24:22

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: ifp-line

http://www.neurosaudio.com?  They did before the iRiver did.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB