Bug 459564 - Dell XPS 13 9320 volume keys not working
Summary: Dell XPS 13 9320 volume keys not working
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.92.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-23 13:38 UTC by Reuben
Modified: 2024-08-31 03:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The pseudo keys (1.31 MB, image/png)
2022-09-23 13:38 UTC, Reuben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben 2022-09-23 13:38:53 UTC
Created attachment 152368 [details]
The pseudo keys

SUMMARY

I have a Dell XPS 13 which has pseudo function keys. All of them work in KDE except for the volume up / down and mute. When I press them, there is no change to the volume, whether I have headphones plugged in or not.

If I go into shortcuts and attempt to map the keys to the volume events as custom shortcuts (on the theory that they are producing odd key event), I get a message saying that they are already mapped (i.e. so they are producing the right keyboard events). 

I unfortunately can't buy somebody one of these machines to debug with, but happy to provide any additional logs as needed.

Output of xev when pressing each of the keys is below.

```
KeyPress event, serial 39, synthetic NO, window 0x7200001,
    root 0x79f, subw 0x0, time 67346182, (-335,199), root:(536,724),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 39, synthetic NO, window 0x7200001,
    root 0x79f, subw 0x0, time 67346303, (-335,199), root:(536,724),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 39, synthetic NO, window 0x7200001,
    root 0x79f, subw 0x0, time 67348292, (-335,199), root:(536,724),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 39, synthetic NO, window 0x7200001,
    root 0x79f, subw 0x0, time 67348437, (-335,199), root:(536,724),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 39, synthetic NO, window 0x7200001,
    root 0x79f, subw 0x0, time 67351308, (-335,199), root:(536,724),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 39, synthetic NO, window 0x7200001,
    root 0x79f, subw 0x0, time 67351478, (-335,199), root:(536,724),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
```

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Alex 2022-09-24 13:08:56 UTC
Hi, I have the same laptop and cannot reproduce. I am on Plasma 5.25.5, Fedora 36, kernel 5.19.9.

In my case, it seems like instead of KeyPress events, I get KemapNotify events, but still get KeyRelease.


xev output for mute:

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   2   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 40, synthetic NO, window 0x4c00001,
    root 0x7b2, subw 0x0, time 468384, (162,-15), root:(1801,961),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


xev output for volume down:

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   4   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 40, synthetic NO, window 0x4c00001,
    root 0x7b2, subw 0x0, time 528691, (163,-15), root:(1802,961),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


xev output for volume up:

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  4294967218 0   0   0   0   0   0   0   0   0   0   0   0   0   0   8   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 40, synthetic NO, window 0x4c00001,
    root 0x7b2, subw 0x0, time 569790, (153,-16), root:(1792,960),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
Comment 2 fanzhuyifan 2024-08-01 20:21:10 UTC
Is this still an issue as of plasma 6.1?
Comment 3 Bug Janitor Service 2024-08-16 03:47:04 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-08-31 03:47:54 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.