NetBSD Problem Report #39147

From www@NetBSD.org  Mon Jul 14 16:22:27 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id E042E63B89E
	for <gnats-bugs@gnats.netbsd.org>; Mon, 14 Jul 2008 16:22:27 +0000 (UTC)
Message-Id: <20080714162227.79FB363B880@narn.NetBSD.org>
Date: Mon, 14 Jul 2008 16:22:27 +0000 (UTC)
From: jasper@pointless.net
Reply-To: jasper@pointless.net
To: gnats-bugs@NetBSD.org
Subject: The Metageek Wispy 2.4x is attached as a hid device, but the usreland software wants it as a ugen device
X-Send-Pr-Version: www-1.0

>Number:         39147
>Category:       kern
>Synopsis:       The Metageek Wispy 2.4x is attached as a hid device, but the usreland software wants it as a ugen device
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 14 16:25:00 +0000 2008
>Closed-Date:    Sat Sep 06 21:55:47 +0000 2008
>Last-Modified:  Sat Sep 06 21:55:47 +0000 2008
>Originator:     Jasper Wallace
>Release:        4.99.69
>Organization:
n/a
>Environment:
NetBSD lemonade 4.99.69 NetBSD 4.99.69 (LEMONADE) #5: Mon Jul  7 01:07:28 BST 2008  root@meep-meep:/usr/obj/sys/arch/i386/compile/LEMONADE i386
>Description:
The Metageek wispy 2.4x is attached as a uhid, it would be more useful as a ugen.
>How-To-Repeat:
Buy Metageek wispy 2.4x, pulg it in, realise that the userland tools need it as a ugen.
>Fix:

patch:

Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.502
diff -u -r1.502 usbdevs
--- usbdevs     8 Jul 2008 08:47:32 -0000       1.502
+++ usbdevs     14 Jul 2008 16:20:43 -0000
@@ -468,6 +468,7 @@
 vendor JABLOTRON       0x16d6  Jablotron
 vendor LINKSYS4                0x1737  Linksys
 vendor SENAO           0x1740  Senao
+vendor METAGEEK                0x1781  MetaGeek
 vendor AMIT            0x18c5  AMIT
 vendor QCOM            0x18e8  Qcom
 vendor LINKSYS3                0x1915  Linksys
@@ -1478,6 +1479,9 @@
 product MELCO G54HP            0x00d9  WLI-U2-G54HP
 product MELCO KG54L            0x00da  WLI-U2-KG54L

+/* MetaGeek products */
+product METAGEEK WISPY_24X     0x083f  Wi-Spy 2.4x
+
 /* Metricom products */
 product METRICOM RICOCHET_GS   0x0001  Ricochet GS

Index: usb_quirks.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usb_quirks.c,v
retrieving revision 1.59
diff -u -r1.59 usb_quirks.c
--- usb_quirks.c        28 Apr 2008 20:24:00 -0000      1.59
+++ usb_quirks.c        14 Jul 2008 16:21:02 -0000
@@ -60,6 +60,7 @@
  { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2,           ANY,   { UQ_HID_IGNORE }},
  { USB_VENDOR_TRIPPLITE2, USB_PRODUCT_TRIPPLITE2_UPS,      
        ANY,   { UQ_HID_IGNORE }},
+ { USB_VENDOR_METAGEEK, USB_PRODUCT_METAGEEK_WISPY_24X,            ANY,   { UQ_HID_IGNORE }},

  { USB_VENDOR_KYE, USB_PRODUCT_KYE_NICHE,          0x100, { UQ_NO_SET_PROTO}},
  { USB_VENDOR_INSIDEOUT, USB_PRODUCT_INSIDEOUT_EDGEPORT4,

>Release-Note:

>Audit-Trail:
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39147 CVS commit: src/sys/dev/usb
Date: Sat,  6 Sep 2008 21:34:49 +0000 (UTC)

 Module Name:	src
 Committed By:	rmind
 Date:		Sat Sep  6 21:34:49 UTC 2008

 Modified Files:
 	src/sys/dev/usb: usb_quirks.c usbdevs

 Log Message:
 PR/39147: Jasper Wallace: Support Metageek Wispy 2.4x as ugen device.


 To generate a diff of this commit:
 cvs rdiff -r1.60 -r1.61 src/sys/dev/usb/usb_quirks.c
 cvs rdiff -r1.506 -r1.507 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: rmind@NetBSD.org
State-Changed-When: Sat, 06 Sep 2008 21:55:47 +0000
State-Changed-Why:
Patch applied.  Thank you!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.