Opened 3 years ago

Last modified 2 months ago

#17800 new bug

Mouse & Keyboard sometimes do not work after booting

Reported by: davidrg Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Input/PS2 Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by davidrg)

Hardware is an HP nc6400 laptop currently running hrev55430 but this behaviour existed on beta3 as well.

After reaching the desktop the mouse is unresponsive for several seconds. Trying to use the mouse during this period seems to increase the chance of this problem occurring but I can't reliably reproduce the issue so I can't say for sure if this is the case.

It only affects the mouse and keyboard - the system is otherwise working fine. Pressing the power button does a clean shutdown, and I can SSH in ok which is how I was able to grab a copy of syslog.

Relevant lines from syslog are probably:

KERN: ps2: reset failed
KERN: ps2: devfs_publish_device input/mouse/ps2/1, status = 0xffffffff
KERN: ps2: reset failed
KERN: ps2: devfs_publish_device input/mouse/ps2/2, status = 0xffffffff
KERN: register_domain(9, unix)
KERN: ps2: reset failed
KERN: ps2: devfs_publish_device input/mouse/ps2/3, status = 0xffffffff
KERN: ps2: devfs_publish_device input/keyboard/at/0, status = 0x00000000
KERN: ps2: keyboard reset failed, status 0x80000009, data 0x00
KERN: ps2: keyboard probing failed
KERN: KeyboardDevice: error when opening /dev/input/keyboard/at/0: No error
KERN: ps2: devfs_unpublish_device input/keyboard/at/0, status = 0x00000000

Linux detects the mouse as:

[    3.115857] psmouse serio4: synaptics: Touchpad model: 1, fw: 6.2, id: 0x2580b1, caps: 0xa04793/0x300000/0x0/0x0, board id: 0, fw id: 240405
[    3.115866] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0

Attachments (5)

syslog (267.5 KB ) - added by davidrg 3 years ago.
full syslog
listdev (3.1 KB ) - added by whatevr 2 years ago.
listdev output
syslog.2 (500.0 KB ) - added by whatevr 2 years ago.
syslog
dmesg (101.0 KB ) - added by ehlo1 2 months ago.
Linux system log for Thinkpad x13
syslog.3 (146.7 KB ) - added by ehlo1 2 months ago.
Haiku syslog for Thinkpad x13

Download all attachments as: .zip

Change History (12)

by davidrg, 3 years ago

Attachment: syslog added

full syslog

comment:1 by waddlesplash, 3 years ago

Component: - GeneralDrivers/Input/PS2

comment:2 by davidrg, 3 years ago

Description: modified (diff)

comment:3 by waddlesplash, 3 years ago

Please retest after hrev56268.

comment:4 by whatevr, 2 years ago

I seem to experience a similar (but not quite) problem on ASUS A513EA-BQ2409 laptop using hrev56776 (though the problem was there before beta4). Sometimes it takes one or several reboots for the keyboard to start working, sometimes it works right away. USB mouse always functions well, while the touchpad never works (it lacks drivers, afaik). Syslog for a boot without the keyboard functioning attached, as well as listdev output.

by whatevr, 2 years ago

Attachment: listdev added

listdev output

by whatevr, 2 years ago

Attachment: syslog.2 added

syslog

comment:5 by waddlesplash, 7 months ago

Please retest after hrev58155.

by ehlo1, 2 months ago

Attachment: dmesg added

Linux system log for Thinkpad x13

comment:6 by ehlo1, 2 months ago

I have similar issue with a Thinkpad X13 with the latest nightly (hrev58587). Built in keyboard and mouse don't work. There are error messages similar to the ones above in the syslog. I'll attach the full syslog once I boot into Haiku, I'm on Linux now. The Linux kernel detects the keyboard and mouse as:

[    0.685397] [      T1] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.687322] [      T1] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.687329] [      T1] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.687453] [      T1] mousedev: PS/2 mouse device common for all mice
...
[    0.689937] [     T10] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0

I've attached the full Linux system log above.

comment:7 by ehlo1, 2 months ago

The relevant lines from the Haiku syslog:

KERN: ps2_dev: reset failed: Operation timed out
KERN: ps2: devfs_publish_device input/mouse/ps2/0, status = 0xffffffff
KERN: ps2: devfs_publish_device input/keyboard/at/0, status = 0x00000000
KERN: ps2: keyboard reset failed, status 0x80000009, data 0xff
KERN: ps2: keyboard getid failed, status 0x80000009, data 0x0000. Assuming no keyboard
KERN: ps2: keyboard probing failed
KERN: KeyboardDevice: error when opening /dev/input/keyboard/at/0: General system error
KERN: ps2: devfs_unpublish_device input/keyboard/at/0, status = 0x00000000

by ehlo1, 2 months ago

Attachment: syslog.3 added

Haiku syslog for Thinkpad x13

Note: See TracTickets for help on using tickets.