Opened 16 years ago
Closed 15 years ago
#2360 closed bug (fixed)
PS/2 keyboard and touchpad not working on cold boots
Reported by: | mmlr | Owned by: | marcusoverhagen |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/Keyboard/PS2 | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
When cold booting my laptop (hp2510p) directly into Haiku the keyboard and touchpad are not working. If I reboot from BeOS or if I first boot into Haiku with safemode (consoled only - keyboard works there) and then reboot from there, the keyboard and touchpad work fine. This has been the case since I got that laptop and first installed Haiku, but hasn't been so urgent as I usually reboot into Haiku. Last tested with hrev25862. I enabled TRACE_PS2 in ps2_common.h and booted two times, once cold and once rebooting from BeOS. Attaching syslogs from both runs. They are a bit truncated, but I think all the relevant infos should be in as "ps2_hid: init_hardware" comes directly after the truncation.
Attachments (2)
Change History (5)
by , 16 years ago
Attachment: | syslog_cold_boot.txt added |
---|
by , 16 years ago
Attachment: | syslog_warm_boot.txt added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Status: | new → assigned |
---|
I think there is a problem with the BIOS emulation of the PS2 controller. In case of cold boot, it doesn't seem to be in the correct state, and doesn't behave properly.
cold boot logfile:
1308 KERN: ps2: active multiplexing not supported [...] 1352 KERN: ps2: ps2_dev_command wait for ack res 0x80000009, wait-time 4001009 1353 KERN: ps2: ps2_dev_command result 0x80000009 1354 KERN: ps2: reset mouse failed 1355 KERN: ps2: probe_mouse reset failed 1356 KERN: ps2: probing mouse input/mouse/ps2/0 failed
warm boot logfile:
1321 KERN: ps2: active multiplexing v1.1 enabled [...] 1362 KERN: ps2: ps2_dev_command wait for input res 0x00000000, wait-time 326018 1363 KERN: ps2: ps2_dev_command rx: 0xaa 1364 KERN: ps2: ps2_dev_command rx: 0x00 1365 KERN: ps2: ps2_dev_command result 0x00000000 1366 KERN: ps2: reset mouse success
Please attach a logfile of a cold boot without USB drivers and without any external USB devices or docking station attached.
It's either a problem of USB legacy emulation not properly entering the "USB extrinsic support with keyboard controller" mode (see page 11 of the usb_le9 pdf), or the bios is expecting some PS2 commands (that we don't send yet) before it enters a functioning state.
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This has been resolved in the meantime. The laptop is now pretty much fully working except for wlan. Going to close this as fixed even though I have no real idea when or what would've changed it.
for reference http://www.usb.org/developers/devclass_docs/usb_le9.pdf