epcim
12/3/2016 - 11:29 PM

lenovo, trackpoint, sensitivity, speed

lenovo, trackpoint, sensitivity, speed

# external kbd
echo ACTION=="add", ATTR{idVendor}=="17ef", ATTR{idProduct}=="6047", TAG+="systemd", ENV{SYSTEMD_WANTS}="udev-lenovo-kbd-attach.service" \
  | sudo tee /etc/udev/rules.d/99-lenovo-kbd.rules
  
echo "[Service]
Type=oneshot
ExecStart=/home/pmichalec/bin/lenovo_kbd.sh
User=pmichalec
" | sudo tee /etc/systemd/system/udev-lenovo-kbd-attach.service



# Trackpoint on laptop
echo '
SUBSYSTEM=="serio", DRIVERS=="psmouse", ATTR{sensitivity}="210", ATTR{speed}="190"
#SUBSYSTEM=="serio", DRIVERS=="psmouse", WAIT_FOR="/sys/devices/platform/i8042/serio1/serio2/sensitivity",
ATTR{sensitivity}="200", ATTR{speed}="190"
' | sudo tee /etc/udev/rules.d/99-trackpoint.rul