Skip to contentSkip to conversation

PROBLEM: PS/2 keyboard and mouse not available/working/weird

DISCUSSION Take Vos 4 participants 7 messages Oct 22, 2002 – Dec 13, 2002

lore
Share & tools
lore

Take Vos

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

kernel: linux-2.5.44
hardware:DELL Inspiron 8100
config:

                CONFIG_INPUT_MOUSEDEV
                CONFIG_INPUT_EVDEV
                CONFIG_SERIO
                CONFIG_SERIO_I8042
                CONFIG_INPUT_MOUSE
                CONFIG_MOUSE_PS2
                CONFIG_USB
                CONFIG_USB_HID
                CONFIG_USB_HIDINPUT

I just upgraded to 2.5.44 from 2.5.43.

In 2.5.43 I had a small PS/2 mouse problem, as it din't see my wart but only my scratch pad.

In 2.5.44 both my PS/2 mice are not available, neither is my keyboard, although after sufficient keystrokes, sometimes 5, sometimes more, the keyboard is found, this is with Xfree.

Here is some relevant dmesg information.
--snip--
drivers/usb/core/usb.c: registered new driver hid drivers/usb/input/hid-core.c: v2.0:USB HID core driver drivers/usb/core/usb.c: registered new driver usbscanner drivers/usb/image/scanner.c: 0.4.6:USB Scanner Driver register interface 'mouse' with class 'input
mice: PS/2 mouse device common for all mice
register interface 'joystick' with class 'input
register interface 'event' with class 'input
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
--snip--
MTRR: setting reg 3
atkbd.c: Unknown key (set 0, scancode 0xf0, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0x4b, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0x43, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0xf0, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0x43, on isa0060/serio0) pressed.
input: AT Set 2 keyboard on isa0060/serio0

The last time I booted in 2.5.44 the keyboard was found after about 20 keystrokes but was useless as it produced weird escape sequences instead of normal characters, this was without XFree (to check if it had something to do with that).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tVrJMMlizP1UqoURAqITAJ9kCyLQ/uwafy7YfBvZ4ZVwlgJlgACfa1YD 7Uztmq/LJcnCZpKcFK7xnwQ=
=uKZw
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 4 lines · Take Vos

I just upgraded to 2.5.44 from 2.5.43.

In 2.5.43 I had a small PS/2 mouse problem, as it din't see my wart but only my scratch pad.

Known bug, still trying to find out why this happens. Any chance your notebook has an IBM touchpad?

Quoted 3 lines

In 2.5.44 both my PS/2 mice are not available, neither is my keyboard, although after sufficient keystrokes, sometimes 5, sometimes more, the keyboard is found, this is with Xfree.

Interesting.

Quoted 12 lines

Here is some relevant dmesg information.
--snip--
drivers/usb/core/usb.c: registered new driver hid drivers/usb/input/hid-core.c: v2.0:USB HID core driver drivers/usb/core/usb.c: registered new driver usbscanner drivers/usb/image/scanner.c: 0.4.6:USB Scanner Driver register interface 'mouse' with class 'input
mice: PS/2 mouse device common for all mice register interface 'joystick' with class 'input register interface 'event' with class 'input
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1

Quoted 9 lines

--snip--
MTRR: setting reg 3
atkbd.c: Unknown key (set 0, scancode 0xf0, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0x4b, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0x43, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0xf0, on isa0060/serio0) pressed. atkbd.c: Unknown key (set 0, scancode 0x43, on isa0060/serio0) pressed.
input: AT Set 2 keyboard on isa0060/serio0

Very interesting.

Quoted 4 lines

The last time I booted in 2.5.44 the keyboard was found after about 20 keystrokes but was useless as it produced weird escape sequences instead of normal characters, this was without XFree (to check if it had something to do with that).

Can you try with #define DEBUG in i8042.c?

Signature · 2 lines
Vojtech Pavlik
SuSE Labs
author
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Quoted 6 lines · Vojtech Pavlik
Quoted 3 lines · Take Vos

I just upgraded to 2.5.44 from 2.5.43.
In 2.5.43 I had a small PS/2 mouse problem, as it din't see my wart but only my scratch pad.

Known bug, still trying to find out why this happens. Any chance your notebook has an IBM touchpad?

I have no idea. (I did try and enable the IBM touchpad in the kernel config, but It didn't see it.)

Quoted 5 lines
Quoted 4 lines

The last time I booted in 2.5.44 the keyboard was found after about 20 keystrokes but was useless as it produced weird escape sequences instead of normal characters, this was without XFree (to check if it had something to do with that).

Can you try with #define DEBUG in i8042.c?

I tried, but it gave to much output, and it only logged the events in syslog, as the boot messages where already gone from the buffer.

I did some more checking and found how to consitantly get the same problem:
- Booting cold, everything works ok (except ofcource my wart mouse)
- Booting warm (reboot), keyboard failes.

I checked if it was because of interaction with the USB mouse, but I tried it with the mouse in both USB ports and without the USB mouse, but could not found any interaction.

Hope I have helped you with this,
Take
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tlMbMMlizP1UqoURArT1AJ0ekWQBvClzU1hI4LrPSsCtSLUpoQCg6KvA yq9JrGwNNXFrMlpep9ztFtc=
=irq3
-----END PGP SIGNATURE-----

author
#3 lore raw
In reply to Vojtech Pavlik

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Vojtech Pavlik
Quoted 3 lines · Take Vos

In 2.5.44 both my PS/2 mice are not available, neither is my keyboard, although after sufficient keystrokes, sometimes 5, sometimes more, the keyboard is found, this is with Xfree.

I am now using 2.5.51 and I still have the problem when I reboot from a 2.5.51 kernel to a 2.5.51 or 2.4.19 kernel both my internal keyboard and mouse (DELL Inspiron 8100) are not working anymore. The strange thing is the keyboard does work in grub.

relevant dmesg output:
device class 'input': registering register interface 'mouse' with class 'input'
mice: PS/2 mouse device common for all mice register interface 'joystick' with class 'input' register interface 'event' with class 'input'
input: PS/2 Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1

thanks,
Take Vos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9+OUxMMlizP1UqoURAoXPAKCht3Z/XEo6MIya2gziT6KZ/neDwACfaesk 4ZrzpPHtU280RLRbghmyMnc=
=gTTt
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 13 lines · Take Vos

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Vojtech Pavlik
Quoted 3 lines · Take Vos

In 2.5.44 both my PS/2 mice are not available, neither is my keyboard, although after sufficient keystrokes, sometimes 5, sometimes more, the keyboard is found, this is with Xfree.

I am now using 2.5.51 and I still have the problem when I reboot from a 2.5.51 kernel to a 2.5.51 or 2.4.19 kernel both my internal keyboard and mouse (DELL Inspiron 8100) are not working anymore. The strange thing is the keyboard does work in grub.

Quoted 10 lines

relevant dmesg output:
device class 'input': registering register interface 'mouse' with class 'input'
mice: PS/2 mouse device common for all mice register interface 'joystick' with class 'input' register interface 'event' with class 'input'
input: PS/2 Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1

I have exactly the same problem on an Inspiron 8000. Been that way since 2.5.4x (7 or 8), but cannot get a working 2.5.51 to test at this point.

Just to add another data point. :)

Bas Vermeulen

Signature · 5 lines
"God, root, what is difference?" 
	-- Pitr, User Friendly

"God is more forgiving." 
	-- Dave Aronson
#5 lore raw
In reply to Take Vos

Am Dienstag, 22. Oktober 2002 16:03 schrieb Take Vos:

Quoted 3 lines

Hello,

kernel: linux-2.5.44

I have a similar problem.

Quoted 10 lines

config:

                CONFIG_INPUT_MOUSEDEV
                CONFIG_INPUT_EVDEV
                CONFIG_SERIO
                CONFIG_SERIO_I8042
                CONFIG_INPUT_MOUSE
                CONFIG_MOUSE_PS2
                CONFIG_USB
                CONFIG_USB_HID
                CONFIG_USB_HIDINPUT

My .config is

CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_EVDEV=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y

CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD_ALT=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y

Quoted 4 lines

In 2.5.44 both my PS/2 mice are not available, neither is my keyboard, although after sufficient keystrokes, sometimes 5, sometimes more, the keyboard is found, this is with Xfree.

Toggling CapsLock etc. does nothing to the LEDs. I can move the Mousepointer around with the PS/2 mouse, but I can not click. My USB mouse sort of works, but only in one USB connector. Not the other.

The box is a Sony Vaio Picturebook (japanese version). This was working in 2.5.42.

If you need more info, just ask.

Michael

#6 lore raw
Quoted 4 lines · Michael Dreher
Quoted 3 lines

In 2.5.44 both my PS/2 mice are not available, neither is my keyboard, although after sufficient keystrokes, sometimes 5, sometimes more, the keyboard is found, this is with Xfree.

Quoted 8 lines

Toggling CapsLock etc. does nothing to the LEDs. I can move the Mousepointer around with the PS/2 mouse, but I can not click. My USB mouse sort of works, but only in one USB connector. Not the other.

The box is a Sony Vaio Picturebook (japanese version). This was working in 2.5.42.

If you need more info, just ask.

The 'dmesg' trace of the mouse and keyboard init with #define DEBUG enabled in drivers/input/serio/i8042.c. Your XF86Config mouse-related part. /proc/bus/usb/devices, /proc/bus/input/devices. Anything else you deem relevant (exact Vaio model, exact mouse and usb devices models).

Signature · 2 lines
Vojtech Pavlik
SuSE Labs