libfprint/tests/vfs5011/device
Benjamin Berg 63bfaf4f60 tests: Add trailing newline to busname/devname sysfs attributes
libusb 1.0.24 now expects busnum/devnum to be \n terminated. Update the
device descriptions accordingly.

https://github.com/martinpitt/umockdev/issues/115
2021-01-21 11:28:47 +00:00

81 lines
2.1 KiB
Plaintext

P: /devices/pci0000:00/0000:00:14.0/usb2/2-6
N: bus/usb/002/017=12011001FF11FF088A13170078000000010109022E00010100A0320904000004FF00000007050102400000070581024000000705820240000007058303080004
E: DEVNAME=/dev/bus/usb/002/017
E: DEVTYPE=usb_device
E: DRIVER=usb
E: PRODUCT=138a/17/78
E: TYPE=255/17/255
E: BUSNUM=002
E: DEVNUM=017
E: MAJOR=189
E: MINOR=144
E: SUBSYSTEM=usb
E: ID_VENDOR=138a
E: ID_VENDOR_ENC=138a
E: ID_VENDOR_ID=138a
E: ID_MODEL=0017
E: ID_MODEL_ENC=0017
E: ID_MODEL_ID=0017
E: ID_REVISION=0078
E: ID_SERIAL=138a_0017_6c3b5712a6c0
E: ID_SERIAL_SHORT=6c3b5712a6c0
E: ID_BUS=usb
E: ID_USB_INTERFACES=:ff0000:
E: ID_VENDOR_FROM_DATABASE=Validity Sensors, Inc.
E: ID_MODEL_FROM_DATABASE=VFS 5011 fingerprint sensor
A: authorized=1
A: avoid_reset_quirk=0
A: bConfigurationValue=1
A: bDeviceClass=ff
A: bDeviceProtocol=ff
A: bDeviceSubClass=11
A: bMaxPacketSize0=8
A: bMaxPower=100mA
A: bNumConfigurations=1
A: bNumInterfaces= 1
A: bcdDevice=0078
A: bmAttributes=a0
A: busnum=2\n
A: configuration=
H: descriptors=12011001FF11FF088A13170078000000010109022E00010100A0320904000004FF00000007050102400000070581024000000705820240000007058303080004
A: dev=189:144
A: devnum=17\n
A: devpath=6
L: driver=../../../../../bus/usb/drivers/usb
A: idProduct=0017
A: idVendor=138a
A: ltm_capable=no
A: maxchild=0
L: port=../2-0:1.0/usb2-port6
A: power/active_duration=624952
A: power/async=enabled
A: power/autosuspend=2
A: power/autosuspend_delay_ms=2000
A: power/connected_duration=624952
A: power/control=on
A: power/level=on
A: power/persist=1
A: power/runtime_active_kids=0
A: power/runtime_active_time=624676
A: power/runtime_enabled=forbidden
A: power/runtime_status=active
A: power/runtime_suspended_time=0
A: power/runtime_usage=1
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: quirks=0x0
A: removable=fixed
A: rx_lanes=1
A: serial=6c3b5712a6c0
A: speed=12
A: tx_lanes=1
A: urbnum=7
A: version= 1.10