Skip to content
Snippets Groups Projects
Commit 21877550 authored by Dustin L. Howett's avatar Dustin L. Howett
Browse files

Add a README

parent 5c430386
No related merge requests found
A kernel module that exposes the Framework Laptop (13, 16)'s battery charge limit and LEDs to userspace.
## Building
By default, this project will try to build a module for your running kernel.
```console
$ make
```
If you need to target a different kernel, set `KDIR`:
```console
$ make KDIR=/usr/src/linux-6.5
```
## Using
You can install the module systemwide with `make modules_install`, or you can `insmod ./framework_laptop.ko`.
### Battery Charge Limit
- Exposed via `charge_control_end_threshold`, available on `BAT1`
- `/sys/class/power_supply/BAT1/charge_control_end_threshold`
### LEDs
- `/sys/class/leds/framework_laptop::kbd_backlight`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment