Opened 12 years ago

Last modified 22 months ago

#8181 assigned bug

keyboard not working on E8310 laptop

Reported by: helix84 Owned by: nobody
Priority: normal Milestone: R1
Component: Drivers/Input/PS2/Keyboard Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When I first started Haiku (tha latest nightly, hrev43375) on bare metal (a Fujitsu-Siemens Lifebook E8310), the keyboard didn't work.

I tried to look for some compatibility option in BIOS concerning keyboard, but there is none. Then I tried recovery mode and keyboard worked. I was trying to pinpoint exactly which recovery option helps, but it turned out none was necessary! It was sufficient to press Shift to bring up the Haiku boot menu and then proceed booting normally. Keyboard will then work in Haiku itself. That has worked across several reboots - no keyboard when I forgot to bring up Haiku boot menu; keyboard works when I did.

But the next day, with some boots into Windows XP and Ubuntu in between, I booted Haiku again and the keyboard never worked no matter what I tried.

Do you need me to attach some log?

Attachments (3)

ps2.bz2 (23.9 KB ) - added by siarzhuk 12 years ago.
ps2 bus manager with activate TRACE-ing. hrev43405
kb-not-detected.zip (23.8 KB ) - added by helix84 12 years ago.
kb-detected.zip (31.3 KB ) - added by helix84 12 years ago.

Download all attachments as: .zip

Change History (9)

by siarzhuk, 12 years ago

Attachment: ps2.bz2 added

ps2 bus manager with activate TRACE-ing. hrev43405

comment:1 by siarzhuk, 12 years ago

Component: Drivers/KeyboardDrivers/Keyboard/PS2
Owner: changed from nobody to siarzhuk
Status: newassigned

Please read discussion in #7973 and use the instruction there to update the ps2 bus manager with debugging version attached to this ticket. Note that syslog grows quickly and you have to copy both /boot/common/var/log/syslog and ./syslog.old ones. It is also good idea to delete both log files before trying this bus manager. Attach the resulting syslogs to this tickets. Good luck!

Version 0, edited 12 years ago by siarzhuk (next)

by helix84, 12 years ago

Attachment: kb-not-detected.zip added

by helix84, 12 years ago

Attachment: kb-detected.zip added

comment:2 by helix84, 12 years ago

I used the attached ps2 driver and I was able to record a syslog when there was no keyboard available and in another boot when there was. Both are attached.

It seems to me now that keyboard availability in Haiku has something to do with which system (Windows XP or Ubuntu) was booted before Haiku but I haven't been able to conclude anything definitive yet.

in reply to:  2 comment:3 by siarzhuk, 12 years ago

Replying to helix84:

Thank you for information and sorry for the delay with answer.

It seems to me now that keyboard availability in Haiku has something to do with which system (Windows XP or Ubuntu) was booted before Haiku but I haven't been able to conclude anything definitive yet.

Current implementation of ps2 bus manager is looking like not fully concurrent-safe - in case the mouse initialization is postponed because some reasons the mouse commands answers are intersecting with the keyboard ones and force the ps2 devices erroneously detected as non-functional.

I need some more time to find a solution.

comment:4 by siarzhuk, 9 years ago

Owner: changed from siarzhuk to nobody

For years I was default assignee for this PS2 stuff. Neither fixes nor improvements - I should be fired away. ;-)

comment:5 by waddlesplash, 5 years ago

Component: Drivers/Keyboard/PS2Drivers/Input/PS2/Keyboard

comment:6 by waddlesplash, 22 months ago

Please retest under a recent nightly.

Note: See TracTickets for help on using tickets.