Skip to content

khadievedem/asus-zenbook-numpad-driver-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Numpad-touchpad Linux driver for Asus Zenbook

On linux there is no numericpad support for my laptop "out of the box", so I will try to implement it.

Screenshot (photo tbe)

LED Numpad integrated into the touchpad:

Features

  • Switching LED on touchpad
  • 5 levels of brightness
  • So far only for model UM433D
  • Use log instead of println :)
  • Make numpad work (UM433D only)
  • Support for a custom application starts on the upper left button press

Additional features - unimplemented!()

  • implement the finding of the corresponding Touchpad event in /proc/bus/input/devices
  • Implement for different Asus Zenbook models with/without % symbol
  • systemd module

How to run (temporary instruction for tough guys)

Prerequisites

Install rustup:

Read "Installation" from 'The Rust Programming Language' book.

Install [ libevdev i2c-tools git ]

I hope you're using archlinux :-)
$ sudo pacman -S libevdev i2c-tools git

Load i2c-dev module

$ sudo modprobe i2c-dev

Clone

$ git clone https://github.com/khadievedem/asus-zenbook-numpad-driver-rs
$ cd ./asus-zenbook-numpad-driver-rs

Run

without Debug info

$ sudo cargo run *arg

with Debug info

$ sudo RUST_LOG=debug cargo run *arg

Add *arg - the path to your application binary that will run when you press on upper-left button

Thanks!

Thanks to Mohamed Badaoui for his Python implementation and inspiration.

About

Driver implementation for model UM433D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages