You are not logged in.

#1 2022-06-12 17:42:32

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,461

Lag on volume keyrelease events

Hi there,
I installed arch on a Dell Latitude 7200, system fully updated.
When i use the volume keys with a single tap, volume goes up by six steps, instead of a single step.
If i keep it pressed, volume goes up till i release the button as expected, but this happens only if i keep it pressed long enough.

Using showkeys in the console show that the keyrelease event is triggered with about 0.5secs of lag for a single keypress, and i think this is the cause of the issue, it starts to repeat the keys.
If i keep the key pressed for more than 0.5 second, the keyrelease event happens at the right time.

So it seems that the minimum time for a keyrelease event is 0.5 about seconds, other keys seems to work just fine.

This is a 2 in 1 tablet, and the problem happens only with the volume keys on the tablet; if i use the fn+f2 or fn+f3 by the keyboard, it works as expected. showkeys returns the same keycode for the keys on the tablet and the keys on the keyboard.

By now i just made the increment and decrement step smaller in kde to mitigate the issue, but i wonder if i can solve it to the root.
Windows does not have the issue; maybe it is an hardware one and it just have quirks.

Anybody has an idea?

I'm on xorg, xinput list returns:

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Alps Alps Touchpad Mouse                  id=17   [slave  pointer  (2)]
⎜   ↳ Wacom HID 48CE Finger                     id=12   [slave  pointer  (2)]
⎜   ↳ Alps Alps Touchpad                        id=18   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Video Bus                                 id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Intel HID events                          id=13   [slave  keyboard (3)]
    ↳ Intel HID 5 button array                  id=14   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=16   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=15   [slave  keyboard (3)]
    ↳ Integrated_Webcam_5M: Integrate           id=9    [slave  keyboard (3)]
    ↳ Integrated_Webcam_8M: Rear Inte           id=10   [slave  keyboard (3)]
    ↳ Wacom HID 48CE Pen                        id=11   [slave  keyboard (3)]

Thanks!

Last edited by kokoko3k (2022-06-12 17:47:52)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB