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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux