You are not logged in.

#1 2020-06-06 14:15:19

ThinkPad
Member
Registered: 2019-01-29
Posts: 125

kbdrate.service not taking effect for external keyboard input

I am using a ThinkPad X390.

I followed these instructions to create and enable the service. The only difference is my command:

ExecStart=/usr/bin/kbdrate -s -d 1000 -r 15

I tried playing with the order just in case as well as removing the -s and it does spit out the message right before the login screen in the console. If I issue the command even from within an X session, and then switch to a tty I am not logged into, the command has taken effect. If I issue the command from the console it takes effect.

The service does not seem to take effect in the console for my external keyboard, but does confirm the settings have been changed by outputting to the console before login. The changes do take effect on input from the built in laptop keyboard in the console.

If my laptop dies, it takes effect on the next boot for external keyboard.

Here is the status:

$ systemctl status kbdrate
----
● kbdrate.service - Keyboard repeat rate in tty.
     Loaded: loaded (/etc/systemd/system/kbdrate.service; enabled; vendor preset: disabled)
     Active: active (exited) since Wed 2020-04-22 06:38:53 MST; 8min ago
    Process: 826 ExecStart=/usr/bin/kbdrate -s -d 1000 -r 15 (code=exited, status=0/SUCCESS)
   Main PID: 826 (code=exited, status=0/SUCCESS)

Apr 22 06:38:53 X390 systemd[1]: Starting Keyboard repeat rate in tty....
Apr 22 06:38:53 X390 systemd[1]: Finished Keyboard repeat rate in tty..

Here is the journalctl output.

Message to mods:
You can close my old post. The new information makes this a different problem. Move to the laptop subforum if you see fit.

Offline

#2 2021-04-02 17:11:22

ThinkPad
Member
Registered: 2019-01-29
Posts: 125

Re: kbdrate.service not taking effect for external keyboard input

Offline

Board footer

Powered by FluxBB