diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/leds/Kconfig | 4 | ||||
-rw-r--r-- | drivers/leds/leds-clevo-mail.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index eb97c4113d78..4f56248fed4e 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -127,6 +127,7 @@ config LEDS_CLEVO_MAIL | |||
127 | 127 | ||
128 | This module can drive the mail LED for the following notebooks: | 128 | This module can drive the mail LED for the following notebooks: |
129 | 129 | ||
130 | Clevo D400P | ||
130 | Clevo D410J | 131 | Clevo D410J |
131 | Clevo D410V | 132 | Clevo D410V |
132 | Clevo D400V/D470V (not tested, but might work) | 133 | Clevo D400V/D470V (not tested, but might work) |
@@ -134,6 +135,9 @@ config LEDS_CLEVO_MAIL | |||
134 | Clevo M5x0N (not tested, but might work) | 135 | Clevo M5x0N (not tested, but might work) |
135 | Positivo Mobile (Clevo M5x0V) | 136 | Positivo Mobile (Clevo M5x0V) |
136 | 137 | ||
138 | If your model is not listed here you can try the "nodetect" | ||
139 | module paramter. | ||
140 | |||
137 | To compile this driver as a module, choose M here: the | 141 | To compile this driver as a module, choose M here: the |
138 | module will be called leds-clevo-mail. | 142 | module will be called leds-clevo-mail. |
139 | 143 | ||
diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c index 5750b08b601f..d78fe6cd5a52 100644 --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c | |||
@@ -69,6 +69,16 @@ static struct dmi_system_id __initdata mail_led_whitelist[] = { | |||
69 | }, | 69 | }, |
70 | { | 70 | { |
71 | .callback = clevo_mail_led_dmi_callback, | 71 | .callback = clevo_mail_led_dmi_callback, |
72 | .ident = "Clevo D400P", | ||
73 | .matches = { | ||
74 | DMI_MATCH(DMI_BOARD_VENDOR, "Clevo"), | ||
75 | DMI_MATCH(DMI_BOARD_NAME, "D400P"), | ||
76 | DMI_MATCH(DMI_BOARD_VERSION, "Rev.A"), | ||
77 | DMI_MATCH(DMI_PRODUCT_VERSION, "0106") | ||
78 | } | ||
79 | }, | ||
80 | { | ||
81 | .callback = clevo_mail_led_dmi_callback, | ||
72 | .ident = "Clevo D410V", | 82 | .ident = "Clevo D410V", |
73 | .matches = { | 83 | .matches = { |
74 | DMI_MATCH(DMI_BOARD_VENDOR, "Clevo, Co."), | 84 | DMI_MATCH(DMI_BOARD_VENDOR, "Clevo, Co."), |