0

When I run acpi_listen while running gnome-session or ubuntu-session, and press the Brightness Up/Down keys on the keyboard, I get output like this:

video/brightnessdown BRTDN 00000087 00000000
video/brightnessup BRTUP 00000086 00000000

from xev:

KeymapNotify event, serial 38, synthetic NO, window 0x0,
    keys:  4294967216 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusOut event, serial 38, synthetic NO, window 0x2000001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 38, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyAncestor

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

And the brightness of the screen is adjusted correctly. However, when running i3wm, no output is shown from running acpi_listen or xev when pressing the keys.

In both environments, dmesg shows this:

[ 5237.752419] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[ 5237.752426] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 5237.763659] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[ 5237.763666] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.

What service would be running in the gnome-based session that is picking up the keypresses/triggering the acpi events, that is not running/configured in the i3wm session?

Another interesting thing is that in the gnome session, the button/lid LID close acpi_event fires on a lid close, but in i3wm the KEY_WLAN event is triggered.


Laptop: HP 15-cx0056wm (w/ Intel Integrated Graphics & Nvidia 1050Ti)

Nvidia Driver Version: nvidia-driver-418, Nvidia OPTIMUS profile is currently enabled

Ubuntu Version: 19.04

Gnome Version: 3.32.1

New contributor
ProcessingData... is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

ProcessingData... is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.