Subject: kern/14064: Diamond Rio800 is captured by ugen and not urio
To: None <gnats-bugs@gnats.netbsd.org>
From: None <strawberry@toth.org.uk>
List: netbsd-bugs
Date: 09/25/2001 12:49:01
>Number: 14064
>Category: kern
>Synopsis: Diamond Rio800 is captured by ugen and not urio
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 25 12:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Chris Lloyd
>Release: NetBSD-current (24/09/01)
>Organization:
>Environment:
NetBSD blade 1.5Y NetBSD 1.5Y (BLADE) #1: Tue Sep 25 11:48:42 BST 2001 chrissy@blade:/usr/src/netbsd/src/sys/arch/i386/compile/BLADE i386
>Description:
The Rio 800 isn't detected by the urio driver because it doesn't look
for it.
>How-To-Repeat:
Plug in the rio800 and watch it be attached to the ugen driver
>Fix:
diff -Nbru urio_orig.c urio.c
--- urio_orig.c Tue Sep 25 20:47:26 2001
+++ urio.c Tue Sep 25 11:48:35 2001
@@ -139,7 +139,9 @@
if ( ( uaa->vendor == USB_VENDOR_DIAMOND &&
uaa->product == USB_PRODUCT_DIAMOND_RIO500USB ) ||
( uaa->vendor == USB_VENDOR_DIAMOND2 &&
- uaa->product == USB_PRODUCT_DIAMOND2_RIO600USB )
+ uaa->product == USB_PRODUCT_DIAMOND2_RIO600USB ) ||
+ ( uaa->vendor == USB_VENDOR_DIAMOND2 &&
+ uaa->product == USB_PRODUCT_DIAMOND2_RIO800USB )
)
return (UMATCH_VENDOR_PRODUCT);
else
>Release-Note:
>Audit-Trail:
>Unformatted: