You are not logged in.

#1 2021-09-05 01:11:23

ejozz
Member
Registered: 2021-09-05
Posts: 2

Dell Vostro laptop brightness keys unbound.

I have the following keybindings in dwm.

	{ NULL,       XF86XK_MonBrightnessUp,      spawn,          {.v = brightnessup } },
	{ NULL,     XF86XK_MonBrightnessDown,      spawn,          {.v = brightnessdown } },

They just activate a simple script I made for changing brightness with the laptop brightness keys. It was working fine. I had disable touchpad while typing enabled for some reason by default, so I installed xorg-xinput and set the property for it to 0 and disabled it, but now my brightness keys stopped working and I can't get them to work again. I have similar setup for my volume keys but that still works fine.

xev doesn't even register it as a keypress anymore it gives

MappingNotify event, serial 32, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

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

FocusOut event, serial 32, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyPointer

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

KeymapNotify event, serial 32, synthetic NO, window 0x0,
    keys:  68  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

MappingNotify event, serial 33, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

Any ideas? I have tried setting the property back and uninstalling xinput.

Thanks.

Offline

#2 2021-09-05 07:00:44

ejozz
Member
Registered: 2021-09-05
Posts: 2

Re: Dell Vostro laptop brightness keys unbound.

Solved it, permissions got reset on the brightness file somehow so script wasn't working.

Offline

Board footer

Powered by FluxBB