diff --git a/debian/control b/debian/control index 930a159..2f6c742 100644 --- a/debian/control +++ b/debian/control @@ -1,5 +1,5 @@ Source: system76-dkms -Section: utils +Section: kernel Priority: optional Maintainer: Jeremy Soller Build-Depends: @@ -11,6 +11,7 @@ Homepage: https://github.com/pop-os/system76-dkms Package: system76-dkms Architecture: amd64 Depends: system76-driver, - ${misc:Depends}, - ${shlib:Depends} + ${misc:Depends} Description: System76 DKMS driver + This DKMS driver provides airplane mode, keyboard backlight, and fan support + for System76 laptops \ No newline at end of file diff --git a/fan.c b/hwmon.c similarity index 100% rename from fan.c rename to hwmon.c diff --git a/system76.c b/system76.c index fafedde..6affc8d 100644 --- a/system76.c +++ b/system76.c @@ -92,7 +92,7 @@ static int s76_wmbb(u32 method_id, u32 arg, u32 *retval) { #include "led.c" #include "input.c" #include "kb.c" -#include "fan.c" +#include "hwmon.c" static void s76_wmi_notify(u32 value, void *context) { u32 event; @@ -169,11 +169,12 @@ static int __init s76_dmi_matched(const struct dmi_system_id *id) { DMI_MATCH(DMI_PRODUCT_VERSION, PRODUCT), \ }, \ .callback = s76_dmi_matched, \ - .driver_data = &DATA, \ + .driver_data = DATA, \ } static struct dmi_system_id s76_dmi_table[] __initdata = { - DMI_TABLE("bonw13", kb_full_color_ops), + DMI_TABLE("bonw13", NULL), + DMI_TABLE("oryp3-b", NULL), {} };