linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:32:09 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info
Getting Your Diamond Rio to Work in Linux
salmon@bluemarble.net

I bought a Diamond Rio about a year ago during a rebate promotion. For those of you who don't know, you can take mp3's that you have stored on your hard drive and upload them onto this nifty little device, which is about half the size of a walkman or smaller. Of course, the software that comes with it to moderate this process doesn't run on Linux.

That brings us to the point of this NHF. Believe it or not, getting the Rio to work in Linux is easier then the same process in Windows. I'm serious. If you don't believe me then just follow along. Before I start with though, let me relay some information. According to the software's homepage, you need to be root to compile and run this thing. My own experience tells me that if you compile it as root, then you can run it as a normal user. Also, you might think that you'll need to do something with your kernel. This is not the case. Finally, when I refer to "rio," then I'm refering to the software. When I refer to "Rio," then I'm talking about actual device.

Now then, let's get started. Of course, the first thing you'll need is the software. Click here to download it. You can also check out the homepage at http://www.world.co.uk/sba/rio.htm.

Now that you have the source, you'll need to unpack and compile it.

    tar -xvf rio007.tar
    cd rio107
    su
    (and enter the root password when prompted)
    make
That should create a file named "rio" that we want to copy to a more suitable directory. I recommend putting it in /usr/local/bin/, but really anywhere in your path is fine.
    cp rio /usr/local/bin/
    exit
    (to exit suid)
That entire process, including the download, will take you less than five minutes. Once you're done, the software should be installed. After you've finished, make sure that your Rio is connected to your Linux box, because now we're going to get the two to talk to each other. . .

My guess is that you already have some music in your Rio. To list those songs, issue this command (if your Rio is empty, then you will just get some information about its memory):

    rio -d
    Note: You might have to specify a port address. If rio doesn't recognize your device, run it with the -p option followed by one of the following addresses: 0x378, 0x3BC, or 0x278 (eg. rio -p 03xBC -d). One of those should work.
If you would like to delete one of the files on your Rio, issue:
    rio -z track_name.mp3
    Where track_name.mp3 is the name (not the number) of the track you want to delete.
If you would like to delete all of the files on your Rio, issue:
    rio -za
Of course, the whole thing is worthless if you can't acutally put any songs on it. To do that, issue
    rio -v -u file_name_1.mp3 file_name_2.mp3
    Where file_name_1.mp3 and file_name_2.mp3 are the files that you want to put on the Rio.
There are a myriad of other options for running rio, and you can check them out for yourself by running it without any command line switches. If your vertical screen space is limited, then you might want to pipe the command through more.
    rio | more
So there you have it. Now that you can operate your Rio using Linux, that's one less poor excuse to use Windows. If you would like to find out more information about finding, playing, and sharing mp3's, then I recommend you check out the NHF on mp3's here.

        -B



We would like to hear your feedback.
[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif