Temporarily add modalias for Dell DMI match on dell-wmi
Subsystems (2)
PATCH 1/1 Temporarily add modalias for Dell DMI match on dell-wmi
Hi:
Until the sysfs interface is ready, there is no way to automatically load dell-wmi. The equivalent module for Acer laptops, acer-wmi has a workaround in place to match on the DMI tables for the machine. This type of solution works on for Dell as well and gets the module loading when necessary.
Patch is attached to prevent Exchange messing up line breaks.
Regards
Signature · 3 lines
Mario Limonciello *Dell | Linux Engineering* [email protected]
drivers/platform/x86/dell-wmi.c renamed from drivers/platform/x86/dell-wmi.c~ +4 -0
@@ -40,6 +40,10 @@MODULE_ALIAS ("wmi:" DELL_EVENT_GUID ); +/* Temporary workaround until the WMI sysfs interface goes in. +Borrowed from acer-wmi */ +MODULE_ALIAS ("dmi:*:*Dell*:*:" ); +struct key_entry {char type;/* See KE_* below */ u16 code;