Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240577 Details for
Bug 328527
sys-kernel/gentoo-sources-2.6.34-r2 does not correctly identify synaptics touchpad
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
synaptics patch for stable kernel
synaptics-2.6.32-stable.patch (text/plain), 1.45 KB, created by
Mike Pagano
on 2010-07-29 13:55:52 UTC
(
hide
)
Description:
synaptics patch for stable kernel
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2010-07-29 13:55:52 UTC
Size:
1.45 KB
patch
obsolete
>--- a/drivers/input/mouse/synaptics.c 2010-07-29 09:14:58.000000000 -0400 >+++ b/drivers/input/mouse/synaptics.c 2010-07-29 09:16:34.000000000 -0400 >@@ -136,8 +136,14 @@ static int synaptics_capability(struct p > return -1; > priv->capabilities = (cap[0] << 16) | (cap[1] << 8) | cap[2]; > priv->ext_cap = 0; >- if (!SYN_CAP_VALID(priv->capabilities)) >+ >+ /* >+ * Older firmwares had submodel ID fixed to 0x47 >+ */ >+ if (SYN_ID_FULL(priv->identity) < 0x705 && >+ SYN_CAP_SUBMODEL_ID(priv->capabilities) != 0x47) { > return -1; >+ } > > /* > * Unless capExtended is set the rest of the flags should be ignored >--- a/drivers/input/mouse/synaptics.h 2010-07-29 09:15:00.000000000 -0400 >+++ b/drivers/input/mouse/synaptics.h 2010-07-29 09:17:10.000000000 -0400 >@@ -45,7 +45,7 @@ > #define SYN_CAP_FOUR_BUTTON(c) ((c) & (1 << 3)) > #define SYN_CAP_MULTIFINGER(c) ((c) & (1 << 1)) > #define SYN_CAP_PALMDETECT(c) ((c) & (1 << 0)) >-#define SYN_CAP_VALID(c) ((((c) & 0x00ff00) >> 8) == 0x47) >+#define SYN_CAP_SUBMODEL_ID(c) (((c) & 0x00ff00) >> 8) > #define SYN_EXT_CAP_REQUESTS(c) (((c) & 0x700000) >> 20) > #define SYN_CAP_MULTI_BUTTON_NO(ec) (((ec) & 0x00f000) >> 12) > >@@ -61,6 +61,7 @@ > #define SYN_ID_MODEL(i) (((i) >> 4) & 0x0f) > #define SYN_ID_MAJOR(i) ((i) & 0x0f) > #define SYN_ID_MINOR(i) (((i) >> 16) & 0xff) >+#define SYN_ID_FULL(i) ((SYN_ID_MAJOR(i) << 8) | SYN_ID_MINOR(i)) > #define SYN_ID_IS_SYNAPTICS(i) ((((i) >> 8) & 0xff) == 0x47) > > /* synaptics special commands */
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 328527
:
239101
|
239103
|
239199
|
239657
|
240387
| 240577