I've set up a Samsung 90X3A from scratch (using BIOS boot to avoid a known related issue), and I'm having trouble enabling the screen brightness keys (Fn+F2 and Fn+F3).
The current state:
Manually setting the brightness works:
sudo tee /sys/class/backlight/intel_backlight/brightness <<< 1000 sudo tee /sys/class/backlight/acpi_video0/brightness <<< 50xbacklightworks:$ xbacklight -get 100.000000Fn+F2 and Fn+F3 are detected properly:
$ sudo evtest /dev/input/event0 Input driver version is 1.0.1 Input device ID: bus 0x11 vendor 0x1 product 0x1 version 0xab41 Input device name: "AT Translated Set 2 keyboard" Supported events: […] Event code 224 (KEY_BRIGHTNESSDOWN) Event code 225 (KEY_BRIGHTNESSUP) […] Event: time […], type 4 (EV_MSC), code 4 (MSC_SCAN), value 89 Event: time […], type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 1 Event: time […], -------------- SYN_REPORT ------------ Event: time […], type 4 (EV_MSC), code 4 (MSC_SCAN), value 89 Event: time […], type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), value 0 Event: time […], -------------- SYN_REPORT ------------ Event: time […], type 4 (EV_MSC), code 4 (MSC_SCAN), value 88 Event: time […], type 1 (EV_KEY), code 225 (KEY_BRIGHTNESSUP), value 1 Event: time […], -------------- SYN_REPORT ------------ Event: time […], type 4 (EV_MSC), code 4 (MSC_SCAN), value 88 Event: time […], type 1 (EV_KEY), code 225 (KEY_BRIGHTNESSUP), value 0 Event: time […], -------------- SYN_REPORT ------------ACPId is running:
$ systemctl is-active acpid activexmodmapdoesn't agree withevtest(but see below for attempted workaround):$ xmodmap -pke | egrep '224|225' keycode 224 = XF86Messenger NoSymbol XF86Messenger keycode 225 = XF86Search NoSymbol XF86Search
However, the screen brightness does not change.
There are heaps of advice around for dealing with this and similar issues. Here's what I've already tried:
- All the recommended
acpi_osisettings, verified usingcat /proc/cmdline. acpi_osi=Linux acpi_backlight=vendor- Blacklisting
samsung_laptop, verified usinglsmod | grep samsung_laptop. Adding the following to
/etc/X11/xorg.conf:Section "Device" Identifier "Card0" Driver "intel" Option "Backlight" "intel_backlight" EndSectionSetting
xmodmapbindings:$ xmodmap -e 'keycode 224 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown' $ xmodmap -e 'keycode 225 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp'
Other possibly relevant system information:
X process tree:
$ ps af -e --format user,cmd | sed "s/$USER/user /g" USER CMD […] root /usr/bin/lightdm root \_ /usr/lib/xorg-server/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch root \_ lightdm --session-child 13 20 user \_ awesome user \_ logger --priority user notice --tag xprofile-user user \_ logger --priority user error --tag xprofile-user user \_ xss-lock slock user \_ cbatticon