goodixmoc: add PID 609C/6584/658C/6592/659C

add some new PID support,
609C: Framework fingerprint sensor
65xx: Thinkpad series fingerprint sensor
This commit is contained in:
boger 2021-06-23 15:14:33 +08:00
parent 9dd72611bf
commit 1ed2b23902
2 changed files with 18 additions and 4 deletions

View file

@ -131,11 +131,16 @@ usb:v1C7Ap0603*
# Supported by libfprint driver goodixmoc # Supported by libfprint driver goodixmoc
usb:v27C6p5840* usb:v27C6p5840*
usb:v27C6p6496* usb:v27C6p609C*
usb:v27C6p60A2* usb:v27C6p60A2*
usb:v27C6p63AC*
usb:v27C6p639C* usb:v27C6p639C*
usb:v27C6p63AC*
usb:v27C6p6496*
usb:v27C6p6584*
usb:v27C6p658C*
usb:v27C6p6592*
usb:v27C6p6594* usb:v27C6p6594*
usb:v27C6p659C*
usb:v27C6p6A94* usb:v27C6p6A94*
ID_AUTOSUSPEND=1 ID_AUTOSUSPEND=1

View file

@ -1317,6 +1317,10 @@ gx_fp_probe (FpDevice *device)
{ {
case 0x6496: case 0x6496:
case 0x60A2: case 0x60A2:
case 0x609C:
case 0x639C:
case 0x63AC:
case 0x6A94:
self->max_enroll_stage = 12; self->max_enroll_stage = 12;
break; break;
@ -1535,11 +1539,16 @@ fpi_device_goodixmoc_init (FpiDeviceGoodixMoc *self)
static const FpIdEntry id_table[] = { static const FpIdEntry id_table[] = {
{ .vid = 0x27c6, .pid = 0x5840, }, { .vid = 0x27c6, .pid = 0x5840, },
{ .vid = 0x27c6, .pid = 0x6496, }, { .vid = 0x27c6, .pid = 0x609C, },
{ .vid = 0x27c6, .pid = 0x60A2, }, { .vid = 0x27c6, .pid = 0x60A2, },
{ .vid = 0x27c6, .pid = 0x63AC, },
{ .vid = 0x27c6, .pid = 0x639C, }, { .vid = 0x27c6, .pid = 0x639C, },
{ .vid = 0x27c6, .pid = 0x63AC, },
{ .vid = 0x27c6, .pid = 0x6496, },
{ .vid = 0x27c6, .pid = 0x6584, },
{ .vid = 0x27c6, .pid = 0x658C, },
{ .vid = 0x27c6, .pid = 0x6592, },
{ .vid = 0x27c6, .pid = 0x6594, }, { .vid = 0x27c6, .pid = 0x6594, },
{ .vid = 0x27c6, .pid = 0x659C, },
{ .vid = 0x27c6, .pid = 0x6A94, }, { .vid = 0x27c6, .pid = 0x6A94, },
{ .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */
}; };