Skip to content

Control the HP Omen keyboard lighting and performance settings in Linux

License

Notifications You must be signed in to change notification settings

DerGeorg/hp-omen-linux-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HP Omen special feature control for Linux

This is a version of the hp-wmi kernel module that implements some of the features of HP Omen Command Centre.

It's totally experimental right now, and could easily crash your machine.

USE AT YOUR OWN RISK

Currently working:

  • FourZone keyboard colour control (/sys/devices/platforms/hp-wmi/rgb-zones/zone0[0-3])
  • Omen hotkeys

Installation

  1. Install dkms and kernel headers if needed (already present on Ubuntu)

  2. Run sudo make install

Module will be built and installed, and DKMS will manage rebuilding it on kernel updates.

Usage

The module creates four files in /sys/devices/platform/hp-wmi/rgb_zones/ named zone00 - zone03.

To change zone highlight color, just print hex colour value in RGB format to the respective file. e.g:

sudo bash -c 'echo 00FFFF > /sys/devices/platform/hp-wmi/rgb_zones/zone00' to get sky-blue zone 0.

Omen and other hotkeys are bound to regular X11 keysyms, use your chosen desktop's hotkey manager to assign them to functions like any other key.

To do:

  • FourZone brightness control
  • Fan control

About

Control the HP Omen keyboard lighting and performance settings in Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.7%
  • Python 2.3%
  • Makefile 1.0%