Re: Troubleshooting PS/2 mouse in 2.6.5

Derek Chen-Becker
2004-04-27T14:07:34Z

Derek Chen-Becker wrote:
> Kim Holviala wrote:
>
>> On Monday 26 April 2004 20:53, Derek Chen-Becker wrote:
>>
>>
>>> I'm upgrading my workstation from 2.4.22 to 2.6.5 and everything is
>>> working great except for /dev/input/mice: it doesn't appear to be
>>> producing anything, even if I cat it. I've checked and both dmesg and
>>> /proc/bus/input/devices show the mouse handler loaded and show the mouse
>>> as recognized.
>>
>>
>>
>> What do the system logs say? I suggest you build psmouse into a module
>> so that you can modprobe/rmmod it to test stuff without rebooting.
>>

OK, this is weird. I changed psmouse to be a module and now it works (I
also made gameport a module). Here's /proc/bus/input/devices from when
it *didn't* work:

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7

And here's from when it *does* work:

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

The only difference I can see is the ordering. Does the mouse handler
have to be initialized after the keyboard handler?