Skip to contentSkip to conversation

PS/2 Mouse does no longer work with kernel 2.6 on a laptop

DISCUSSION Emmeran Seehuber 5 participants 16 messages Feb 11, 2004 – Feb 17, 2004

lore
Share & tools
lore
#0 lore raw

Hello everybody!

I'm trying to switch my laptop from kernel 2.4 to kernel 2.6.2. Everything seems to work correctly, only my PS/2 mouse doesn't.

My laptop has a touchpad and a PS/2 port. On the PS/2 port I usually attach a Logitech trackball. With kernel 2.4 I was able to use touchpad and trackball at the same time. With kernel 2.6 the trackball on the PS/2 port seems to be recognized, but it doesnt work :( Neither in X11 nor with gpm on the console I get an input from the trackball, i.e. I cant move the pointer nor click.

The kernel gives me the following information about the found input devices:

i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
input: PS2++ Logitech Mouse on isa0060/serio2
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
input: PS/2 Generic Mouse on isa0060/serio4
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0

Also in /dev/input exists these devices:

crw-r--r--    1 root     root      13,  63 1970-01-01 00:00 mice
crw-r--r--    1 root     root      13,  32 1970-01-01 00:00 mouse0
crw-r--r--    1 root     root      13,  33 1970-01-01 00:00 mouse1

Other non-PS/2 devices work, e.g. when I attach an USB mouse, that mouse works.

What could be wrong with my configuration?

cu,
Emmy
P.S.: Please CC me, since I'm not subscribed.

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0646 (rev 01) 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device 0962 (rev 14)
00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS] FireWire Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] 56k Winmodem (Smart Link HAMR5600 compatible) (rev a0) 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0) 00:03.0 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS]: Unknown device 7002
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10) 00:0c.0 CardBus bridge: ENE Technology Inc: Unknown device 1410
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4c66 (rev 01)

#1 lore raw
Quoted 4 lines · Emmeran Seehuber

Hello everybody!

I'm trying to switch my laptop from kernel 2.4 to kernel 2.6.2. Everything seems to work correctly, only my PS/2 mouse doesn't.

Seconded. After update from 2.6.0 to 2.6.2 both the built-in touchpad and stick stopped working. XFree86 complained about "no such device" (or something similiar) when accessing /dev/psaux. /dev/input/mice is also configured but seems not to work.

Hardware is a Dell Inspiron 8000.

Regards,
Dominik

Signature · 2 lines
disbar, n:
	As distinguished from some other bar.
#2 lore raw
Followup to:  <[email protected]>
By author:    Dominik Kubla <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 7 lines · Emmeran Seehuber
Quoted 4 lines

Hello everybody!

I'm trying to switch my laptop from kernel 2.4 to kernel 2.6.2. Everything seems to work correctly, only my PS/2 mouse doesn't.

Quoted 7 lines

Seconded. After update from 2.6.0 to 2.6.2 both the built-in touchpad and stick stopped working. XFree86 complained about "no such device" (or something similiar) when accessing /dev/psaux. /dev/input/mice is also configured but seems not to work.

Hardware is a Dell Inspiron 8000.

I've seen the same on a Transmeta development platform, which is designed to "look like" a laptop. Makes me wonder if there is some interaction with ACPI.

-hpa

Signature · 4 lines
PGP public key available - finger [email protected]
Key fingerprint: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
"The earth is but one country, and mankind its citizens."  --  Bahá'u'lláh
Just Say No to Morden * The Shadows were defeated -- Babylon 5 is renewed!!
#3 lore raw
In reply to Dominik Kubla
Quoted 11 lines · Dominik Kubla
Quoted 4 lines · Emmeran Seehuber

Hello everybody!

I'm trying to switch my laptop from kernel 2.4 to kernel 2.6.2. Everything seems to work correctly, only my PS/2 mouse doesn't.

Seconded. After update from 2.6.0 to 2.6.2 both the built-in touchpad and stick stopped working. XFree86 complained about "no such device" (or something similiar) when accessing /dev/psaux. /dev/input/mice is also configured but seems not to work.

Quoted 4 lines

Hardware is a Dell Inspiron 8000.

Regards,
Dominik

Do you have an active multiplexing controller and does passing i8042.nomux option help?

Signature · 1 line
Dmitry
#4 lore raw
Quoted 3 lines · Dmitry Torokhov

Do you have an active multiplexing controller and does passing i8042.nomux option help?

The Debian maintainer released a new package today with the following change log entry:

* Reenabled INPUT_MOUSEDEV_PSAUX_ENABLE (closes: #232267, #232269).

Now everything works again.

So it looks like this might have been a SNAFU... Unless the other guy experiencing problems is not using the Debian kernel packages.

Sorry for not passing along that i was using a pre-compiled binary.

Regards,
Dominik

Signature · 3 lines
BOFH excuse #203:

Write-only-memory subsystem too slow for this machine. Contact your local dealer.
#5 lore raw
In reply to Dmitry Torokhov

On Friday 13 February 2004 07:23, Dmitry Torokhov wrote:
[...]

Quoted 3 lines

Do you have an active multiplexing controller and does passing i8042.nomux option help?

It seems so. At least passing this kernel option makes my PS/2 trackball work again :)

Thank you!

cu,
Emmy

#6 lore raw
Quoted 5 lines · Emmeran Seehuber

On Friday 13 February 2004 07:23, Dmitry Torokhov wrote:
[...]

Quoted 3 lines

Do you have an active multiplexing controller and does passing i8042.nomux option help?

Quoted 8 lines

It seems so. At least passing this kernel option makes my PS/2 trackball work again :)

Thank you!

cu,
Emmy

Could you please #define DEBUG in drivers/input/serio/i8042.c and post your dmesg? Also, what kind of PC is that (manufacturer/model)?

Thank you.

--
Dmitry

#7 lore raw

On Saturday 14 February 2004 17:05, Dmitry Torokhov wrote:
[...]

Quoted 2 lines

Could you please #define DEBUG in drivers/input/serio/i8042.c and post your dmesg? Also, what kind of PC is that (manufacturer/model)?

I've attached the output of dmesg with the i8042.nomux option and without. The laptop is a Xeron Sonic Power Plus (Similar to this one:
http://www.xeron.com/index.php4?id=1255 -- sorry, there seems to be no english translation of this page). Xeron puts together laptops in exact the configuration you like. Only the motherboards are the same. But I don`t know the motherboard vendor/type.

cu,
Emmy

#8 lore raw
Quoted 11 lines · Emmeran Seehuber

On Saturday 14 February 2004 17:05, Dmitry Torokhov wrote:
[...]

Quoted 2 lines

Could you please #define DEBUG in drivers/input/serio/i8042.c and post your dmesg? Also, what kind of PC is that (manufacturer/model)?

I've attached the output of dmesg with the i8042.nomux option and without. The laptop is a Xeron Sonic Power Plus (Similar to this one:
http://www.xeron.com/index.php4?id=1255 -- sorry, there seems to be no english translation of this page). Xeron puts together laptops in exact the configuration you like. Only the motherboards are the same. But I don`t know the motherboard vendor/type.

I see that the kernel correctly identifies both devices so I suspect there could be a problem with your setup. Could you also post your XF86Config and tell me the the options you are passing to GPM, please?

Signature · 1 line
Dmitry
#9 lore raw

On Sunday 15 February 2004 15:28, Dmitry Torokhov wrote:
[...]

Quoted 4 lines

I see that the kernel correctly identifies both devices so I suspect there could be a problem with your setup. Could you also post your XF86Config and tell me the the options you are passing to GPM, please?

I've attached both the XF86Config and the gpm config. I don't use gpm normaly. I only tried to figure out the correct config for my mouse device with gpm. I also tried some things in the XF86Config. Both, my original XF86Config and the one I'm currently using are attached.

cu,
Emmy

#10 lore raw
In reply to Dmitry Torokhov

On Sunday 15 February 2004 15:28, Dmitry Torokhov wrote:
[...]

Quoted 4 lines

I see that the kernel correctly identifies both devices so I suspect there could be a problem with your setup. Could you also post your XF86Config and tell me the the options you are passing to GPM, please?

What I forgot to mention: cat /dev/input/mouse1 gives me some garbage as soon as I move on the trackpad. But cat /dev/input/mouse0 gives me nothing, so I don't think that this is a userspace configuration problem. The kernel seems to get no input from the PS/2 mouse at all.

cu,
Emmy

#11 lore raw
Quoted 10 lines · Emmeran Seehuber

On Sunday 15 February 2004 15:28, Dmitry Torokhov wrote:
[...]

Quoted 4 lines

I see that the kernel correctly identifies both devices so I suspect there could be a problem with your setup. Could you also post your XF86Config and tell me the the options you are passing to GPM, please?

What I forgot to mention: cat /dev/input/mouse1 gives me some garbage as soon as I move on the trackpad. But cat /dev/input/mouse0 gives me nothing, so I don't think that this is a userspace configuration problem. The kernel seems to get no input from the PS/2 mouse at all.

Dmitry, this looks like either MUX or PassThrough problem.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR
#12 lore raw
Quoted 8 lines · Vojtech Pavlik
Quoted 6 lines · Emmeran Seehuber

On Sunday 15 February 2004 15:28, Dmitry Torokhov wrote:
[...]

Quoted 4 lines

I see that the kernel correctly identifies both devices so I suspect there could be a problem with your setup. Could you also post your XF86Config and tell me the the options you are passing to GPM, please?

Quoted 7 lines
Quoted 4 lines

What I forgot to mention: cat /dev/input/mouse1 gives me some garbage as soon as I move on the trackpad. But cat /dev/input/mouse0 gives me nothing, so I don't think that this is a userspace configuration problem. The kernel seems to get no input from the PS/2 mouse at all.

Dmitry, this looks like either MUX or PassThrough problem.

It can't be Pass-through problem as the touchpad is not identified as Synaptics, so it must be MUX...

Emmeran, what happens if you "cat /dev/input/mice" and try working the touchpad and the trackball? Do you see anything when you use the touchpad? If not, please #define DEBUG in i8042.c again and after reboot try using touchpad first, then type something (so we'll see the point when you stopped using the touchpad), move trackball and type something again and post your dmesg one more time. This way we would see if there is anything comes out from the touchpad in MUX mode, etc, etc.

And could you please post your /proc/bus/input/devices?

Thank you,

Dmitry

#13 lore raw

On Tuesday 17 February 2004 06:18, Dmitry Torokhov wrote:
[...]

Quoted 6 lines

It can't be Pass-through problem as the touchpad is not identified as Synaptics, so it must be MUX...

Emmeran, what happens if you "cat /dev/input/mice" and try working the touchpad and the trackball? Do you see anything when you use the touchpad?

Yes, when I move the touchpad some output is generated, but not when I move the mouse. The same is with /dev/mouse and /dev/psaux.

Quoted 7 lines

If not, please #define DEBUG in i8042.c again and after reboot try using touchpad first, then type something (so we'll see the point when you stopped using the touchpad), move trackball and type something again and post your dmesg one more time. This way we would see if there is anything comes out from the touchpad in MUX mode, etc, etc.

And could you please post your /proc/bus/input/devices?

$ cat /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
H: Handlers=kbd
B: EV=40001
B: SND=6

I: Bus=0011 Vendor=0002 Product=0002 Version=0049
N: Name="PS2++ Logitech Mouse"
P: Phys=isa0060/serio2/input0
H: Handlers=mouse0
B: EV=7
B: KEY=f0000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio4/input0
H: Handlers=mouse1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

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=0003 Vendor=045e Product=0024 Version=0121
N: Name="Microsoft Microsoft Trackball Explorer®"
P: Phys=usb-0000:00:03.2-1/input0
H: Handlers=mouse2
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103

cu,
Emmy

#14 lore raw

On Tuesday 17 February 2004 06:13 pm, Emmeran Seehuber wrote:

OK, I am lost.. how many pointing devices you physically have? 2 or 3? According to the kernel data you have 2 PS/2 devices and one USB trackball:

Quoted 6 lines

N: Name="PS2++ Logitech Mouse"
P: Phys=isa0060/serio2/input0
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio4/input0
N: Name="Microsoft Microsoft Trackball Explorer®"
P: Phys=usb-0000:00:03.2-1/input0

Is this correct? Or you have only 2 devices (one PS/2 and one USB) and it is one of those wierd USB legacy emulation troubles. Does it behave better if you load USB modules first and only then psmouse?

Signature · 1 line
Dmitry
#15 lore raw
Quoted 13 lines · Dmitry Torokhov

On Tuesday 17 February 2004 06:13 pm, Emmeran Seehuber wrote:

OK, I am lost.. how many pointing devices you physically have? 2 or 3? According to the kernel data you have 2 PS/2 devices

and one USB trackball:

Quoted 6 lines

N: Name="PS2++ Logitech Mouse"
P: Phys=isa0060/serio2/input0
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio4/input0
N: Name="Microsoft Microsoft Trackball Explorer®"
P: Phys=usb-0000:00:03.2-1/input0

Quoted 3 lines

Is this correct? Or you have only 2 devices (one PS/2 and one USB) and it is one of those wierd USB legacy emulation troubles. Does it behave better if you load USB modules first and only then psmouse?

Sorry, I didn't want to confuse you.

Ive attached a USB mouse because the PS/2 trackball didnt work when I was creating the /proc-output (since I booted without the i????.nomux option). But I don`t like the USB mouse, I prefer to use the trackball.

The problem is the same: The USB mouse can be attachend/detached any time. It does hotplug very well. All data I've send you was with the USB mouse detached. Only when I did the cat /proc/... I didn't want to use the trackpad and attached the USB mouse ...

Just ignore the USB mouse. It doesn't seem to be related to the problem. And yes, in this case I had 3 physical devices (trackpad, PS/2 trackball, USB trackball) attached.

cu,
Emmy