Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165612 - gentoo-sources-2.6.20 - PS/2 mouse detected but doesn't work
Summary: gentoo-sources-2.6.20 - PS/2 mouse detected but doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 13:25 UTC by Thomas Bettler
Modified: 2007-03-07 15:12 UTC (History)
2 users (show)

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


Attachments
kernel/.config (.config,45.66 KB, text/plain)
2007-02-07 12:06 UTC, Thomas Bettler
Details
kernel.diff (diff,1.43 KB, patch)
2007-02-07 12:07 UTC, Thomas Bettler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bettler 2007-02-06 13:25:08 UTC
I just updated to gentoo-sources-2.6.20 and my ps/2 mouse refuses to work.
The device file doesn't recieve anything. However on bootup PS/2 mouse is identified correctly and udev manages it fine.
The bug has to be in gentoo-sources, as with older kernel versions (2.6.18) it works fine.
I noticed, there was a similar bug in 2.6.19 already as gentoo-sources applies a patch to drivers/Makefile, which causes the defect.

Reproducible: Always

Steps to Reproduce:
1. Install gentoo-sources on a box with PS/2 mouse.
2. Reboot
3. cat /dev/input/mouse0
Actual Results:  
mouse recognized, but not receiving anything

Expected Results:  
mouse should move

from dmesg:
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input3
Comment 1 Thomas Bettler 2007-02-06 13:26:33 UTC
Maybe related to bug #157493
Comment 2 Thomas Bettler 2007-02-06 13:28:16 UTC
Will probably have a look at it tomorrow night and see if I can provide a fix for it...
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-02-06 20:15:03 UTC
Please test gentoo-sources-2.6.19-r6
Also use /dev/input/mice rather than mouse0
Comment 4 Thomas Bettler 2007-02-06 21:56:13 UTC
Thank you for the hint, doesn't help.
Forgot to mention that in xorg.conf I specified /dev/input/mice.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-02-06 22:02:42 UTC
So gentoo-sources-2.6.19-r6 is also known broken?
Comment 6 Thomas Bettler 2007-02-07 12:03:27 UTC
Checked gentoo-sources-2.6.19-r6 which seems to work fine,
so does the vanilla-sources-2.6.20 kernel.

So I guess the bug is caused by some patch applied to gentoo-sources-2.6.20
Comment 7 Thomas Bettler 2007-02-07 12:06:09 UTC
Created attachment 109420 [details]
kernel/.config

For both kernel 2.6.20 (gentoo and vanilla) I used the same config,
can't think the bug is there, but in case it might matter I posted the config here
Comment 8 Thomas Bettler 2007-02-07 12:07:31 UTC
Created attachment 109422 [details, diff]
kernel.diff

and here the diff for both kernels, only containing some FB relevant changes.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2007-02-07 14:24:24 UTC
oops, accidentally readded a bad drivers/Makefile hunk in the speakup patch for 2.6.20
Comment 10 Thomas Bettler 2007-02-07 18:31:35 UTC
I guess that was it.
Reverting drivers/Makefile with 4400_speakup-20070204.patch solved this issue.

Thank you for the hint. Works for me now, I leave it up to you to fix & close this bug.
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2007-03-07 15:12:24 UTC
Fixed in gentoo-sources-2.6.20-r1