ALT Linux Bugzilla
– Attachment 436 Details for
Bug 4447
wacom driver does not work with kernel 2.6.x
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
wacom driver fix for 2.6.x
XFree86-4.3.0-wacom-usb-fix.patch (text/plain), 901 bytes, created by
Sergey Vlasov
on 2004-06-20 14:44:22 MSD
(
hide
)
Description:
wacom driver fix for 2.6.x
Filename:
MIME Type:
Creator:
Sergey Vlasov
Created:
2004-06-20 14:44:22 MSD
Size:
901 bytes
patch
obsolete
>--- XFree86-4.3.0/xc/programs/Xserver/hw/xfree86/input/wacom/xf86Wacom.c.wacom-usb-fix 2004-06-18 20:05:39 +0400 >+++ XFree86-4.3.0/xc/programs/Xserver/hw/xfree86/input/wacom/xf86Wacom.c 2004-06-20 13:49:30 +0400 >@@ -63,6 +63,15 @@ static const char identification[] = "$I > #define MSC_SERIAL 0x00 > #endif > >+/* 2.6.x module support */ >+#ifndef EV_SYN >+#define EV_SYN 0x00 >+#endif >+ >+#ifndef SYN_REPORT >+#define SYN_REPORT 0x00 >+#endif >+ > /* max number of input events to read in one read call */ > #define MAX_EVENTS 50 > >@@ -2302,7 +2311,8 @@ xf86WcmReadUSBInput(LocalDevicePtr > > /* ABS_MISC is the event terminator */ > if (!(event->type == EV_ABS && event->code == ABS_MISC) && >- !(event->type == EV_MSC && event->code == MSC_SERIAL)) { >+ !(event->type == EV_MSC && event->code == MSC_SERIAL) && >+ !(event->type == EV_SYN && event->code == SYN_REPORT)) { > continue; > } >
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 4447
: 436