anarsoul / libfprint

libfprint with my WiP drivers
GNU Lesser General Public License v2.1
27 stars 10 forks source link

Problem with 138a:003d #13

Closed darkstaring closed 7 years ago

darkstaring commented 7 years ago

Hello, i installed libfprint-git (1:0.6.0.r43.g5a7e6e0-1) on arch linux, hp workstation 8570W.

When i request: sudo fprintd-enroll -f left-thumb francesco

Using device /net/reactivated/Fprint/Device/0
Enrolling left-thumb finger.
EnrollStart failed: Message recipient disconnected from message bus without replying

what can I do?

anarsoul commented 7 years ago

8087:0024 is not a fingerprint scanner, it's rate matching hub

darkstaring commented 7 years ago

sorry: Bus 001 Device 003: ID 138a:003d Validity Sensors, Inc. VFS491

darkstaring commented 7 years ago

http://h20565.www2.hp.com/hpsc/swd/public/detail?swItemId=ob_106866_1&sp4ts.oid=5229488 This is the driver but is incompatible with arch

anarsoul commented 7 years ago

Sorry, I don't have this device, thus I can't fix the driver. Recompile libfprint with debug logs (pass --enable-debug-log to configure) and file a bug with logs at https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint

darkstaring commented 7 years ago

i compiled with ./configure --prefix=/usr sysconfigdir=/etc --disable-static --enable-debug-log .... dmesg | tail return:

[29980.932411] fprintd[20887]: segfault at 3d4 ip 00007f6bd1b8e231 sp 00007ffe9a9860e0 error 4 in ld-2.24.so[7f6bd1b79000+23000]
[30043.313732] fprintd[20949]: segfault at 3d4 ip 00007fbeda52e231 sp 00007ffccf6337f0 error 4 in ld-2.24.so[7fbeda519000+23000]
[30422.825671] fprintd[26569]: segfault at 3d4 ip 00007f4929cd0231 sp 00007ffeb3607b50 error 4 in ld-2.24.so[7f4929cbb000+23000]
anarsoul commented 7 years ago

You have to recompile libfprint, not fprintd

On Feb 11, 2017 5:23 PM, "darkstaring" notifications@github.com wrote:

i compiled with ./configure --prefix=/usr sysconfigdir=/etc --disable-static --enable-debug-log....dmesg | tail return:

[29980.932411] fprintd[20887]: segfault at 3d4 ip 00007f6bd1b8e231 sp 00007ffe9a9860e0 error 4 in ld-2.24.so[7f6bd1b79000+23000] [30043.313732] fprintd[20949]: segfault at 3d4 ip 00007fbeda52e231 sp 00007ffccf6337f0 error 4 in ld-2.24.so[7fbeda519000+23000] [30422.825671] fprintd[26569]: segfault at 3d4 ip 00007f4929cd0231 sp 00007ffeb3607b50 error 4 in ld-2.24.so[7f4929cbb000+23000]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/anarsoul/libfprint/issues/13#issuecomment-279189006, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFAifgOtfRBhB6KnBqECtzqKUdCqH4Lks5rbl8CgaJpZM4L2sMS .

darkstaring commented 7 years ago

I recompiled libfprint-git.. not fprintd

anarsoul commented 7 years ago

Then check journalctl for logs

On Sat, Feb 11, 2017 at 6:30 PM, darkstaring notifications@github.com wrote:

I recompiled libfprint-git.. not fprintd

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/anarsoul/libfprint/issues/13#issuecomment-279191848, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFAiay68rdoeemwm4qe54NH1jXXbkOCks5rbm7MgaJpZM4L2sMS .

darkstaring commented 7 years ago
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [register_driver] registered driver upektc
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [register_driver] registered driver upektc_img
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [register_driver] registered driver etes603
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [register_driver] registered driver vfs0050
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [register_driver] registered driver Validity
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [find_supporting_driver] driver Validity supports USB device 138a:003d
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [find_supporting_driver] selected driver Validity supports USB device 138a:003d
Feb 12 13:04:28 Arch fprintd[11342]: async:debug [fp_async_dev_open]
Feb 12 13:04:28 Arch fprintd[11342]: user 'root' claiming the device: 0
Feb 12 13:04:28 Arch fprintd[11342]: now monitoring fd 15
Feb 12 13:04:28 Arch fprintd[11342]: device 0 claim status 0
Feb 12 13:04:28 Arch fprintd[11342]: async:debug [fpi_drvcb_open_complete] status 0
Feb 12 13:04:28 Arch fprintd[11342]: start enrollment device 0 finger 7
Feb 12 13:04:28 Arch fprintd[11342]: enroll_stage_cb: result -19
Feb 12 13:04:28 Arch fprintd[11342]: async:debug [fp_async_enroll_start] starting enrollment
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [generic_acquire_start] action 1
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [fpi_imgdev_activate_complete] status 0
Feb 12 13:04:28 Arch fprintd[11342]: async:debug [fpi_drvcb_enroll_started] status 0
Feb 12 13:04:28 Arch fprintd[11342]: fp:error [dev_activate] libvfsFprintWrapper.so: cannot open shared object file: No such file or directory
Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [fpi_imgdev_session_error] error -19
Feb 12 13:04:28 Arch fprintd[11342]: async:debug [fpi_drvcb_enroll_stage_completed] result -19
Feb 12 13:04:28 Arch kernel: fprintd[11342]: segfault at 3d4 ip 00007f2c0ca6b231 sp 00007ffd7e8ae280 error 4 in ld-2.24.so[7f2c0ca56000+23000]
Feb 12 13:04:28 Arch systemd[1]: Started Process Core Dump (PID 12070/UID 0).
-- Subject: Unit systemd-coredump@15-12070-0.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-coredump@15-12070-0.service has finished starting up.
-- 
-- The start-up result is done.
Feb 12 13:04:28 Arch systemd[1]: fprintd.service: Main process exited, code=dumped, status=11/SEGV
Feb 12 13:04:28 Arch systemd[1]: fprintd.service: Unit entered failed state.
Feb 12 13:04:28 Arch systemd[1]: fprintd.service: Failed with result 'core-dump'.
Feb 12 13:04:28 Arch systemd-coredump[12081]: Process 11342 (fprintd) of user 0 dumped core.

                                              Stack trace of thread 11342:
                                              #0  0x00007f2c0ca6b231 n/a (n/a)
-- Subject: Process 11342 (fprintd) dumped core
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 11342 (fprintd) crashed and dumped core.
-- 
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
anarsoul commented 7 years ago

Feb 12 13:04:28 Arch fprintd[11342]: fp:debug [find_supporting_driver] driver Validity supports USB device 138a:003d

You're running patched libfprint that includes a wrapper that uses a binary driver from Validity. I'd guess you're missing this binary driver:

Feb 12 13:04:28 Arch fprintd[11342]: fp:error [dev_activate] libvfsFprintWrapper.so: cannot open shared object file: No such file or directory

But anyway contact patch author. Neither mainline libfrint nor my repo has this patch and thus I'm not responsible for this code.

darkstaring commented 7 years ago

The driver should be http://h20565.www2.hp.com/hpsc/swd/public/detail?swItemId=ob_106866_1&sp4ts.oid=5229488 . I extract the rpm with rpmextract but i can't implement... who can I ask to?

anarsoul commented 7 years ago

Sorry, I have no idea where your patch came from. I've just checked archlinux libfprint package and it doesn't have this patch.