lkml.org 
[lkml]   [2004]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Troubleshooting PS/2 mouse in 2.6.5
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?

Thanks,

Derek


--
+---------------------------------------------------------------+
| Derek Chen-Becker |
| derek@chen-becker.org |
| http://chen-becker.org |
| |
| PGP key available on request or from public key servers |
| ID: 21A7FB53 |
| Fngrprnt: 209A 77CA A4F9 E716 E20C 6348 B657 77EC 21A7 FB53 |
+---------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:2.866 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site