Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168447 - synaptics touchpad not detected on HP-500 (drivers/input/serio/i8042.c bug)
Summary: synaptics touchpad not detected on HP-500 (drivers/input/serio/i8042.c bug)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 12:36 UTC by Jakub Moc (RETIRED)
Modified: 2007-05-19 05:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg (dmesg,16.15 KB, text/plain)
2007-05-11 19:28 UTC, Jakub Moc (RETIRED)
Details
dmesg.noaux (dmesg.noaux,16.04 KB, text/plain)
2007-05-11 19:28 UTC, Jakub Moc (RETIRED)
Details
dmesg.patched (dmesg.patched,16.21 KB, text/plain)
2007-05-11 19:50 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2007-02-26 12:36:12 UTC
Before I completely forget about this... The checks in drivers/input/serio/i8042.c are broken with this particular piece of HW (see also the URL, exact same problem), on every kernel I tried, up to 2.6.20.1

<dmesg snip>
Failed to disable AUX port, but continuing anyway... Is this a SiS?
If AUX port is really absent please use the 'i8042.noaux' option.
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
</dmesg snip>

This "patch" works around the issue but of course cannot be submitted upstream like this :P

http://dev.gentoo.org/~masterdriverz/i8042.patch
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-02-26 17:48:45 UTC
Is it a SiS?

The code flow suggests that the noaux parameter should have the same effect. Does that approach work as well?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 17:51:41 UTC
(In reply to comment #1)
> Is it a SiS?

No, it's not. Intel 915GM/L.
 
> The code flow suggests that the noaux parameter should have the same effect.
> Does that approach work as well?

Doesn't work at all. 
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-02-26 18:10:07 UTC
Please attach full dmesg 3 times:
1. normal boot, no patch, no param
2. no patch, with noaux param
3. fix applied, no param
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-03-24 17:31:38 UTC
see comment #3
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-05-11 19:28:35 UTC
Created attachment 118897 [details]
dmesg
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-05-11 19:28:56 UTC
Created attachment 118898 [details]
dmesg.noaux
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-05-11 19:50:07 UTC
Created attachment 118899 [details]
dmesg.patched
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-05-11 19:50:36 UTC
Sorry, forgot about this bug. Reopen w/ requested info.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2007-05-17 01:41:02 UTC
Thanks for the logs. You do have an AUX port (so noaux won't help!), but for some reason during checking it fails, probably when checking the I8042_CTR_AUXDIS bit.

2.6.22-rc1 includes a fix here, which I'm reasonably confident will solve the problem. Can you test it?

Direct link to the patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=d2ada5597d33a9108acb2caf912f85cbc9caab1e

I checked that it applies cleanly to 2.6.21.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-05-17 05:17:21 UTC
(In reply to comment #9)
> 2.6.22-rc1 includes a fix here, which I'm reasonably confident will solve the
> problem. Can you test it?

Yup; much cleaner than the 't3h noes' one. *g*  Would appreciate if you could include it in next gentoo-sources-2.6.21 patchset.

FIXED for me.
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2007-05-19 05:31:53 UTC
Fixed in gentoo-sources-2.6.21-r1 (genpatches-2.6.21-2)