-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard Issues on x220t #698
Comments
I remember this issue was present on keyboard-modded X230t a long time ago. Are you using master or are you using one of the releases? Edit: you mention master. I can't read today. |
No problem. I did confirm that the |
I cannot reproduce this on my X220, and I no longer have my X230t. On another note: |
It look legit to me. I'll take my computer apart and see if perhaps there's an underlying hardware issue. |
So I checked out the hardware and there are no visible things that could be causing the issue. While I was at it I re-flashed the stock bios just to double check and sure enough the issue is not present and the keyboard showed up as |
Please attach the full coreboot and Linux logs for the non-working and working case. Where you able to test the latest Linux kernel? |
Would you also mind uploading good pictures of your keyboard's top and bottom? And if you were to restart (not power off and power back on) the machine, does the issue go away? |
@paulmenzel I've attached the logs. The machine is currently running 4.19.98-1 but I plan on testing a different distro later today. @SebastianMcMillan A reboot does not fix it. (EDIT: Today a reboot did fix it) Only fully powering off the machine will. Apologies for the dirty keyboard, I got this secondhand so it's not my mess :) |
@paulmenzel I tried on 5.4.0-4 with debian bullseye and the issue is still present |
Thanks. The output comes from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/keyboard/atkbd.c#n1064:
Please try to add some Linux kernel parameters to see if this changes something.
|
I forgot to say, I believe it’s a timing issue, though I wonder why the boot kernel (non-payload) has the same problem. |
Well that is quite the noisy debug. Let me know if you would like any logs. I found that with the |
Just checking, you are running the latest EC firmware, right?
I have not seen the debug logs yet, but I am out of my comfort zone anyway. Probably it would be good to engage with the Linux subsystem developers. Just to have more datapoints. I suppose the keyboard always correctly works with other payloads like SeaBIOS and GRUB? |
Yes, to the EC firmware and about After flashing seabios again the issue is not longer present |
I totally missed that part. SeaBIOS does some PS/2 initialization itself, so maybe that is more correct than from the Linux kernel? Somebody, should raise this on linux-input@vger.kernel.org, Linux’ INPUT subsystem. |
The libpayload patch series fixes some identified keyboard issues on Lenovo Thinkpads. |
FWIW, ThinkPad keyboard controllers always start in translated mode. However the keyboards run a self-test without being asked for it and don't answer other requests while doing so. This can lead to wrong assumptions in drivers. |
Next step is check inclusion of https://review.coreboot.org/c/coreboot/+/47088/4/payloads/libpayload/drivers/i8042/keyboard.c as recommended per @paulmenzel #698 (comment) |
… and linuxboot#698 Also changing back CPUS=24 to CPUS=16 since CirlcleCI killed cc1plus https://circleci.com/api/v1.1/project/github/tlaurion/heads/883/output/145/0?file=true&allocation-id=605e4adf9b81b10a6af1a95a-0-build%2F6F815F8F
@0rb677 do you own a x220t platform? |
Tag me in to reopen. This is fixed as part or ps2 coreboot init of keyboard and was tested on x230 tablet on my side |
Flashed the x220t, the only modification from master is CONFIG_CBFS_SIZE=0x750000.
I'm running into an issue on the majority of boots where the Backspace and Backslash keys are not working. However every few boots it will work.
I have noticed that when the keyboard is working it's because it is loaded as
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
and when it's not it shows up as
input: AT Raw Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
I am running xfce on debian buster. Apologies if this isn't related to heads but due to the problem appearing after flashing I assume it is.
I can attach whatever logs would be helpful.
The text was updated successfully, but these errors were encountered: