Skip to content
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

console=ttyUSB0 no_console_suspend kernel args seem to aggravate already broken external keyboard input #297

Open
primalmotion opened this issue May 12, 2023 · 1 comment

Comments

@primalmotion
Copy link

primalmotion commented May 12, 2023

So I'm having a lot of troubles with multimonitors, wakeup and swaylock. When I wake up from suspend, if my laptop screen is off, swaylock will not accept any input from my external keyboard. The only way to make it start accept keyboard is to open my lid to activate my laptop screen. Then both keyboards work.

I worked around with ungodly scripts that force to enable my laptop monitor when going to sleep, and keep it on until I unlock swaylock.

That worked for a few days, until I needed to enable a serial console with the kernel arguments console=ttyUSB0 no_console_suspend.

With these options, that seem pretty much unrelated, swaylock NEVER accepts any input (from my laptop keyboard or external keyboard). I have to switch tty, login and run killall -SIGUSR1 swaylock (so my keyboards are perfectly working)

@primalmotion primalmotion changed the title console=ttyUSB0 no_console_suspend kernel args seems to aggravate already broken external keyboard input console=ttyUSB0 no_console_suspend kernel args seem to aggravate already broken external keyboard input May 12, 2023
@primalmotion
Copy link
Author

primalmotion commented May 12, 2023

more tests confirm that it's no_console_suspend that causes this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant