parent
8dd2515b44
commit
4569e862b4
|
|
@ -1,5 +1,5 @@
|
||||||
Source: system76-dkms
|
Source: system76-dkms
|
||||||
Section: utils
|
Section: kernel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Jeremy Soller <jeremy@system76.com>
|
Maintainer: Jeremy Soller <jeremy@system76.com>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
|
|
@ -11,6 +11,7 @@ Homepage: https://github.com/pop-os/system76-dkms
|
||||||
Package: system76-dkms
|
Package: system76-dkms
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: system76-driver,
|
Depends: system76-driver,
|
||||||
${misc:Depends},
|
${misc:Depends}
|
||||||
${shlib:Depends}
|
|
||||||
Description: System76 DKMS driver
|
Description: System76 DKMS driver
|
||||||
|
This DKMS driver provides airplane mode, keyboard backlight, and fan support
|
||||||
|
for System76 laptops
|
||||||
|
|
@ -92,7 +92,7 @@ static int s76_wmbb(u32 method_id, u32 arg, u32 *retval) {
|
||||||
#include "led.c"
|
#include "led.c"
|
||||||
#include "input.c"
|
#include "input.c"
|
||||||
#include "kb.c"
|
#include "kb.c"
|
||||||
#include "fan.c"
|
#include "hwmon.c"
|
||||||
|
|
||||||
static void s76_wmi_notify(u32 value, void *context) {
|
static void s76_wmi_notify(u32 value, void *context) {
|
||||||
u32 event;
|
u32 event;
|
||||||
|
|
@ -169,11 +169,12 @@ static int __init s76_dmi_matched(const struct dmi_system_id *id) {
|
||||||
DMI_MATCH(DMI_PRODUCT_VERSION, PRODUCT), \
|
DMI_MATCH(DMI_PRODUCT_VERSION, PRODUCT), \
|
||||||
}, \
|
}, \
|
||||||
.callback = s76_dmi_matched, \
|
.callback = s76_dmi_matched, \
|
||||||
.driver_data = &DATA, \
|
.driver_data = DATA, \
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct dmi_system_id s76_dmi_table[] __initdata = {
|
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),
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue