Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afdc3083 authored by Artem Borisov's avatar Artem Borisov Committed by Greg Kroah-Hartman
Browse files

HID: alps: Add AUI1657 device ID



[ Upstream commit 640e403b1fd24e7f31ac6f29f0b6a21d285ed729 ]

This device is used on Lenovo V130-15IKB variants and uses
the same registers as U1.

Signed-off-by: default avatarArtem Borisov <dedsa2002@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0faf568d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -806,6 +806,7 @@ static int alps_probe(struct hid_device *hdev, const struct hid_device_id *id)
		break;
	case HID_DEVICE_ID_ALPS_U1_DUAL:
	case HID_DEVICE_ID_ALPS_U1:
	case HID_DEVICE_ID_ALPS_1657:
		data->dev_type = U1;
		break;
	default:
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@
#define HID_DEVICE_ID_ALPS_U1		0x1215
#define HID_DEVICE_ID_ALPS_T4_BTNLESS	0x120C
#define HID_DEVICE_ID_ALPS_1222		0x1222

#define HID_DEVICE_ID_ALPS_1657         0x121E

#define USB_VENDOR_ID_AMI		0x046b
#define USB_DEVICE_ID_AMI_VIRT_KEYBOARD_AND_MOUSE	0xff10