Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
libfprint
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 49
    • Issues 49
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libfprint
  • libfprint
  • Issues
  • #367

Closed
Open
Created Mar 01, 2021 by kmille@kmille

Question: How to get the virtual fingerprint reader to work?

Hey, I want to explore the virtual fingerprint reader (virtual_imgdev) but I can't get it working. I'm on Arch Linux and use the up-to-date master of libfprint.

# /etc/systemd/system/fprintd.service.d/override.conf
[Service]
RuntimeDirectory=fprint
Environment=FP_VIRTUAL_IMAGE=/run/virtimg_sock
Environment=G_MESSAGES_DEBUG=all
ReadWritePaths=/run/

kmille@linbox:~ sudo systemctl daemon-reload
[sudo] password for kmille: 
kmille@linbox:~ sudo systemctl restart fprintd.service

journalctl
Mar 01 21:02:49 linbox systemd[1]: Starting Fingerprint Authentication Daemon...
Mar 01 21:02:49 linbox fprintd[488300]: About to load configuration file '/etc/fprintd.conf'
Mar 01 21:02:49 linbox fprintd[488300]: Launching FprintObject
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 17EF:1010
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 1D6B:0003
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 138A:0097
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 04F2:B5AB
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 8087:0A2B
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 17EF:100F
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 046D:C077
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 0951:16B7
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 17EF:1010
Mar 01 21:02:49 linbox fprintd[488300]: No driver found for USB device 1D6B:0002
Mar 01 21:02:49 linbox fprintd[488300]: Found virtual environment device: FP_VIRTUAL_IMAGE, /run/virtimg_sock
Mar 01 21:02:49 linbox fprintd[488300]: created
Mar 01 21:02:49 linbox fprintd[488300]: entering main loop
Mar 01 21:02:49 linbox systemd[1]: Started Fingerprint Authentication Daemon.
Mar 01 21:02:49 linbox fprintd[488300]: D-Bus service launched with name: net.reactivated.Fprint
Mar 01 21:03:20 linbox systemd[1]: fprintd.service: Succeeded.

kmille@linbox:examples FP_VIRTUAL_IMAGE=/run/virtimg_sock ./sendvirtimg.py prints/whorl.png
Traceback (most recent call last):
  File "/home/kmille/git/arch-packages/libfprint/repos/extra-x86_64/src/libfprint/examples/./sendvirtimg.py", line 108, in <module>
    sock.connect(sockaddr)
FileNotFoundError: [Errno 2] No such file or directory
kmille@linbox:examples ls /run/virtimg_sock 
ls: cannot access '/run/virtimg_sock': No such file or directory
kmille@linbox:examples 

I built it with meson configure -Ddrivers=all build but no socket is created. What I can see is dev_init in virtual-device.c and virtual-image.c is not called. Now I'm a litte bit clueless. Thanks for your help!

kmille

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None