FreeBSD Bugzilla – Attachment 83023 Details for
Bug 118670
[ums] [patch] Razer Copperhead Laser Mouse shows up as keyboard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-1.diff
patch-1.diff (text/plain), 765 bytes, created by
Jase Thew
on 2007-12-28 17:39:53 UTC
(
hide
)
Description:
patch-1.diff
Filename:
MIME Type:
Creator:
Jase Thew
Created:
2007-12-28 17:39:53 UTC
Size:
765 bytes
patch
obsolete
>--- sys/dev/usb/ums.c.orig 2007-12-28 17:07:33.000000000 +0000 >+++ sys/dev/usb/ums.c 2007-12-28 17:09:19.000000000 +0000 >@@ -198,7 +198,8 @@ > return (UMATCH_NONE); > > if (id->bInterfaceClass == UICLASS_HID && >- id->bInterfaceSubClass == UISUBCLASS_BOOT && >+ (id->bInterfaceSubClass == UISUBCLASS_NONE || >+ id->bInterfaceSubClass == UISUBCLASS_BOOT) && > id->bInterfaceProtocol == UIPROTO_MOUSE) > ret = UMATCH_IFACECLASS; > else >--- sys/dev/usb/usb.h.orig 2007-12-28 17:09:26.000000000 +0000 >+++ sys/dev/usb/usb.h 2007-12-28 17:10:05.000000000 +0000 >@@ -433,6 +433,7 @@ > #define UIPROTO_CDC_AT 1 > > #define UICLASS_HID 0x03 >+#define UISUBCLASS_NONE 0 > #define UISUBCLASS_BOOT 1 > #define UIPROTO_BOOT_KEYBOARD 1 > #define UIPROTO_MOUSE 2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 118670
: 83023