f1559b73f3
While useful, there are advantages for this to be done by the surrounding code (i.e. fprintd). As such, remove the identify stage from the goodix driver and rely on fprintd doing it for us. One can probably argue that neither solution is perfect. Ideally, we would probably return the information required to delete the old print to the upper stack and let the driver/device handle the duplicate checking. However, for now this works well. We may need to reconsider this if we get devices that do the duplicate checking transparently and just throw an enroll error. Closes: #415
223 lines
7.8 KiB
Text
223 lines
7.8 KiB
Text
P: /devices/pci0000:00/0000:00:14.0/usb1/1-3
|
|
N: bus/usb/001/034=12010002EF000040C627966400010102030109022000010103A0320904000002FF0000040705830240000007050102400000
|
|
E: DEVNAME=/dev/bus/usb/001/034
|
|
E: DEVTYPE=usb_device
|
|
E: DRIVER=usb
|
|
E: PRODUCT=27c6/6496/100
|
|
E: TYPE=239/0/0
|
|
E: BUSNUM=001
|
|
E: DEVNUM=034
|
|
E: MAJOR=189
|
|
E: MINOR=33
|
|
E: SUBSYSTEM=usb
|
|
E: ID_VENDOR=Goodix_Technology_Co.__Ltd.
|
|
E: ID_VENDOR_ENC=Goodix\x20Technology\x20Co.\x2c\x20Ltd.
|
|
E: ID_VENDOR_ID=27c6
|
|
E: ID_MODEL=Goodix_USB2.0_MISC
|
|
E: ID_MODEL_ENC=Goodix\x20USB2.0\x20MISC
|
|
E: ID_MODEL_ID=6496
|
|
E: ID_REVISION=0100
|
|
E: ID_SERIAL=Goodix_Technology_Co.__Ltd._Goodix_USB2.0_MISC_XXXX_MOC_B0
|
|
E: ID_SERIAL_SHORT=XXXX_MOC_B0
|
|
E: ID_BUS=usb
|
|
E: ID_USB_INTERFACES=:ff0000:
|
|
E: ID_VENDOR_FROM_DATABASE=Shenzhen Goodix Technology Co.,Ltd.
|
|
E: ID_AUTOSUSPEND=1
|
|
E: ID_PATH=pci-0000:00:14.0-usb-0:3
|
|
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_3
|
|
A: authorized=1
|
|
A: avoid_reset_quirk=0
|
|
A: bConfigurationValue=1
|
|
A: bDeviceClass=ef
|
|
A: bDeviceProtocol=00
|
|
A: bDeviceSubClass=00
|
|
A: bMaxPacketSize0=64
|
|
A: bMaxPower=100mA
|
|
A: bNumConfigurations=1
|
|
A: bNumInterfaces= 1
|
|
A: bcdDevice=0100
|
|
A: bmAttributes=a0
|
|
A: busnum=1
|
|
A: configuration=XXXX_MOC_B0
|
|
H: descriptors=12010002EF000040C627966400010102030109022000010103A0320904000002FF0000040705830240000007050102400000
|
|
A: dev=189:33
|
|
A: devnum=34
|
|
A: devpath=3
|
|
L: driver=../../../../../bus/usb/drivers/usb
|
|
L: firmware_node=../../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1c/device:1d/device:20
|
|
A: idProduct=6496
|
|
A: idVendor=27c6
|
|
A: ltm_capable=no
|
|
A: manufacturer=Goodix Technology Co., Ltd.
|
|
A: maxchild=0
|
|
L: port=../1-0:1.0/usb1-port3
|
|
A: power/active_duration=116314
|
|
A: power/autosuspend=2
|
|
A: power/autosuspend_delay_ms=2000
|
|
A: power/connected_duration=262713
|
|
A: power/control=auto
|
|
A: power/level=auto
|
|
A: power/persist=1
|
|
A: power/runtime_active_time=116650
|
|
A: power/runtime_status=active
|
|
A: power/runtime_suspended_time=145822
|
|
A: power/wakeup=disabled
|
|
A: power/wakeup_abort_count=
|
|
A: power/wakeup_active=
|
|
A: power/wakeup_active_count=
|
|
A: power/wakeup_count=
|
|
A: power/wakeup_expire_count=
|
|
A: power/wakeup_last_time_ms=
|
|
A: power/wakeup_max_time_ms=
|
|
A: power/wakeup_total_time_ms=
|
|
A: product=Goodix USB2.0 MISC
|
|
A: quirks=0x0
|
|
A: removable=removable
|
|
A: rx_lanes=1
|
|
A: serial=XXXX_MOC_B0
|
|
A: speed=12
|
|
A: tx_lanes=1
|
|
A: urbnum=1334
|
|
A: version= 2.00
|
|
|
|
P: /devices/pci0000:00/0000:00:14.0/usb1
|
|
N: bus/usb/001/001=12010002090001406B1D020013050302010109021900010100E0000904000001090000000705810304000C
|
|
E: DEVNAME=/dev/bus/usb/001/001
|
|
E: DEVTYPE=usb_device
|
|
E: DRIVER=usb
|
|
E: PRODUCT=1d6b/2/513
|
|
E: TYPE=9/0/1
|
|
E: BUSNUM=001
|
|
E: DEVNUM=001
|
|
E: MAJOR=189
|
|
E: MINOR=0
|
|
E: SUBSYSTEM=usb
|
|
E: ID_VENDOR=Linux_5.13.15-200.fc34.x86_64_xhci-hcd
|
|
E: ID_VENDOR_ENC=Linux\x205.13.15-200.fc34.x86_64\x20xhci-hcd
|
|
E: ID_VENDOR_ID=1d6b
|
|
E: ID_MODEL=xHCI_Host_Controller
|
|
E: ID_MODEL_ENC=xHCI\x20Host\x20Controller
|
|
E: ID_MODEL_ID=0002
|
|
E: ID_REVISION=0513
|
|
E: ID_SERIAL=Linux_5.13.15-200.fc34.x86_64_xhci-hcd_xHCI_Host_Controller_0000:00:14.0
|
|
E: ID_SERIAL_SHORT=0000:00:14.0
|
|
E: ID_BUS=usb
|
|
E: ID_USB_INTERFACES=:090000:
|
|
E: ID_VENDOR_FROM_DATABASE=Linux Foundation
|
|
E: ID_AUTOSUSPEND=1
|
|
E: ID_MODEL_FROM_DATABASE=2.0 root hub
|
|
E: ID_PATH=pci-0000:00:14.0
|
|
E: ID_PATH_TAG=pci-0000_00_14_0
|
|
E: ID_FOR_SEAT=usb-pci-0000_00_14_0
|
|
E: TAGS=:seat:
|
|
E: CURRENT_TAGS=:seat:
|
|
A: authorized=1
|
|
A: authorized_default=1
|
|
A: avoid_reset_quirk=0
|
|
A: bConfigurationValue=1
|
|
A: bDeviceClass=09
|
|
A: bDeviceProtocol=01
|
|
A: bDeviceSubClass=00
|
|
A: bMaxPacketSize0=64
|
|
A: bMaxPower=0mA
|
|
A: bNumConfigurations=1
|
|
A: bNumInterfaces= 1
|
|
A: bcdDevice=0513
|
|
A: bmAttributes=e0
|
|
A: busnum=1
|
|
A: configuration=
|
|
H: descriptors=12010002090001406B1D020013050302010109021900010100E0000904000001090000000705810304000C
|
|
A: dev=189:0
|
|
A: devnum=1
|
|
A: devpath=0
|
|
L: driver=../../../../bus/usb/drivers/usb
|
|
L: firmware_node=../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1c/device:1d
|
|
A: idProduct=0002
|
|
A: idVendor=1d6b
|
|
A: interface_authorized_default=1
|
|
A: ltm_capable=no
|
|
A: manufacturer=Linux 5.13.15-200.fc34.x86_64 xhci-hcd
|
|
A: maxchild=12
|
|
A: power/active_duration=97625662
|
|
A: power/autosuspend=0
|
|
A: power/autosuspend_delay_ms=0
|
|
A: power/connected_duration=97671579
|
|
A: power/control=auto
|
|
A: power/level=auto
|
|
A: power/runtime_active_time=97632156
|
|
A: power/runtime_status=active
|
|
A: power/runtime_suspended_time=0
|
|
A: power/wakeup=disabled
|
|
A: power/wakeup_abort_count=
|
|
A: power/wakeup_active=
|
|
A: power/wakeup_active_count=
|
|
A: power/wakeup_count=
|
|
A: power/wakeup_expire_count=
|
|
A: power/wakeup_last_time_ms=
|
|
A: power/wakeup_max_time_ms=
|
|
A: power/wakeup_total_time_ms=
|
|
A: product=xHCI Host Controller
|
|
A: quirks=0x0
|
|
A: removable=unknown
|
|
A: rx_lanes=1
|
|
A: serial=0000:00:14.0
|
|
A: speed=480
|
|
A: tx_lanes=1
|
|
A: urbnum=2557
|
|
A: version= 2.00
|
|
|
|
P: /devices/pci0000:00/0000:00:14.0
|
|
E: DRIVER=xhci_hcd
|
|
E: PCI_CLASS=C0330
|
|
E: PCI_ID=8086:9DED
|
|
E: PCI_SUBSYS_ID=17AA:2292
|
|
E: PCI_SLOT_NAME=0000:00:14.0
|
|
E: MODALIAS=pci:v00008086d00009DEDsv000017AAsd00002292bc0Csc03i30
|
|
E: SUBSYSTEM=pci
|
|
E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
|
|
E: ID_PCI_SUBCLASS_FROM_DATABASE=USB controller
|
|
E: ID_PCI_INTERFACE_FROM_DATABASE=XHCI
|
|
E: ID_VENDOR_FROM_DATABASE=Intel Corporation
|
|
E: ID_AUTOSUSPEND=1
|
|
E: ID_MODEL_FROM_DATABASE=Cannon Point-LP USB 3.1 xHCI Controller
|
|
A: ari_enabled=0
|
|
A: broken_parity_status=0
|
|
A: class=0x0c0330
|
|
H: config=8680ED9D060490021130030C00008000040022EA000000000000000000000000000000000000000000000000AA179222000000007000000000000000FF010000FD0134808FC6FF8300000000000000007F6DDC0F000000001C1A553D00000000316000000000000000000000000000000180C2C1080000000000000000000000059087001803E0FE0000000000000000090014F01000400100000000C10A080000080E00001800008F40020000010000000000000000000008000000040000000000000000000000000000000000000000000000000000000800000004000000000000000000000000000000000000000000000000000000B50F320112000000
|
|
A: consistent_dma_mask_bits=64
|
|
A: d3cold_allowed=1
|
|
A: dbc=disabled
|
|
A: device=0x9ded
|
|
A: dma_mask_bits=64
|
|
L: driver=../../../bus/pci/drivers/xhci_hcd
|
|
A: driver_override=(null)
|
|
A: enable=1
|
|
L: firmware_node=../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1c
|
|
A: irq=128
|
|
A: local_cpulist=0-7
|
|
A: local_cpus=ff
|
|
A: modalias=pci:v00008086d00009DEDsv000017AAsd00002292bc0Csc03i30
|
|
A: msi_bus=1
|
|
A: msi_irqs/128=msi
|
|
A: numa_node=-1
|
|
A: pools=poolinfo - 0.1\nbuffer-2048 0 0 2048 0\nbuffer-512 0 0 512 0\nbuffer-128 0 0 128 0\nbuffer-32 0 0 32 0\nxHCI 1KB stream ctx arrays 0 0 1024 0\nxHCI 256 byte stream ctx arrays 0 0 256 0\nxHCI input/output contexts 11 12 2112 12\nxHCI ring segments 46 50 4096 50\nbuffer-2048 0 0 2048 0\nbuffer-512 0 0 512 0\nbuffer-128 6 32 128 1\nbuffer-32 0 0 32 0
|
|
A: power/control=on
|
|
A: power/runtime_active_time=97632324
|
|
A: power/runtime_status=active
|
|
A: power/runtime_suspended_time=0
|
|
A: power/wakeup=enabled
|
|
A: power/wakeup_abort_count=0
|
|
A: power/wakeup_active=0
|
|
A: power/wakeup_active_count=0
|
|
A: power/wakeup_count=0
|
|
A: power/wakeup_expire_count=0
|
|
A: power/wakeup_last_time_ms=0
|
|
A: power/wakeup_max_time_ms=0
|
|
A: power/wakeup_total_time_ms=0
|
|
A: power_state=D0
|
|
A: resource=0x00000000ea220000 0x00000000ea22ffff 0x0000000000140204\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000\n0x0000000000000000 0x0000000000000000 0x0000000000000000
|
|
A: revision=0x11
|
|
A: subsystem_device=0x2292
|
|
A: subsystem_vendor=0x17aa
|
|
A: vendor=0x8086
|
|
|