BeardOverflow / msi-ec

GNU General Public License v2.0
145 stars 45 forks source link

Port to Linux 6.2 #27

Closed teackot closed 1 year ago

teackot commented 1 year ago

We need to port the dirver to Linux 6.2 as battery hook API has changed. It is just a matter of adding struct acpi_battery_hook *hook argument to msi_battery_add and msi_battery_remove functions.

We also need to provide a patch for distros that still use previous versions. Maybe make patching automatic.

It is already fixed in the upstream kernel patch, so we only need to catch up with it here.

teackot commented 1 year ago

Done