All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [RESEND] wistron_btns: FS AMILO Pro 8210 support
@ 2013-07-02 14:51 Jakub Bogusz
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Bogusz @ 2013-07-02 14:51 UTC (permalink / raw)
  To: Miloslav Trmac, linux-kernel

Hello,

The attached patch adds Fujitsu-Siemens AMILO Pro 8210 support to
wistron_btns driver.

I already sent it in 2011, but there was no feedback.
It still applies to linux 3.10 sources.


-- 
Jakub Bogusz    http://qboosh.pl/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] [RESEND] wistron_btns: FS AMILO Pro 8210 support
  2013-07-02 15:20 Jakub Bogusz
@ 2014-01-28  1:26 ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2014-01-28  1:26 UTC (permalink / raw)
  To: Jakub Bogusz; +Cc: Miloslav Trmac, linux-kernel

Hi Jakub,

On Tue, Jul 02, 2013 at 05:20:48PM +0200, Jakub Bogusz wrote:
> (sorry, I forgot to attach the actual patch in my previous message)
> 
> Hello,
> 
> The attached patch adds Fujitsu-Siemens AMILO Pro 8210 support to
> wistron_btns driver.
> 
> I already sent it in 2011, but there was no feedback.
> It still applies to linux 3.10 sources.

I just stumbled upon your patch in my LKML archives. It looks quite
reasonable, I will be applying it.

Thanks.

> 
> 
> -- 
> Jakub Bogusz    http://qboosh.pl/

> This patch adds Fujitsu-Siemens AMILO Pro 8210 support to wistron_btns driver.
> 
> Functions are very similar to already supported AMILO Pro 3505, but 8210
> has WIFI led.
> 
> Such functionality is needed to enable WiFi under Linux on 8210 when it cold
> boots with hardware rfkill enabled, without booting another operating system
> or running custom utility that calls appropriate BIOS function.
> 
> Signed-off-by: Jakub Bogusz <qboosh@pld-linux.org>
> 
> --- linux-2.6.37/drivers/input/misc/wistron_btns.c.orig	2011-01-05 01:50:19.000000000 +0100
> +++ linux-2.6.37/drivers/input/misc/wistron_btns.c	2011-02-19 07:51:36.000000000 +0100
> @@ -278,6 +278,16 @@
>  	{ KE_END,       0 }
>  };
>  
> +static struct key_entry keymap_fs_amilo_pro_v8210[] __initdata = {
> +	{ KE_KEY,       0x01, {KEY_HELP} },          /* Fn+F1 */
> +	{ KE_KEY,       0x06, {KEY_DISPLAYTOGGLE} }, /* Fn+F4 */
> +	{ KE_BLUETOOTH, 0x30 },                      /* Fn+F10 */
> +	{ KE_KEY,       0x31, {KEY_MAIL} },          /* mail button */
> +	{ KE_KEY,       0x36, {KEY_WWW} },           /* www button */
> +	{ KE_WIFI,      0x78 },                      /* satelite dish button */
> +	{ KE_END,       FE_WIFI_LED }
> +};
> +
>  static struct key_entry keymap_fujitsu_n3510[] __initdata = {
>  	{ KE_KEY, 0x11, {KEY_PROG1} },
>  	{ KE_KEY, 0x12, {KEY_PROG2} },
> @@ -655,6 +665,15 @@
>  		.driver_data = keymap_fs_amilo_pro_v3505
>  	},
>  	{
> +		/* Fujitsu-Siemens Amilo Pro Edition V8210 */
> +		.callback = dmi_matched,
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pro Series V8210"),
> +		},
> +		.driver_data = keymap_fs_amilo_pro_v8210
> +	},
> +	{
>  		/* Fujitsu-Siemens Amilo M7400 */
>  		.callback = dmi_matched,
>  		.matches = {


-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] [RESEND] wistron_btns: FS AMILO Pro 8210 support
@ 2013-07-02 15:20 Jakub Bogusz
  2014-01-28  1:26 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Bogusz @ 2013-07-02 15:20 UTC (permalink / raw)
  To: Miloslav Trmac, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

(sorry, I forgot to attach the actual patch in my previous message)

Hello,

The attached patch adds Fujitsu-Siemens AMILO Pro 8210 support to
wistron_btns driver.

I already sent it in 2011, but there was no feedback.
It still applies to linux 3.10 sources.


-- 
Jakub Bogusz    http://qboosh.pl/

[-- Attachment #2: linux-wistron-amilo8210.patch --]
[-- Type: text/plain, Size: 1699 bytes --]

This patch adds Fujitsu-Siemens AMILO Pro 8210 support to wistron_btns driver.

Functions are very similar to already supported AMILO Pro 3505, but 8210
has WIFI led.

Such functionality is needed to enable WiFi under Linux on 8210 when it cold
boots with hardware rfkill enabled, without booting another operating system
or running custom utility that calls appropriate BIOS function.

Signed-off-by: Jakub Bogusz <qboosh@pld-linux.org>

--- linux-2.6.37/drivers/input/misc/wistron_btns.c.orig	2011-01-05 01:50:19.000000000 +0100
+++ linux-2.6.37/drivers/input/misc/wistron_btns.c	2011-02-19 07:51:36.000000000 +0100
@@ -278,6 +278,16 @@
 	{ KE_END,       0 }
 };
 
+static struct key_entry keymap_fs_amilo_pro_v8210[] __initdata = {
+	{ KE_KEY,       0x01, {KEY_HELP} },          /* Fn+F1 */
+	{ KE_KEY,       0x06, {KEY_DISPLAYTOGGLE} }, /* Fn+F4 */
+	{ KE_BLUETOOTH, 0x30 },                      /* Fn+F10 */
+	{ KE_KEY,       0x31, {KEY_MAIL} },          /* mail button */
+	{ KE_KEY,       0x36, {KEY_WWW} },           /* www button */
+	{ KE_WIFI,      0x78 },                      /* satelite dish button */
+	{ KE_END,       FE_WIFI_LED }
+};
+
 static struct key_entry keymap_fujitsu_n3510[] __initdata = {
 	{ KE_KEY, 0x11, {KEY_PROG1} },
 	{ KE_KEY, 0x12, {KEY_PROG2} },
@@ -655,6 +665,15 @@
 		.driver_data = keymap_fs_amilo_pro_v3505
 	},
 	{
+		/* Fujitsu-Siemens Amilo Pro Edition V8210 */
+		.callback = dmi_matched,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pro Series V8210"),
+		},
+		.driver_data = keymap_fs_amilo_pro_v8210
+	},
+	{
 		/* Fujitsu-Siemens Amilo M7400 */
 		.callback = dmi_matched,
 		.matches = {

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-28  1:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02 14:51 [PATCH] [RESEND] wistron_btns: FS AMILO Pro 8210 support Jakub Bogusz
2013-07-02 15:20 Jakub Bogusz
2014-01-28  1:26 ` Dmitry Torokhov

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.