Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-08-26 03:00:37

d0u9
Member
Registered: 2016-09-06
Posts: 5

ctrl and alt key press is detected after a long system suspend.

I got my new HP elitebook 830 G5 last month, and stucked in the problem of keyboard.

I have Fedora Xfce 28 installed on my new laptop, it works perfect until some day I suddenly  found that the keyboard works abnormal.

When pressing "-" key (the dash) many times, or pressing "p" key many times, the system recognize that left ctrl and left alt keys are pressed. However, after I actually press these two keys, problem gone. After some while, this problem appears again.

This problem usually happens after a long system suspend, I don't know if they are related.

Can someone give me a help?

--------------------------------------------------------------- Update1 ----------------------------------------------------------------

In xev, when pressing "-" key, it reports these:

KeyPress event, serial 37, synthetic NO, window 0x3c00001,
    root 0x1b8, subw 0x0, time 161941, (-253,-32), root:(618,443),
    state 0x0, keycode 20 (keysym 0x2d, minus), same_screen YES,
    XLookupString gives 1 bytes: (2d) "-"
    XmbLookupString gives 1 bytes: (2d) "-"
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3c00001,
    root 0x1b8, subw 0x0, time 162125, (-253,-32), root:(618,443),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3c00001,
    root 0x1b8, subw 0x0, time 162125, (-253,-32), root:(618,443),
    state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3c00001,
    root 0x1b8, subw 0x0, time 162128, (-253,-32), root:(618,443),
    state 0xc, keycode 20 (keysym 0x2d, minus), same_screen YES,
    XLookupString gives 1 bytes: (2d) "-"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3c00001,
    root 0x1b8, subw 0x0, time 162287, (-253,-32), root:(618,443),
    state 0xc, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3c00001,
    root 0x1b8, subw 0x0, time 162287, (-253,-32), root:(618,443),
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Last edited by d0u9 (2018-08-26 03:06:26)

Offline

#2 2018-08-26 18:36:42

mint4all
Member
From: America
Registered: 2018-08-21
Posts: 64

Re: ctrl and alt key press is detected after a long system suspend.

Greetings!

A while back, i had a similar issue testing a live distro (Linux Mint 17-xfce) on an HP Pavilion DV7 laptop. That strange keyboard behavior stopped when i changed the "Keyboard Layout" from the "Use system default" to one of the HP Pavilion laptop layouts provided on the life disk (sorry, i can't remember what particular model i picked as the DV7 was not listed per se).

Have you tried one of the HP-specific keyboard layouts?

Cheers, M4A


Linux Mint 18.3-xfce & Linux Mint 19-xfce  -- Dell Precision T1500 Desktops -- Toshiba Satellite Laptop -- Family & Community Support re. Linux

Offline

#3 2018-08-27 03:13:01

d0u9
Member
Registered: 2016-09-06
Posts: 5

Re: ctrl and alt key press is detected after a long system suspend.

mint4all wrote:

Have you tried one of the HP-specific keyboard layouts?

I tested HP Pavilion keyboard layouts in xfce's keyboard preference,  but not working. Seems no Elitebook series keyboard layouts in xfce settings. My laptop is Elitebook 830 G5, wondering if it is too new to have support of linux.

Also, this strange behavior not always appear, sometimes it works fine, sometimes after some point, e.g system suspend, it emerges.

Offline

Board footer

Powered by FluxBB