Opened 6 years ago

Closed 7 weeks ago

#14856 closed bug (invalid)

Keyboard problem on x200s with Coreboot+Tianocore

Reported by: vita_cell Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Input/PS2/Keyboard Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

Finally could manage to boot Haiku from usb and install it on HDD from the same machine, with Haiku's UEFI loader.

It's fine but internal keyboard doesn't work (F, Fn, brightness, trackpoint, mouse buttons, caps or num locks, keyboard is just dead) looks like it is not connected. Booted GNU/Linux from usb, internal keyboard does work. Connected my gaming usb keyboard (to usb2.0), and only key behind "Alt Gr" does work, nothing more. Internal keyboard works fine when in Haiku's loader.

Attachments (6)

syslog (414.3 KB ) - added by vita_cell 6 years ago.
syslog
syslog2 (244.0 KB ) - added by vita_cell 6 years ago.
syslog with older usb keyboard
random_usb_hid_report_descriptors.zip (1.8 KB ) - added by vita_cell 6 years ago.
not working usb gaming keyboard.zip (1.1 KB ) - added by vita_cell 6 years ago.
here my ps2 internal keyboard started to work (41.2 KB ) - added by vita_cell 6 years ago.
Photos of activity monitor.zip (149.2 KB ) - added by vita_cell 6 years ago.

Download all attachments as: .zip

Change History (21)

by vita_cell, 6 years ago

Attachment: syslog added

syslog

comment:1 by vita_cell, 6 years ago

Look at this Ticket please, might be similar:

https://dev.haiku-os.org/ticket/13767

comment:2 by vita_cell, 6 years ago

Tryed to connect other (older) usb keyboard, and this one is fully working. I attach "syslog2".

by vita_cell, 6 years ago

Attachment: syslog2 added

syslog with older usb keyboard

comment:3 by pulkomandy, 6 years ago

Please attach the HID reports for the non working keyboard. These are available in /tmp, their filename look like usb_hid_report_descriptor_056e_00fd_0.bin (for my mouse)

Your USB keyboard and PS/2 keyboard problems are separate (the USB keyboard will probably not work on any other Haiku machine until we fix this part).

For PS/2, there seem to be a problem wih interrupts in the syslog. This could be related:

KERN: More than 99% interrupts of vector 16 are unhandled

comment:4 by vita_cell, 6 years ago

"Your USB keyboard and PS/2 keyboard problems are separate (the USB keyboard will probably not work on any other Haiku machine until we fix this part). "

You are right.

Now I add some more logs and HIDs. Somehow my internal keyboard started to work (I did some connecting and disconnecting usb devices, I don't know if this has something to do with it).

by vita_cell, 6 years ago

by vita_cell, 6 years ago

by vita_cell, 6 years ago

comment:5 by waddlesplash, 6 years ago

Booted GNU/Linux from usb, internal keyboard does work.

If it doesn't even work with Linux, I'm not sure there's anything we'll be able to do...

in reply to:  5 comment:6 by vita_cell, 6 years ago

Replying to waddlesplash:

Booted GNU/Linux from usb, internal keyboard does work.

If it doesn't even work with Linux, I'm not sure there's anything we'll be able to do...

Wow! I said "does", not "doesn't" or "does not".

Please read my comment above too.

Last edited 6 years ago by vita_cell (previous) (diff)

comment:7 by waddlesplash, 6 years ago

Ah, that's what I get for reading too fast...

As the keyboard is PS/2, it is probably unrelated to plugging and unplugging USB devices, I'd guess. Unless the problem is in input_server and not at the driver level; but that would be strange.

in reply to:  7 comment:8 by vita_cell, 6 years ago

Replying to waddlesplash:

Ah, that's what I get for reading too fast...

As the keyboard is PS/2, it is probably unrelated to plugging and unplugging USB devices, I'd guess. Unless the problem is in input_server and not at the driver level; but that would be strange.

Some USBs keyboards do work fine, this is not the main problem. Main problem is PS/2 internal keyboard. Somehow it started (only 1 time) to work when I was using Haiku. But same story after reboot (it doesn't work). If it could to work 1 time, so, it can to work.

comment:9 by pulkomandy, 6 years ago

You also read the syslog too fast, because the driver clearly complains about failing to initialize the keyboard there.

comment:10 by waddlesplash, 6 years ago

You also read the syslog too fast, because the driver clearly complains about failing to initialize the keyboard there.

No, I was referring to the "here my ps2 internal keyboard started to work" file; AFAICT there is nothing PS/2 related in there.

comment:11 by pulkomandy, 6 years ago

There is nothing at all in that log because it is flooded by USB errors.

Probably relevant from syslog2:

1063	KERN: ps2: keyboard reset failed, status 0x80000009, data 0xff
1064	KERN: ps2: keyboard probing failed
1065	KERN: KeyboardDevice: error when opening /dev/input/keyboard/at/0: No error
1066	KERN: ps2: devfs_unpublish_device input/keyboard/at/0, status = 0x00000000

in reply to:  10 comment:12 by vita_cell, 6 years ago

Replying to waddlesplash:

You also read the syslog too fast, because the driver clearly complains about failing to initialize the keyboard there.

No, I was referring to the "here my ps2 internal keyboard started to work" file; AFAICT there is nothing PS/2 related in there.

Sorry, when internal keyboard started to work, first I did just copyed syslog file without reading it.

comment:13 by waddlesplash, 6 years ago

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

comment:14 by waddlesplash, 2 years ago

Please retest after hrev56268.

comment:15 by waddlesplash, 7 weeks ago

Keywords: keyboard x200 x200s coreboot removed
Resolution: invalid
Status: newclosed

No reply.

Note: See TracTickets for help on using tickets.