usb/116057: [patch] Update quirks for the MetaGeek Wi-Spy
Henrik Brix Andersen
henrik at brixandersen.dk
Mon Sep 3 10:00:12 PDT 2007
>Number: 116057
>Category: usb
>Synopsis: [patch] Update quirks for the MetaGeek Wi-Spy
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 03 17:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Henrik Brix Andersen
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD lothlorien.brixandersen.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #68: Mon Sep 3 17:47:37 CEST 2007 root at lothlorien.brixandersen.dk:/usr/obj/usr/src/sys/LOTHLORIEN i386
>Description:
This patch updates the quirks for the MetaGeek Wi-Spy 1A, 1B and 2.4x.
The 1A and 1B are practically identical, although the 1A has a bad
VID/PID pair in its firmware. The 2.4x is a completely new product,
but still requires the UQ_KBD_IGNORE quirk.
>How-To-Repeat:
>Fix:
--- wispy.diff begins here ---
--- sys/dev/usb/usbdevs.orig 2007-09-03 17:25:54.000000000 +0200
+++ sys/dev/usb/usbdevs 2007-09-03 17:33:17.000000000 +0200
@@ -1062,7 +1062,7 @@ product CYBERTAN TG54USB 0x1666 TG54USB
/* Cypress Semiconductor products */
product CYPRESS MOUSE 0x0001 mouse
product CYPRESS THERMO 0x0002 thermometer
-product CYPRESS WISPY 0x0bad MetaGeek Wi-Spy
+product CYPRESS WISPY1A 0x0bad MetaGeek Wi-Spy
product CYPRESS KBDHUB 0x0101 Keyboard/Hub
product CYPRESS FMRADIO 0x1002 FM Radio
product CYPRESS USBRS232 0x5500 USB-RS232 Interface
@@ -1599,7 +1599,8 @@ product MELCO G54HP 0x00d9 WLI-U2-G54HP
product MELCO KG54L 0x00da WLI-U2-KG54L
/* MetaGeek products */
-product METAGEEK WISPYX 0x083e MetaGeek Wi-Spy 2.4x
+product METAGEEK WISPY1B 0x083e MetaGeek Wi-Spy
+product METAGEEK WISPY24X 0x083f MetaGeek Wi-Spy 2.4x
/* Metricom products */
product METRICOM RICOCHET_GS 0x0001 Ricochet GS
--- sys/dev/usb/usb_quirks.c.orig 2007-09-03 17:31:12.000000000 +0200
+++ sys/dev/usb/usb_quirks.c 2007-09-03 17:31:43.000000000 +0200
@@ -106,9 +106,11 @@ static const struct usbd_quirk_entry {
ANY, { UQ_HID_IGNORE }},
/* Devices which should be ignored by both ukbd and uhid */
- { USB_VENDOR_CYPRESS, USB_PRODUCT_CYPRESS_WISPY,
+ { USB_VENDOR_CYPRESS, USB_PRODUCT_CYPRESS_WISPY1A,
ANY, { UQ_KBD_IGNORE }},
- { USB_VENDOR_METAGEEK, USB_PRODUCT_METAGEEK_WISPYX,
+ { USB_VENDOR_METAGEEK, USB_PRODUCT_METAGEEK_WISPY1B,
+ ANY, { UQ_KBD_IGNORE }},
+ { USB_VENDOR_METAGEEK, USB_PRODUCT_METAGEEK_WISPY24X,
ANY, { UQ_KBD_IGNORE }},
{ 0, 0, 0, { 0 } }
};
--- wispy.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-usb
mailing list