From: Mario Limonciello <mario_limonciello@dell.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Temporarily add modalias for Dell DMI match on dell-wmi
Date: Tue, 28 Apr 2009 17:22:57 -0500 [thread overview]
Message-ID: <49F781C1.4080001@dell.com> (raw)
[-- 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 --]
reply other threads:[~2009-04-28 22:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49F781C1.4080001@dell.com \
--to=mario_limonciello@dell.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox