rio.txt 4.3 KB
Newer Older
1 2 3 4
============
Diamonds Rio
============

L
Linus Torvalds 已提交
5
Copyright (C) 1999, 2000 Bruce Tenison
6

L
Linus Torvalds 已提交
7
Portions Copyright (C) 1999, 2000 David Nelson
8

L
Linus Torvalds 已提交
9 10 11 12 13
Thanks to David Nelson for guidance and the usage of the scanner.txt
and scanner.c files to model our driver and this informative file.

Mar. 2, 2000

14 15
Changes
=======
L
Linus Torvalds 已提交
16 17 18 19

- Initial Revision


20 21
Overview
========
L
Linus Torvalds 已提交
22 23

This README will address issues regarding how to configure the kernel
24
to access a RIO 500 mp3 player.
L
Linus Torvalds 已提交
25 26
Before I explain how to use this to access the Rio500 please be warned:

27
.. warning::
L
Linus Torvalds 已提交
28

29 30 31
   Please note that this software is still under development.  The authors
   are in no way responsible for any damage that may occur, no matter how
   inconsequential.
L
Linus Torvalds 已提交
32 33

It seems that the Rio has a problem when sending .mp3 with low batteries.
M
Matt LaPlante 已提交
34
I suggest when the batteries are low and you want to transfer stuff that you
L
Linus Torvalds 已提交
35 36
replace it with a fresh one. In my case, what happened is I lost two 16kb
blocks (they are no longer usable to store information to it). But I don't
37
know if that's normal or not; it could simply be a problem with the flash
L
Linus Torvalds 已提交
38 39
memory.

40 41 42 43 44 45
In an extreme case, I left my Rio playing overnight and the batteries wore
down to nothing and appear to have corrupted the flash memory. My RIO
needed to be replaced as a result.  Diamond tech support is aware of the
problem.  Do NOT allow your batteries to wear down to nothing before
changing them.  It appears RIO 500 firmware does not handle low battery
power well at all.
L
Linus Torvalds 已提交
46

47 48 49 50
On systems with OHCI controllers, the kernel OHCI code appears to have
power on problems with some chipsets.  If you are having problems
connecting to your RIO 500, try turning it on first and then plugging it
into the USB cable.
L
Linus Torvalds 已提交
51

52 53
Contact Information
-------------------
L
Linus Torvalds 已提交
54 55

   The main page for the project is hosted at sourceforge.net in the following
R
Randy Dunlap 已提交
56 57 58
   URL: <http://rio500.sourceforge.net>. You can also go to the project's
   sourceforge home page at: <http://sourceforge.net/projects/rio500/>.
   There is also a mailing list: rio500-users@lists.sourceforge.net
L
Linus Torvalds 已提交
59

60
Authors
L
Linus Torvalds 已提交
61 62
-------

63
Most of the code was written by Cesar Miquel <miquel@df.uba.ar>. Keith
L
Linus Torvalds 已提交
64 65 66 67
Clayton <kclayton@jps.net> is incharge of the PPC port and making sure
things work there. Bruce Tenison <btenison@dibbs.net> is adding support
for .fon files and also does testing. The program will mostly sure be
re-written and Pete Ikusz along with the rest will re-design it. I would
68
also like to thank Tri Nguyen <tmn_3022000@hotmail.com> who provided use
L
Linus Torvalds 已提交
69 70
with some important information regarding the communication with the Rio.

71
Additional Information and userspace tools
L
Linus Torvalds 已提交
72

73
	http://rio500.sourceforge.net/
L
Linus Torvalds 已提交
74 75


76 77
Requirements
============
L
Linus Torvalds 已提交
78 79 80 81 82 83 84 85 86 87 88 89 90

A host with a USB port.  Ideally, either a UHCI (Intel) or OHCI
(Compaq and others) hardware port should work.

A Linux development kernel (2.3.x) with USB support enabled or a
backported version to linux-2.2.x.  See http://www.linux-usb.org for
more information on accomplishing this.

A Linux kernel with RIO 500 support enabled.

'lspci' which is only needed to determine the type of USB hardware
available in your machine.

91
Configuration
L
Linus Torvalds 已提交
92 93 94

Using `lspci -v`, determine the type of USB hardware available.

95
  If you see something like::
L
Linus Torvalds 已提交
96 97 98 99 100 101 102

    USB Controller: ......
    Flags: .....
    I/O ports at ....

  Then you have a UHCI based controller.

103
  If you see something like::
L
Linus Torvalds 已提交
104 105 106 107 108 109 110 111 112 113 114 115 116 117

     USB Controller: .....
     Flags: ....
     Memory at .....

  Then you have a OHCI based controller.

Using `make menuconfig` or your preferred method for configuring the
kernel, select 'Support for USB', 'OHCI/UHCI' depending on your
hardware (determined from the steps above), 'USB Diamond Rio500 support', and
'Preliminary USB device filesystem'.  Compile and install the modules
(you may need to execute `depmod -a` to update the module
dependencies).

118 119 120
Add a device for the USB rio500::

  mknod /dev/usb/rio500 c 180 64
L
Linus Torvalds 已提交
121 122 123 124 125 126 127

Set appropriate permissions for /dev/usb/rio500 (don't forget about
group and world permissions).  Both read and write permissions are
required for proper operation.

Load the appropriate modules (if compiled as modules):

128 129
  OHCI::

L
Linus Torvalds 已提交
130 131 132 133
    modprobe usbcore
    modprobe usb-ohci
    modprobe rio500

134 135
  UHCI::

L
Linus Torvalds 已提交
136 137 138 139 140 141 142
    modprobe usbcore
    modprobe usb-uhci  (or uhci)
    modprobe rio500

That's it.  The Rio500 Utils at: http://rio500.sourceforge.net should
be able to access the rio500.

143 144
Bugs
====
L
Linus Torvalds 已提交
145 146 147 148 149

If you encounter any problems feel free to drop me an email.

Bruce Tenison
btenison@dibbs.net