public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Temporarily add modalias for Dell DMI match on dell-wmi
@ 2009-04-28 22:22 Mario Limonciello
  0 siblings, 0 replies; only message in thread
From: Mario Limonciello @ 2009-04-28 22:22 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-acpi, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 465 bytes --]

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@dell.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: dell-wmi-temporary-modalias.patch --]
[-- Type: text/x-patch; name="dell-wmi-temporary-modalias.patch", Size: 420 bytes --]

--- 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-28 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 22:22 [PATCH] Temporarily add modalias for Dell DMI match on dell-wmi Mario Limonciello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox