Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

mech-forza-kmod

Minimal ACPI EC platform driver for the GX4HRXL. It owns the 4 KiB EC XRAM window at 0xFED50000, serializes all access, and exposes a small kernel interface. Fan curves, TCC and settings stay in the mech-forza-control Python CLI.

Requirements

  • MECHREVO GX4HRXL — DMI must match both MECHREVO and GX4HRXL.
  • ACPI device INOU0000 exposing the 0xFED50000, length 0x1000 memory resource.

Install

sudo pacman -S --needed dkms linux-headers   # or your kernel's headers package
makepkg -si

The package installs the sources under /usr/src/mechrevo-ec-<pkgver>/, builds the module with DKMS on install and on every kernel upgrade, and installs 60-mechrevo-ec.rules, which sets /dev/mechrevo-ec to 0660 root:wheel.

Use

The module has two jobs:

  1. Expose the standard interfaces — keyboard backlight, battery charge thresholds, fan speeds and performance profile show up through the regular LED, power_supply, hwmon and platform_profile classes, so desktop environments and generic tools need no extra software.
  2. Provide a raw bridge — /dev/mechrevo-ec gives serialized access to the EC XRAM for registers the classes do not cover. mech-forza-control is one consumer (fan curves, TCC, mode settings).

Docs

File Content
docs/safety.md resource ownership, permissions, teardown, ApExistFlag lifecycle
docs/interfaces.md ioctl ABI, sysfs attributes, charge-threshold mapping
docs/charge-limit-report.md original charge-limit field investigation

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages