python-validity icon indicating copy to clipboard operation
python-validity copied to clipboard

[138a:0097] Enrollment stall

Open ghost opened this issue 3 years ago • 0 comments
trafficstars

Laptop: Thinkpad Yoga 370 Sensor: Validity 138a:0097 OS: Arch Linux + KDE Install: via AUR Problem:

I cannot get fingerprint sensor to enroll new fingerprint. The problem is that enrollment never ends (either with tools or via playground). This is what I tried on playground:

>>> from prototype import *
>>> open9x()
>>> db.dump_all()

Nothing is displayed so database is empty.

>>> tls.trace_enabled=True
>>> usb.trace_enabled=True
>>> logging.basicConfig(level=logging.DEBUG)
>>> db.dump_all()

Nothing again. It seems logging is not working??

>>> enroll("j", 0xf5)

Here python starts waiting on blank line. LED near fingerprint sensor now is lit up. I place my finger on the sensor and light goes away. Python still waits on blank line.

SID doesn't matter for me as I don't use Windows.

Playground runs as root. I made sure /dev/bus/usb/00x/00x is not used by other processes via sudo fuser. Keyboard interrupt breaks the wait. There is also this behavior I noticed:

If do enroll(...), LED lights up if I next:

  • touch sensor light goes away. I do keyboard interrupt and starting enroll(...) again produces same behavior.
  • If I don't touch sensor and do keyboard interrupt then light is still on. Now I can touch sensor all I want and light stays up. A way to turn it off is to start enroll(..) again and touch the sensor without interrupting.

If any more help is needed I can provide logs or play in playground again. No logging is also concerning.

ghost avatar Feb 09 '22 18:02 ghost