FreeBSD Bugzilla – Attachment 82427 Details for
Bug 117911
[ums] [request] Mouse Gembird MUSWC not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ums.c.diff
ums.c.diff (text/plain), 741 bytes, created by
admin
on 2008-06-17 10:45:56 UTC
(
hide
)
Description:
ums.c.diff
Filename:
MIME Type:
Creator:
admin
Created:
2008-06-17 10:45:56 UTC
Size:
741 bytes
patch
obsolete
>--- dev/usb/ums.c.orig 2008-06-17 13:38:49.000000000 +0400 >+++ dev/usb/ums.c 2008-06-17 13:42:45.000000000 +0400 >@@ -359,6 +359,21 @@ > hid_input, &sc->sc_loc_btn[i-1], 0); > > sc->sc_isize = hid_report_size(desc, size, hid_input, &sc->sc_iid); >+ >+ // support for Gembirg MUSWC Wireless Optical Mouse >+ if (uaa->vendor == 0x046e && >+ uaa->product == 0x52e6) { >+ sc->nbuttons = 3; >+ sc->sc_isize = 5; >+ sc->sc_iid = 2; >+ sc->sc_loc_x.pos = 8; >+ sc->sc_loc_y.pos = 16; >+ sc->sc_loc_z.pos = 24; >+ sc->sc_loc_btn[0].pos = 0; >+ sc->sc_loc_btn[1].pos = 1; >+ sc->sc_loc_btn[2].pos = 2; >+ } >+ > sc->sc_ibuf = malloc(sc->sc_isize, M_USB, M_NOWAIT); > if (!sc->sc_ibuf) { > printf("%s: no memory\n", device_get_nameunit(sc->sc_dev));
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 117911
: 82427 |
82428