-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
x230: keyboard not working after reboot #765
Comments
Maybe related to #698? |
doesn't sound like it imho |
I have the same issue sometimes when rebooting inside heads |
Are you able to save the logs somewhere even without keyboard? Please start the Linux (Heads) kernel with |
Intuition here is a race condition with USB Security dongle being connected and considered a keyboard. Possible? Would need to test and isolate if behavior is there without USB Security dongle being connected at boot. |
Good idea! I try to test this... |
Can not confirm. I tried around just a bit, but while doing similar stuff like generating new HOTP secrets and reboot via Ctrl+Alt+Del I once got stuck with not working keyboard and once I didn't (in both cases I led the Nitrokey inserted). |
@alex-nitrokey best point would be to see if the same behavior happens without the Nitrokey Inserted and why the Nitrokey is considered a USB keyboard in Heads use case. (new behavior) |
I don't think, it has anything to do with the Nitrokey, this was just a working hypothesis above. I just tested rebooting without inserting the Nitrokey or any other USB device. The keyboard still freezes. |
(go to recovery shell without doing anything else and type |
Just putting some notes, I will do some Heads pull request merging in the next days after testing them under a branch under CIs. On current issue:
Please detail your use case:
|
This is one test case, yes. But it happens in different reboot situations as well, like doing the oem-factory-reset (in which I of course needed to insert USB devices). The above use case is just proving that seemingly it has nothing to do with the USB drive as it is happening even without inserting any. Will try next week with the kernel debug. Where do I find the logs after applying the kernel parameter to my build and booting it? |
Confirm the behavior after flashing with USB storage in. |
confirmed after flashing again with usb storage in after oem factory reset |
infirmed with HOTP security dongle while calling reboot from command line |
confirmed with HOTP security dongle + usb storage while calling reboot from command line |
infirmed while flashing rom and removing usb storage prior of rebooting. So issue is not USB related. |
Could it be linked to s3 resume suspend codepath being broken with new cross-musl-make compiler switch? (#608?) |
Mh, dunno, I never experienced such issue as in #608 and I am not sure what exactly causes it, so it is difficult for me to clearly see any connection, but could be 🤷 |
Just saw at @alex-nitrokey Have you tried putting the |
Unfortunately, not. I hadn't as much time as I hoped to. I tried to fix/test some quick stuff today, but won't get to this keyboard issue before next week, I am sorry :( |
I played around with current master builds and did not experienced this issue anymore. Is it possible that it is gone by a change of the last weeks? |
Looking at the commits my best guess is the gnupg version |
Well I am not so sure anymore... I think they are more seldom with current master but I still get the keyboard freezing sometimes. It is strange... |
@tlaurion can you please go into detail how I would apply and use this command? I tried putting it in coreboot config |
@alex-nitrokey confirmed you were lucky. Testing next PR merge here and confirms random keyboard unresponsiveness |
Would need to get the kernel to be really verbose on that line too... best debug output is from qemu board linux and coreboot configs, which is what is the most verbose we have. Trick would be to have mount-usb called and output everything there and mount read only to catch what is happening when unresponsive.... @alex-nitrokey Trick would be to call those as a debug hack prior of calling gui-init I guess since its platform specific. |
@alex-nitrokey : haaaaa, forgot I worked on producing a x230-debug config in the past |
@tlaurion no ps2k issues on librem devices of which I'm aware |
Just for the record: I had assumed here that the keyboard issue might got solved. It didn't. Additionally, I tested today a bit more with different coreboot/linux versions. None of them worked correctly regarding this issue. I tested coreboot 4.8.1/4.12 and linux 4.14/4.19 repectively (resulting in four builds). So it seems that there is no connection in regard. |
@alex-nitrokey : we are here in the troubleshooting path #765 (comment), which I haven't investigated yet, but confirm coreboot/heads giving error on screen just before GUI when keyboard is not recognized anymore. Logs would be helpful. Suggested hack to facilitate log grabbing |
@alex-nitrokey fixed under #1015 |
#1015 merged |
I experience regularly an issue that is causing the keyboard or the x230 to not function after reboot inside of heads. Killing heads via pressing the power button until power off and starting again fixes the problem.
This problem is happening often after reboot (again, reboots inside heads), but not always. I could not detect a pattern yet.
Anybody had this issue or can deduce a cause?
The text was updated successfully, but these errors were encountered: