[PATCH] Temporarily add modalias for Dell DMI match on dell-wmi

From: Mario Limonciello
Date: Tue Apr 28 2009 - 18:23:01 EST


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
--
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello@xxxxxxxx
--- a/drivers/platform/x86/dell-wmi.c~ 2009-04-28 17:12:01.000000000 -0500
+++ b/drivers/platform/x86/dell-wmi.c 2009-04-28 17:12:43.000000000 -0500
@@ -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;

Attachment: signature.asc
Description: OpenPGP digital signature