Add support Goodix device (27c6:650a)
Found in new IdeaPad Slim 5 14AHP9
Bus 001 Device 002: ID 27c6:650a Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x27c6 Shenzhen Goodix Technology Co.,Ltd.
idProduct 0x650a Goodix USB2.0 MISC
bcdDevice 1.00
iManufacturer 1 Goodix Technology Co., Ltd.
iProduct 2 Goodix USB2.0 MISC
iSerial 3 UID3D08B814_XXXX_MOC_B0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 UID3D08B814_XXXX_MOC_B0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0 [unknown]
bInterfaceProtocol 0
iInterface 4 MISC Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
Worked after editing:
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
index d27813b..0072e01 100644
--- a/data/autosuspend.hwdb
+++ b/data/autosuspend.hwdb
@@ -200,6 +200,7 @@ usb:v27C6p63AC*
usb:v27C6p63BC*
usb:v27C6p63CC*
usb:v27C6p6496*
+usb:v27C6p650A*
usb:v27C6p650C*
usb:v27C6p6582*
usb:v27C6p6584*
diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c
index 24d491d..42209cd 100644
--- a/libfprint/drivers/goodixmoc/goodix.c
+++ b/libfprint/drivers/goodixmoc/goodix.c
@@ -1375,6 +1375,7 @@ gx_fp_probe (FpDevice *device)
case 0x63AC:
case 0x63BC:
case 0x63CC:
+ case 0x650A:
case 0x650C:
case 0x6582:
case 0x6A94:
@@ -1627,6 +1628,7 @@ static const FpIdEntry id_table[] = {
{ .vid = 0x27c6, .pid = 0x63BC, },
{ .vid = 0x27c6, .pid = 0x63CC, },
{ .vid = 0x27c6, .pid = 0x6496, },
+ { .vid = 0x27c6, .pid = 0x650A, },
{ .vid = 0x27c6, .pid = 0x650C, },
{ .vid = 0x27c6, .pid = 0x6582, },
{ .vid = 0x27c6, .pid = 0x6584, },