Bug 16420 - synaptics touchpad not detected
Summary: synaptics touchpad not detected
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-20 00:10 UTC by fordfrog
Modified: 2010-07-23 00:38 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.34
Subsystem:
Regression: No
Bisected commit-id:


Attachments
patch that makes SYN_CAP_VALID pass on the touchpad (636 bytes, patch)
2010-07-20 00:10 UTC, fordfrog
Details | Diff

Description fordfrog 2010-07-20 00:10:51 UTC
Created attachment 27162 [details]
patch that makes SYN_CAP_VALID pass on the touchpad

i have acer aspire 8943g laptop. kernel detects the synaptics touchpad as regular mouse because it fails SYN_CAP_VALID test. here is kernel output when detection fails:

[    3.003290] Unable to query Synaptics hardware.
[    3.832899] input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input8

"Unable to query Synaptics hardware." is there because SYN_CAP_VALID fails. when i modified the code so it does not fail in SYN_CAP_VALID test, the touchpad is detected correctly and it even works as it should, at least i did not notice any issues. here is output when touchpad is detected:

[    7.222967] Synaptics Touchpad, model: 1, fw: 7.5, id: 0x2e0b1, caps: 0xe00073/0x24140d/0xa0600
[    7.270455] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input8

the problem is SYN_CAP_VALID expects to fit mask 0x004700 but 0xe00073 does not fit the mask.

some more info can be found at these links:
http://en.gentoo-wiki.com/wiki/Acer_Aspire_8943G#Synaptics_Touchpad
http://bugs.gentoo.org/show_bug.cgi?id=328527

i'm also attaching patch that makes SYN_CAP_VALID pass.
Comment 1 Andrew Morton 2010-07-22 23:18:12 UTC
Please don't send patches via bugzilla - it causes lots of problems with
our usual patch management and review processes.

Please send this patch via email as per Documentation/SubmittingPatches. 
Suitable recipients may be found via scripts/get_maintainer.pl.  Please
also cc myself on the email.

Thanks.
Comment 2 Dmitry Torokhov 2010-07-23 00:38:33 UTC
The proper fix is in mainline, so resolving.

Note You need to log in before you can comment on or make changes to this bug.