https://github.com/zeripath/hp_wmi
https://github.com/zeripath/hp_wmi
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeripath/hp_wmi
- Owner: zeripath
- License: other
- Created: 2021-10-24T20:55:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-24T21:04:57.000Z (over 4 years ago)
- Last Synced: 2025-01-23T22:30:56.775Z (over 1 year ago)
- Language: C
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# HP_WMI with Keyboardled supports for HP OMEN 15 Laptops
This repository contains a small DKMS module containing a change to the
hp_wmi.c module from the linux kernel 5.4.0 to add keyboardleds support.
Copy the files to /usr/src/hp-wmi-1.1.0 and add to dkms.
## Read the LEDS
`cat /sys/devices/platform/hp-wmi/keyboardleds`
will return the current led status for the 4 keyboard zones
(If the keyboard leds are off this will return all #000000 - and you will have
to turn them on manually to get the status.)
## Write the LEDS
`echo "#0f84fa #710ffa #f9e50f #faac0f" | sudo tee /sys/devices/platform/hp-wmi/keyboardleds`
will change the leds to the above 4 values