diff mbox series

[PATCHv2,4/4] USB: rio500: update Documentation

Message ID 20190507073837.19234-4-oneukum@suse.com (mailing list archive)
State Superseded
Headers show
Series [PATCHv2,1/4] rio500: refuse more than one device at a time | expand

Commit Message

Oliver Neukum May 7, 2019, 7:38 a.m. UTC
Added the newly added limit and updated the text a bit

Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 Documentation/usb/rio.txt | 54 +++++++++++++----------------------------------
 1 file changed, 15 insertions(+), 39 deletions(-)

Comments

Sergei Shtylyov May 7, 2019, 8:51 a.m. UTC | #1
On 07.05.2019 10:38, Oliver Neukum wrote:

> Added the newly added limit and updated the text a bit
> 
> Signed-off-by: Oliver Neukum <oneukum@suse.com>
> ---
>   Documentation/usb/rio.txt | 54 +++++++++++++----------------------------------
>   1 file changed, 15 insertions(+), 39 deletions(-)
> 
> diff --git a/Documentation/usb/rio.txt b/Documentation/usb/rio.txt
> index ca9adcf56355..63adb030e0e9 100644
> --- a/Documentation/usb/rio.txt
> +++ b/Documentation/usb/rio.txt
> @@ -76,54 +76,25 @@ Additional Information and userspace tools
[...]
> -Add a device for the USB rio500::
> +Udev should automatically create a device node as soon as plug in your device.
> +If that fails, you can manually add a device for the USB rio500::
>   
>     mknod /dev/usb/rio500 c 180 64
>   
> -Set appropriate permissions for /dev/usb/rio500 (don't forget about
> +In that case,

    Strange formatting...

> +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):
> +Load the appropriate modules (if ddcompiled as modules):

    ddcompiled? :-)

[...]

MBR, Sergei
diff mbox series

Patch

diff --git a/Documentation/usb/rio.txt b/Documentation/usb/rio.txt
index ca9adcf56355..63adb030e0e9 100644
--- a/Documentation/usb/rio.txt
+++ b/Documentation/usb/rio.txt
@@ -76,54 +76,25 @@  Additional Information and userspace tools
 Requirements
 ============
 
-A host with a USB port.  Ideally, either a UHCI (Intel) or OHCI
-(Compaq and others) hardware port should work.
+A host with a USB port running a Linux kernel with RIO 500 support enabled.
 
-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.
+The driver is a module called rio500, which should be automatically loaded
+as you plug in your device.
+If that fails you can manually load it with
 
-A Linux kernel with RIO 500 support enabled.
+  modprobe rio500
 
-'lspci' which is only needed to determine the type of USB hardware
-available in your machine.
-
-Configuration
-
-Using `lspci -v`, determine the type of USB hardware available.
-
-  If you see something like::
-
-    USB Controller: ......
-    Flags: .....
-    I/O ports at ....
-
-  Then you have a UHCI based controller.
-
-  If you see something like::
-
-     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).
-
-Add a device for the USB rio500::
+Udev should automatically create a device node as soon as plug in your device.
+If that fails, you can manually add a device for the USB rio500::
 
   mknod /dev/usb/rio500 c 180 64
 
-Set appropriate permissions for /dev/usb/rio500 (don't forget about
+In that case,
+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):
+Load the appropriate modules (if ddcompiled as modules):
 
   OHCI::
 
@@ -140,6 +111,11 @@  Load the appropriate modules (if compiled as modules):
 That's it.  The Rio500 Utils at: http://rio500.sourceforge.net should
 be able to access the rio500.
 
+Limits
+======
+
+You can use only a single rio500 device at a time with your computer.
+
 Bugs
 ====