Skip to content

Commit 376566c

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov: "Just a couple of driver quirks" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: trackpoint - add new trackpoint variant IDs Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists
2 parents 5868ec2 + 6c77545 commit 376566c

3 files changed

Lines changed: 28 additions & 8 deletions

File tree

drivers/input/mouse/trackpoint.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
#include "trackpoint.h"
1818

1919
static const char * const trackpoint_variants[] = {
20-
[TP_VARIANT_IBM] = "IBM",
21-
[TP_VARIANT_ALPS] = "ALPS",
22-
[TP_VARIANT_ELAN] = "Elan",
23-
[TP_VARIANT_NXP] = "NXP",
20+
[TP_VARIANT_IBM] = "IBM",
21+
[TP_VARIANT_ALPS] = "ALPS",
22+
[TP_VARIANT_ELAN] = "Elan",
23+
[TP_VARIANT_NXP] = "NXP",
24+
[TP_VARIANT_JYT_SYNAPTICS] = "JYT_Synaptics",
25+
[TP_VARIANT_SYNAPTICS] = "Synaptics",
2426
};
2527

2628
/*

drivers/input/mouse/trackpoint.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@
2424
* 0x01 was the original IBM trackpoint, others implement very limited
2525
* subset of trackpoint features.
2626
*/
27-
#define TP_VARIANT_IBM 0x01
28-
#define TP_VARIANT_ALPS 0x02
29-
#define TP_VARIANT_ELAN 0x03
30-
#define TP_VARIANT_NXP 0x04
27+
#define TP_VARIANT_IBM 0x01
28+
#define TP_VARIANT_ALPS 0x02
29+
#define TP_VARIANT_ELAN 0x03
30+
#define TP_VARIANT_NXP 0x04
31+
#define TP_VARIANT_JYT_SYNAPTICS 0x05
32+
#define TP_VARIANT_SYNAPTICS 0x06
3133

3234
/*
3335
* Commands

drivers/input/serio/i8042-x86ia64io.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,14 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
548548
DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5738"),
549549
},
550550
},
551+
{
552+
/* Entroware Proteus */
553+
.matches = {
554+
DMI_MATCH(DMI_SYS_VENDOR, "Entroware"),
555+
DMI_MATCH(DMI_PRODUCT_NAME, "Proteus"),
556+
DMI_MATCH(DMI_PRODUCT_VERSION, "EL07R4"),
557+
},
558+
},
551559
{ }
552560
};
553561

@@ -676,6 +684,14 @@ static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {
676684
DMI_MATCH(DMI_PRODUCT_NAME, "33474HU"),
677685
},
678686
},
687+
{
688+
/* Entroware Proteus */
689+
.matches = {
690+
DMI_MATCH(DMI_SYS_VENDOR, "Entroware"),
691+
DMI_MATCH(DMI_PRODUCT_NAME, "Proteus"),
692+
DMI_MATCH(DMI_PRODUCT_VERSION, "EL07R4"),
693+
},
694+
},
679695
{ }
680696
};
681697

0 commit comments

Comments
 (0)