ubuntuusers.de

Thinkpad T570 - Fingersensor unter Linux / Ubuntu

Status: Ungelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

mipi

Avatar von mipi

Anmeldungsdatum:
24. Juni 2006

Beiträge: 175

Wohnort: Berlin

Bei meinem T570 versuche ich den Fingerabdrucksensor unter Ubuntu zum laufen zu bringen. Aus der Box scheint der nicht zu funktioniren. Das installierte fprint findet den Sensor nicht.

lsusb

1
2
3
4
5
6
7
8
9
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc.
Bus 001 Device 005: ID 04f2:b5ab Chicony Electronics Co., Ltd Integrated Camera
Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 1199:9079 Sierra Wireless, Inc. EM7455
Bus 001 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 001 Device 007: ID 2a94:564d G2Touch Multi-Touch by G2TSP
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@mobilT570:~$ fprintd-enroll -f right-index-finger pi

1
Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available

Auch der Tipp auf [dieser Seite zum Validity Sensor] https://snapcraft.io/install/validity-sensors-tools/ubuntu brachte nichts.

Habt ihr Ideen wo ich weitersuchen kann ?

Micha

mipi

(Themenstarter)
Avatar von mipi

Anmeldungsdatum:
24. Juni 2006

Beiträge: 175

Wohnort: Berlin

PS:

das sagt der fprintd daemon:

pi@mobilT570:~$ sudo service fprintd status

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
○ fprintd.service - Fingerprint Authentication Daemon

     Loaded: loaded (/lib/systemd/system/fprintd.service; static)

     Active: inactive (dead)

       Docs: man:fprintd(1)


Dez 12 10:04:36 mobilT570 systemd[1]: Starting Fingerprint Authentication Daemo>

Dez 12 10:04:36 mobilT570 fprintd[1956]: Creating TOD wrapper for goodix-tod (G>

Dez 12 10:04:36 mobilT570 systemd[1]: Started Fingerprint Authentication Daemon.

Dez 12 10:05:07 mobilT570 systemd[1]: fprintd.service: Deactivated successfully.

Dez 12 10:05:22 mobilT570 systemd[1]: Starting Fingerprint Authentication Daemo>

Dez 12 10:05:22 mobilT570 fprintd[3824]: Creating TOD wrapper for goodix-tod (G>

Dez 12 10:05:22 mobilT570 systemd[1]: Started Fingerprint Authentication Daemon.

Dez 12 10:05:53 mobilT570 systemd[1]: fprintd.service: Deactivated successfully.

lines 1-13/13 (END)

kB Team-Icon

Supporter, Wikiteam
Avatar von kB

Anmeldungsdatum:
4. Oktober 2007

Beiträge: 9711

Wohnort: Münster

mipi schrieb:

[…]

Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 138a:0097 Validity Sensors, Inc.

Schaue im UbuntuUsers.de-Wiki von fprint und auf der Projektseite von libfprint nach, ob Deine Hardware unterstützt wird:
https://fprint.freedesktop.org/

Falls nicht, musst Du

  • entweder selber einen Treiber programmieren,

  • oder dem Projekt die technischen Unterlagen zur Hardware verschaffen,

  • oder das Ding vergessen.

mipi

(Themenstarter)
Avatar von mipi

Anmeldungsdatum:
24. Juni 2006

Beiträge: 175

Wohnort: Berlin

Es gibt ein Projekt. das speziell für diese Hardware einen Treiber geschrieben hat, leider ist die Software etwas outdated. Ich kann sie zwar installieren, bekomme aber komische Inkompatibilitäten:

root@mobilT570:~# validity-sensors-tools.enroll --finger-id 6
Found device <DEVICE ID 138a:0097 on Bus 001 Address 006>
Opening device 0x97
Clean slate
Traceback (most recent call last):
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 379, in <module>
    vfs_tools.open_device(init=True)
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 128, in open_device
    vfs_tls.open()
  File "/snap/validity-sensors-tools/65/vfs-tools/proto9x/tls.py", line 119, in open
    self.make_keys()
  File "/snap/validity-sensors-tools/65/vfs-tools/proto9x/tls.py", line 148, in make_keys
    pre_master_secret = self.session_private*self.ecdh_q
AttributeError: 'Tls' object has no attribute 'ecdh_q'

An anderer Stelle wird die TLS Version angemeckert. Besteht eine Chance die SW zum Laufen zu bringen? Immerhin erkennt sie, wie oben zu sehen, immerhin die Hardware.

Bei der Initialisierung bin ich mir nicht sicher, ob das schon die ganze Show war:

root@mobilT570:~# validity-sensors-tools.initializer
Found device <DEVICE ID 138a:0097 on Bus 001 Address 006>
Downloading https://download.lenovo.com/pccbbs/mobiles/n1mgf03w.exe to extract 6_07f_lenovo_mis.xpfwext
Extracting "Synaptics Metallica MOC Touch Fingerprint Reader Driver for Windows 8.1 64-bit" - setup data version 5.5.0
 - "app/WBF_Drivers/6_07f_lenovo_mis.xpfwext"
Done.
Found firmware at /tmp/tmph70x5pjq/app/WBF_Drivers/6_07f_lenovo_mis.xpfwext
The device will be now reset to factory and associated to the current laptop.
Press Enter to continue (or Ctrl+C to cancel)...
Opening device 0x97
Factory reset...
Sleeping...
Pairing the sensor with device 20HAS0K501
Opening device 0x97
Initializing flash...
Sleeping...
Try 1 failed with error: [Errno 16] Resource busy
Opening device 0x97
Initializing flash...
Detected Flash IC: W25Q80B, 1048576 bytes
Sleeping...
Try 2 failed with error: Flash is already partitioned
Opening device 0x97
Initializing flash...
Detected Flash IC: W25Q80B, 1048576 bytes
Sleeping...
Try 3 failed with error: Flash is already partitioned
Opening device 0x97
Initializing flash...
Detected Flash IC: W25Q80B, 1048576 bytes
Sleeping...
Try 4 failed with error: Flash is already partitioned
Opening device 0x97
Initializing flash...
Detected Flash IC: W25Q80B, 1048576 bytes
Sleeping...
Try 5 failed with error: Flash is already partitioned
Device didn't reply in time...
Traceback (most recent call last):
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 339, in <module>
    vfs_tools.initialize(fwpath, args.calibration_data)
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 249, in initialize
    self.pair(fwpath, calib_data)
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 220, in pair
    self.retry_command(init_flash_command, max_retries=5)
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 112, in retry_command
    raise(err)
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 103, in retry_command
    command()
  File "/snap/validity-sensors-tools/65/vfs-tools/validity-sensors-tools.py", line 219, in init_flash_command
    init_flash()
  File "/snap/validity-sensors-tools/65/vfs-tools/proto9x/init_flash.py", line 97, in init_flash
    partition_flash(flash_layout_hardcoded, client_public)
  File "/snap/validity-sensors-tools/65/vfs-tools/proto9x/init_flash.py", line 75, in partition_flash
    raise Exception('Flash is already partitioned')
Exception: Flash is already partitioned

Kommentare? Wo kann ich weiter suchen?

Micha

kB Team-Icon

Supporter, Wikiteam
Avatar von kB

Anmeldungsdatum:
4. Oktober 2007

Beiträge: 9711

Wohnort: Münster

mipi schrieb:

Es gibt ein Projekt. das speziell für diese Hardware einen Treiber geschrieben hat, leider ist die Software etwas outdated.

Wo? Wer? Was?

Wenn Du möchtest, dass sich irgend jemand hier mit dieser Software beschäftigt, musst Du zuerst erklären, welches Paket Du aus welcher Quelle installiert hast.

mipi

(Themenstarter)
Avatar von mipi

Anmeldungsdatum:
24. Juni 2006

Beiträge: 175

Wohnort: Berlin

Das Paket nennt sich validity90 unter github, es ist in Python geschrieben:

"This project aims on reverse engineering protocol of Validity 138a:0090, 138a:0094, 138a:0097, 06cb:0081, 06cb:009a fingerprint readers, creating specification and FLOSS libfprint driver." (aus dem Readme) ... ich habe es unter https://github.com/nmikhailov/Validity90 gefunden.

Gruß Micha

Antworten |