特殊:Badtitle/NS100:AudioPlayeriRiverH340

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月19日 (日) 04:18的版本
跳到导航跳到搜索

{{#ifexist: :AudioPlayeriRiverH340/zh | | {{#ifexist: AudioPlayeriRiverH340/zh | | {{#ifeq: {{#titleparts:AudioPlayeriRiverH340|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AudioPlayeriRiverH340|1|-1|}} | zh | | }}

This wiki page has been created for users of the iRiver H3xx series audio players under Ubuntu. iRiverter converts movie files (avi, mpeg, etc...) for viewing on an iRiver H300 (H3xx) series player. For details, see the [sourceforge] page.

Obtaining iRiverter on Ubuntu 7.04

iRiverter is now in the Multiverse repositories.

Compiling iRiverter on Ubuntu 6.06 / 6.10

The following steps should successfully compile iRiverter under Ubuntu 6.06 (Dapper) or 6.10 (Edgy). This method has been successful for version 0.14 - 0.16. Note: For Users of Ubuntu 6.10 (Edgy), your Java path will differ due to a more recent Java package, it should be:

/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/... 
  1. Download the Bzipped tarball file for Linux from the [sourceforge] page. Extract it to a directory of your choice, such as '/home/username/src'.
  2. To install Java you need to get the sun-java5-jdk package from the Multiverse repository
  3. Download [[1]]
  4. Extract the contents of this archive under a directory in your home folder named swt (ie. /home/username/swt/)
  5. Open gnome-terminal and
  cd /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/  
  1. Execute the following commands:
  sudo cp ~/swt/libswt*.so i386/.
  sudo cp ~/swt/swt.jar ext/.  

That will get you ready for an install. For a compilation, enter the directory that you extracted the iriverter tarball to (such as '/home/username/src/iriverter-0.16'), and

  1. Execute:
  ./configure --with-swt=/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/swt.jar
  make
  sudo make install  

As an alternative to 'make install', you may use CheckInstall, which will allow you easier package management, and allows you to remove the software if something goes amiss. Iriverter will be available in your menu under Applications > Sound and Video > Iriverter You should NOT delete the directories of extracted files that you got originally! If you like, you can move them into usr/local/share/iriverter in order to keep things together.

  sudo mv ~/swt /usr/local/share/iriverter/swt
  sudo cp ~/src/iriverter-0.16 /usr/local/share/iriverter/src/iriverter-0.16  

Usage

A simple guide to using iRiverter is available on the iRiver America website: http://www.iriveramerica.com/support/video/iriverter.aspx

Possible Issues

If you open iriverter from the command line and get the error

libswt-pi-gtk-3138: libswt-pi-gtk-3138.so: cannot open shared object file: No such file or directory

...then you need to modify one more file:

gksudo gedit /usr/local/bin/iriverter

Look in this file for the text:

java -Djava.library.path=$LD_LIBRARY_PATH:${exec_prefix}/lib

And change it to:

java -Djava.library.path=/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386

See http://ubuntuforums.org/showthread.php?t=138904 for more help with dependency issues.

Setting up an iRiver H340 on Ubuntu 5.04 (Hoary)

This process should not be necessary on Ubuntu releases newer than 5.10 (Breezy). Before connecting the H340 via the USB2:

  • Go into the Control menu by pressing and holding the Navi button while on the root screen.
  • Click |>> (fast forward) until you get to the Control menu, then tap Navi.
  • Scroll down to 'USB Charging' and tap Navi again.
  • Select Off.

Connect the H340 via USB2. The player should notify that it has been connected, and the USB drive icon will appear on your desktop.


Contributors

Author: ShaneHandley

Credits

Adapted from these threads: http://www.linuxquestions.org/questions/showthread.php?p=1834624#post1834624 http://pawnee.wordpress.com/2006/02/25/iriverter-on-ubuntu-breezy/

Comments:

EmmetHikory: I have had success using USB Charging "On" with Breezy Badger. If the H340 is off, the Charging...Complete sequence will engage. If it is turned on while connected (or beforehand) with either the Navi button or the remote, it will report "Connected", and the USB drive will appear. Note that music indexing requires the iripdb package from Universe.