From: "Németh Márton" <nm127@freemail.hu>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: Andrey Kamenov <akamenov@users.sourceforge.net>,
LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] leds: add mail LED support for "Clevo D400P"
Date: Sun, 10 Feb 2008 13:54:33 +0100 [thread overview]
Message-ID: <47AEF409.1030800@freemail.hu> (raw)
The leds-clevo-mail module also works with model "Clevo D400P",
add this model to the white list.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Cc: Andrey Kamenov <akamenov@users.sourceforge.net>
---
diff -uprN a/drivers/leds/Kconfig b/drivers/leds/Kconfig
--- a/drivers/leds/Kconfig 2008-02-09 08:02:16.000000000 +0100
+++ b/drivers/leds/Kconfig 2008-02-10 13:47:31.000000000 +0100
@@ -135,6 +135,7 @@ config LEDS_CLEVO_MAIL
This module can drive the mail LED for the following notebooks:
+ Clevo D400P
Clevo D410J
Clevo D410V
Clevo D400V/D470V (not tested, but might work)
@@ -142,6 +143,9 @@ config LEDS_CLEVO_MAIL
Clevo M5x0N (not tested, but might work)
Positivo Mobile (Clevo M5x0V)
+ If your model is not listed here you can try the "nodetect"
+ module paramter.
+
To compile this driver as a module, choose M here: the
module will be called leds-clevo-mail.
diff -uprN a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c
--- a/drivers/leds/leds-clevo-mail.c 2008-02-09 08:02:16.000000000 +0100
+++ b/drivers/leds/leds-clevo-mail.c 2008-02-10 13:07:51.000000000 +0100
@@ -69,6 +69,16 @@ static struct dmi_system_id __initdata m
},
{
.callback = clevo_mail_led_dmi_callback,
+ .ident = "Clevo D400P",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Clevo"),
+ DMI_MATCH(DMI_BOARD_NAME, "D400P"),
+ DMI_MATCH(DMI_BOARD_VERSION, "Rev.A"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "0106")
+ }
+ },
+ {
+ .callback = clevo_mail_led_dmi_callback,
.ident = "Clevo D410V",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Clevo, Co."),
reply other threads:[~2008-02-10 12:55 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=47AEF409.1030800@freemail.hu \
--to=nm127@freemail.hu \
--cc=akamenov@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.