SAMSUNG LAPTOP - Driver e ottimizzazioni



Aggiungere la repository

sudo add-apt-repository ppa:voria/ppa
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install samsung-tools

Tasti funzione

sudo geany /lib/udev/keymaps/samsung-other

incollare 

0x74 prog1 # User key
0x75 www
0x78 mail
0x82 switchvideomode # Fn+F4 CRT/LCD (high keycode: "displaytoggle")
0x83 battery # Fn+F2
0x84 prog1 # Fn+F5 backlight on/off
0x86 wlan # Fn+F9
0x88 brightnessup # Fn-Up
0x89 brightnessdown # Fn-Down
0xB1 prog2 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice)
0xB3 prog3 # Fn+F8 switch power mode (battery/dynamic/performance)
0xB4 wlan # Fn+F9 (X60P)
0xF7 f22 # Fn+F10 Touchpad on
0xF9 f23 # Fn+F10 Touchpad off
0x96 kbdillumup # keyboard backlit up
0x97 kbdillumdown # keyboard backlit down
0xCE prog1 # system settings
0xD5 wlan # wifi toggle
modificare anche 
sudo geany /lib/udev/keymaps/force-release/samsung-other

scrivendoci dentro

# list of scancodes (hex or decimal), optional comment
0x82 # Fn+F4 CRT/LCD
0x83 # Fn+F2 battery
0x84 # Fn+F5 backlight on/off
0x86 # Fn+F9 WLAN
0x88 # Fn-Up brightness up
0x89 # Fn-Down brightness down
0xB3 # Fn+F8 switch power mode (battery/dynamic/performance)
0xF7 # Fn+F10 Touchpad on
0xF9 # Fn+F10 Touchpad off
0x96 # keyboard backlit up
0x97 # keyboard backlit down
0xCE # system settings
0xD5 # wifi toggle

qualora non dovesse funzionare provare con il comando

sudo echo 5 > /sys/devices/platform/samsung/leds/samsung::kbd_backlight/brightness


fix_keyboard_backlight.sh

#!/bin/sh
chmod 0777 /sys/class/leds/samsung::kbd_backlight/brightness

lower_key_backlightShell

#!/bin/sh
k_lvl="/sys/class/leds/samsung::kbd_backlight/brightness"
value="$(cat $k_lvl)" let value--
echo $value > $k_lvl

raise_key_backlightShell

#!/bin/sh
k_lvl="/sys/class/leds/samsung::kbd_backlight/brightness"
value="$(cat $k_lvl)"
let value++
echo $value > $k_lvl