jekhor / yogabook-linux

Yoga Book Linux porting efforts, umbrella repository for link all pieces together
74 stars 8 forks source link

Implement keyboard backlight control #8

Closed jekhor closed 5 years ago

jekhor commented 5 years ago

Keyboard uses PWM2 for backlight control. Driver has been enabled in the https://github.com/jekhor/yogabook-linux-kernel/commit/e97674268bb047a461a0a4f844798d29ed16de1b

How to activate:

cd /sys/class/pwm/pwmchip1/
echo 0 > export
cd pwm0
echo 1 > enable