I recently got a Samsung NP900X3N and I am trying to make the backlight work (with Linux Mint 18.1 and Kernel 4.10 on UEFI). I have read a lot about it and I am aware that there exist many pages on that topic, but they are all old (3+ years) and I couldn't make any of them work for me (maybe because this version of the laptop is relatively new).
Some things I have tried are:
- I have downloaded and installed the
samsung-toolspackage, but running it gives me an error after about 2 minutes of no output.
- I've tried to find a
samsung::kbd_backlight/brightnessfile according to this simple answer, but apparently there is none (I could only find a
phy0-led/brightness, which I don't know what does but is already set to 1).
- I have tried to follow this guide on a very manual approach, but to be honest I wasn't able to make it too far (probably for lack of knowledge on my part, but I there must be a less convoluted approach)
- Checking out the scan code of the key by checking the kernel log as suggested by this answer.
This last one is the one that came the closest, and the one I would like to pursue further. When pressing
fn+f9 (toggle keyboard backlight) I get the scan code
e02c assigned to that key. So I did
sudo setkeycodes e02c 230
as suggested by the answer. So when I press this key, I get a notification that shows a keyboard light symbol, which I believe it's a good sign, but nothing happens.
As the question states the keycode value 230 is for increasing the kbdlight, but my laptop doesn't have that: it only has the toggle kbdlight key. So I think this might be the problem, but I can't find a "toggle" keycode (which might be due to my inability to understand
I tried using
xmodmap -pke | less to find the "toggle keyboard backlight", which is listed as keycode 236, but apparently the numbers on that list don't really work.
lrwxrwxrwx 1 root root 0 Apr 28 07:16 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/
I had already tried changing the value at
/sys/class/backlight/brightness, but this only controls the display brightness.
lrwxrwxrwx 1 root root 0 Apr 28 07:19 input3::capslock -> ../../devices/platform/i8042/serio0/input/input3/input3::capslock/ lrwxrwxrwx 1 root root 0 Apr 28 07:19 input3::numlock -> ../../devices/platform/i8042/serio0/input/input3/input3::numlock/ lrwxrwxrwx 1 root root 0 Apr 28 07:19 input3::scrolllock -> ../../devices/platform/i8042/serio0/input/input3/input3::scrolllock/ lrwxrwxrwx 1 root root 0 Apr 28 07:19 phy0-led -> ../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/phy0-led/
The capslock is what it says (I've tested). The numlock doesn't appear to do anything, since I changed the value from 0 to the max and nothing happened (my keyboard doesn't have a numlock. The scrolllock also doesn't appear to do anything. I also don't know what
phy0-led. It's set to 1 already, and putting 0 doesn't seem to do anything.
modprobe samsung-laptop gives me the follow error
modprobe: ERROR: could not insert 'samsung_laptop': No such device
which appears to be an old bug.