Opened 13 years ago
Closed 2 years ago
#7958 closed bug (not reproducible)
[ps2] keyboard doesn't work if plugged in before boot
Reported by: | diver | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/Input/PS2/Keyboard | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev42706.
My ps2 keyboard doesn't work if plugged in before boot, but if I plug it after boot it works just fine.
The keyboard works ok in Ubuntu, BIOS and GRUB as well as in KDL, so I assume that both ps2 port and the keyboard itself in a working state.
Attached two syslogs with enabled TRACE_PS2 define.
Attachments (2)
Change History (11)
by , 13 years ago
Attachment: | syslog_keyboard_plugged_before_boot added |
---|
by , 13 years ago
Attachment: | syslog_keyboard_plugged_after_boot added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Is it possible that you try out the ohci bus driver (mod) I attached to #8987 and post the syslog here? Your system seems to have the same OHCI handover problem, with similar ps2 symptoms.
follow-up: 4 comment:3 by , 12 years ago
I've already tried to delete /system/add-ons/kernel/busses/* a few days ago and that didn't help.
I'll try your ohci bus driver in the next few days, but the chances are slim :-(
comment:4 by , 12 years ago
Replying to diver:
I've already tried to delete /system/add-ons/kernel/busses/* a few days ago and that didn't help.
I'll try your ohci bus driver in the next few days, but the chances are slim :-(
Very slim, indeed. Thanks anyway.
comment:5 by , 12 years ago
commenting out ps2_service_notify_device_added in ps2_common.cpp:
index 37f902e..b97347f 100644 --- a/src/add-ons/kernel/bus_managers/ps2/ps2_common.cpp +++ b/src/add-ons/kernel/bus_managers/ps2/ps2_common.cpp @@ -402,7 +402,7 @@ ps2_init(void) ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_MOUSE + 3]); ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_KEYB]); } else { - ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_MOUSE]); +// ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_MOUSE]); ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_KEYB]); }
gets the keyboard working, but breaks ps2 mouse in qemu and most likely on real hw too.
comment:6 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
For years I was default assignee for this PS2 stuff. Neither fixes nor improvements - I should be fired away. ;-)
comment:7 by , 6 years ago
Component: | Drivers/Keyboard/PS2 → Drivers/Input/PS2/Keyboard |
---|
comment:9 by , 2 years ago
Resolution: | → not reproducible |
---|---|
Status: | assigned → closed |
I don't even remember which pc I had when I filed this issue. I certainly don't have it since long.
Still here in hrev44588.