[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#835160: (linux-image-4.6.0-1-amd64: touchpad support on Fujitsu LIFEBOOK E556 does not work with crc_enabled == 0)



The touchpad used in the laptop Fujitsu LIFEBOOK E556 is not supported 
by the linux kernel yet.

The driver input/mouse/elantech.c provides already support for some other
Fujitsu LIFEBOOK types. The same support is needed for "LIFEBOOK E556" too. 
After adding a similar section related to "LIFEBOOK E556" the touchpad works
fine.

The values for the firmware version and Synaptics capabilities are taken
from the kernel boot messages:

elantech: assuming hardware version 4 (with firmware version 0x570f01)
elantech: Synaptics capabilities query result 0xc0, 0x14, 0x0c.

The touchpad has two hardware buttons.

Signed-off-by: Edgar Mueller 

diff -uprN linux-source-4.7/drivers/input/mouse/elantech.c linux-source-4.7_modified/drivers/input/mouse/elantech.c
--- linux-source-4.7/drivers/input/mouse/elantech.c	2016-10-26 19:54:28.482642983 +0200
+++ linux-source-4.7_modified/drivers/input/mouse/elantech.c	2016-10-26 19:59:50.522789066 +0200
@@ -1123,6 +1123,7 @@ static int elantech_get_resolution_v4(st
  * Avatar AVIU-145A2       0x361f00        ?               clickpad
  * Fujitsu LIFEBOOK E544   0x470f00        d0, 12, 09      2 hw buttons
  * Fujitsu LIFEBOOK E554   0x570f01        40, 14, 0c      2 hw buttons
+ * Fujitsu LIFEBOOK E556   0x570f01        c0, 14, 0c      2 hw buttons
  * Fujitsu T725            0x470f01        05, 12, 09      2 hw buttons
  * Fujitsu H730            0x570f00        c0, 14, 0c      3 hw buttons (**)
  * Gigabyte U2442          0x450f01        58, 17, 0c      2 hw buttons
@@ -1514,6 +1515,13 @@ static const struct dmi_system_id elante
 		},
 	},
 	{
+		/* Fujitsu LIFEBOOK E556  does not work with crc_enabled == 0 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E556"),
+		},
+	},
+	{
 		/* Fujitsu LIFEBOOK E544  does not work with crc_enabled == 0 */
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),


Reply to: