-
Notifications
You must be signed in to change notification settings - Fork 85
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
darp6: keyboard insensitivity at boot leads to difficulty unlocking encrypted hard drive. #156
Comments
The issue is resolved if I reboot and try again but it sometimes takes a few reboots to get the keyboard to work properly. |
I'm also seeing this occasionally happen on oryp6. Would you happen to be running open EC on your darp6? |
I have applied all firmware patches so I think I am running open EC. Is there a way for me to confirm? |
Sorry to leave you hanging, I got sidetracked on something else yesterday. You can check the ec version with the ectool script:
|
|
I've noticed this as well. Perhaps |
For any of you seeing the issue, does pressing up, which will show the prompt using a terminal instead of the graphical one, make the keyboard work without issues? |
I tried rebooting a couple times, but I didn't see this. I don't think it's a consistent problem... Wonder what makes it happen. Haven't tried unlocking in a terminal, but it always works fine with an external keyboard (as stated previously). And it's possible with the built-in keyboard when the issue occurs, just tediously slow. |
It does not, however the lagginess seems to go away after 10 or 15 seconds. This happens pretty regularly on oryp7, so I can definitely help test. |
I can't test this. I rolled back to 20.04 recently and when I did I chose not to encrypt the hard drive (due to this bug). I can say that the "slow" keyboard problem persists after a fresh OS install at the GDM login screen. As @leviport mentioned it does go away after ~15 seconds. |
Hi. I just got done working through a s76 support ticket on this issue (59582) on a darp6 where I uploaded logs from the OPEN-EC Firmware and the Proprietary firmware. And I also included a video on how to recreate the behavior. I was redirected to this open issue.. I do not know if the log files there can be reviewed. Or should I upload them here/needed? To recreate the issue: Cold boot of the device with nothing plugged in to the laptop with the open-ec firmware. The pauses show in graphical side and also in the console (Hitting left arrow). The problem does not show on warm reboots. dmesg of the kernel shows me the following error code (All the logs are on the support ticket). This error is not in the 052020 firmware. Might be related. 3.801891] ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20201113/evregion-294) [ 3.801907] No Local Variables are initialized for Method [SKBL] [ 3.801909] Initialized Arguments for Method [SKBL]: (1 arguments defined for method invocation) [ 3.801916] ACPI Error: Aborting method _SB.S76D.SKBL due to previous error (AE_TIME) (20201113/psparse-529) Let me know if there is anything else needed.. |
Does anyone else have the ACPI timeout when this occurs? |
@crawfxrd Just an update on some more troubleshooting I did on this issue. I was in fedora 34 with no system76 drivers with LUKS Enabled. It has the same problem. When I pulled the dmesg. (No sys76 Driver loaded.) It gave me the following error. At 34 seconds I was able to regain use of the keyboard. [ 3.227021] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device So I did an experiment with this error I saw on the touchpad. I disconnected the touchpad from the darp6 mainboard. Powered off the device completely and booted it to recreate the problem. The Problem went away. Did this four times or so. Plugged the touchpad back into the mainboard. The problem returned. I am in progress of putting POP back on it to see what its kernel tells me. Will follow up shortly. Edit: Same behavior shows up in POP. Only difference is the timeout messages above. |
I wonder why it is attempting to use ps/2 when the system supports I2C HID. Can you check for I2C HID messages in dmesg? Something like dmesg | grep -i hid |
As requested. Also I need to apologize. But the logging in POP is showing the error differently. I thought it was the same at first glance. From same log. I am also including the dmesg from this boot. [ 1.506127] psmouse serio1: Failed to reset mouse on isa0060/serio1: -5 |
I've had the same problem since I received my Oryx Pro 6 end of October 2020. Here is my dmesg output
|
I was able to reproduce this on gaze15 with i8042 is getting a response from the touchpad for the mouse ID request after setting up the keyboard.
i8042 then sends a ton of requests to the second port (command 0xD4) until about 22 seconds into the boot before giving up. This happens while the decrypt screen is up and waiting for input. So, presumably, a workaround is to boot with |
Able to get similar output with the same debug flags. Also used the workaround kernel flag i8042.noaux=1 and I did about 10 or so cold boots and tried my best to recreate the issue like I normally would and the issue did not come back. Same time ACPI timeouts are not showing either. So for me the work around works. Will report back if I encounter it not working right with logs. Here are the dmesgs of both logs with the debug flags enabled. One with the issue. The other with the noaux flag enabled. This one is the issue. This one is with the workaround enabled. Thank you for the workaround. |
Where should the /boot/efi/loader/entries/Pop_OS-current.conf
|
@ggobbe If you're on Pop!_OS, you can run We'll probably end up adding this to the |
I ran Thanks @jacobgkau and everyone! |
It seems that after receiving the spurious interrupts, serio attempts to detect every touchpad over PS/2, with all of them failing because the touchpad stops responding. |
We should really find a way to fix this in firmware. |
I will look into it on the darp6 I have, since it is pretty heavily affected |
Resolved by: system76/ec#201 |
Fix has been released in |
Hey there. I appreciate the release of the fix. When is this going to be released to darp6 devices? I am still seeing a release of 2021-01-19 on my darp6. Thanks. |
@jhorsm It is released. You are not seeing it due to pop-os/system76-firmware#66. |
I've recently noticed that when I try to unlock my encrypted hard drive at boot the keyboard is reluctant to listen to me! I THINK this started after the most recent darp6 firmware update but I could be mistaken. At the very least it started around the same time.
I have to press each key multiple times before the * appears in the password field. My workaround for this is to use my external keyboard (which works perfectly) but if I were out travelling then it would be very difficult to unlock my hard drive. 😱
Much love. ❤️
The text was updated successfully, but these errors were encountered: