packages: kernel/kernel.spec, kernel/linux-wistron-amilo8210.patch (NEW) - ...

qboosh qboosh at pld-linux.org
Sun Feb 20 21:40:23 CET 2011


Author: qboosh                       Date: Sun Feb 20 20:40:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added linux-wistron-amilo8210 patch (support for F-S Amilo Pro 8210 keys and RFKILL)
  (for testing before submitting upstream)

---- Files affected:
packages/kernel:
   kernel.spec (1.878 -> 1.879) , linux-wistron-amilo8210.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kernel/kernel.spec
diff -u packages/kernel/kernel.spec:1.878 packages/kernel/kernel.spec:1.879
--- packages/kernel/kernel.spec:1.878	Sun Feb 20 18:53:17 2011
+++ packages/kernel/kernel.spec	Sun Feb 20 21:40:18 2011
@@ -169,6 +169,7 @@
 # http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.25-rc6.patch
 Patch3:		kernel-fbcondecor.patch
 Patch4:		kernel-fbcon-margins.patch
+Patch5:		linux-wistron-amilo8210.patch
 
 # netfilter related stuff mostly based on patch-o-matic-ng
 # snapshot 20070806 with some fixes. Some modules
@@ -682,6 +683,7 @@
 %patch3 -p1
 %endif
 %patch4 -p1
+%patch5 -p1
 
 ## netfilter
 #
@@ -1530,6 +1532,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.879  2011/02/20 20:40:18  qboosh
+- added linux-wistron-amilo8210 patch (support for F-S Amilo Pro 8210 keys and RFKILL)
+  (for testing before submitting upstream)
+
 Revision 1.878  2011/02/20 17:53:17  glen
 - KERNELSRC = %{srcdir}
 

================================================================
Index: packages/kernel/linux-wistron-amilo8210.patch
diff -u /dev/null packages/kernel/linux-wistron-amilo8210.patch:1.1
--- /dev/null	Sun Feb 20 21:40:23 2011
+++ packages/kernel/linux-wistron-amilo8210.patch	Sun Feb 20 21:40:18 2011
@@ -0,0 +1,35 @@
+--- 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 V8210"),
++		},
++		.driver_data = keymap_fs_amilo_pro_v8210
++	},
++	{
+ 		/* Fujitsu-Siemens Amilo M7400 */
+ 		.callback = dmi_matched,
+ 		.matches = {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel.spec?r1=1.878&r2=1.879&f=u



More information about the pld-cvs-commit mailing list