Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fp_dev_img_capture] unrecognised return code -74 #33

Open
gunferzs opened this issue Apr 9, 2020 · 1 comment
Open

[fp_dev_img_capture] unrecognised return code -74 #33

gunferzs opened this issue Apr 9, 2020 · 1 comment

Comments

@gunferzs
Copy link

gunferzs commented Apr 9, 2020

I followed all the instructions on github and I get error -74. And device is unrecognize all fprint.
lsusb:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 1038:1280 SteelSeries ApS
Bus 001 Device 009: ID 1038:1283 SteelSeries ApS
Bus 001 Device 007: ID 0451:2036 Texas Instruments, Inc. TUSB2036 Hub
Bus 001 Device 006: ID 04f3:0c1a Elan Microelectronics Corp.
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 1bcf:2cb7 Sunplus Innovation Technology Inc.
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 062a:415e Creative Labs
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Call sudo example/img-capture:

fp:debug [fp_init]
fp:debug [register_driver] registered driver upekts
fp:debug [register_driver] registered driver aes3500
fp:debug [register_driver] registered driver aes4000
fp:debug [register_driver] registered driver aes2501
fp:debug [register_driver] registered driver aes2550
fp:debug [register_driver] registered driver uru4000
fp:debug [register_driver] registered driver vcom5s
fp:debug [register_driver] registered driver upeksonly
fp:debug [register_driver] registered driver aes1610
fp:debug [register_driver] registered driver aes1660
fp:debug [register_driver] registered driver aes2660
fp:debug [register_driver] registered driver vfs101
fp:debug [register_driver] registered driver vfs301
fp:debug [register_driver] registered driver vfs5011
fp:debug [register_driver] registered driver upektc
fp:debug [register_driver] registered driver upektc_img
fp:debug [register_driver] registered driver etes603
fp:debug [register_driver] registered driver vfs0050
fp:debug [register_driver] registered driver elan
fp:debug [find_supporting_driver] driver elan supports USB device 04f3:0c1a
fp:debug [find_supporting_driver] selected driver elan supports USB device 04f3:0c1a
Found device claimed by ElanTech Fingerprint Sensor driver
sync:debug [fp_dev_open]
async:debug [fp_async_dev_open]
elan:debug [dev_init]
async:debug [fpi_drvcb_open_complete] status 0
sync:debug [sync_open_cb] status 0
Opened device. It's now time to scan your finger.

sync:debug [fp_dev_img_capture] to be handled by elan
async:debug [fp_async_capture_start]
fp:debug [generic_acquire_start] action 4
elan:debug [dev_activate]
elan:debug [elan_activate]
elan:debug [elan_dev_reset]
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 0
elan:debug [elan_run_cmd] 4019
elan:debug [elan_cmd_cb]
elan:debug [elan_cmd_read]
elan:debug [elan_cmd_cb] 0142
elan:debug [elan_cmd_done]
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 1
elan:debug [activate_run_state] FW ver 0x0142
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 2
elan:debug [elan_run_cmd] 000c
elan:debug [elan_cmd_cb]
elan:debug [elan_cmd_read]
elan:debug [elan_cmd_cb] 4000... (4 bytes)
elan:debug [elan_cmd_done]
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 3
elan:debug [activate_run_state] sensor dimensions, WxH: 144x64
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 4
elan:debug [elan_run_cmd] 402a
elan:debug [elan_run_cmd] skipping for this device
elan:debug [elan_cmd_done]
drv:debug [fpi_ssm_mark_completed] 0x55992d323ff0 completed with status 0
elan:debug [activate_complete]
fp:debug [fpi_imgdev_activate_complete] status 0
async:debug [fpi_drvcb_capture_started]
elan:debug [dev_change_state] 1
poll:debug [fpi_timeout_add] in 10ms
poll:debug [get_next_timeout_expiry] next timeout in 0.009994s
poll:debug [get_next_timeout_expiry] next timeout in 0.009980s
poll:debug [get_next_timeout_expiry] first timeout already expired
poll:debug [handle_timeout]
elan:debug [elan_change_state] changing to 1
elan:debug [elan_calibrate]
elan:debug [elan_dev_reset]
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 0
elan:debug [elan_run_cmd] 0009
elan:debug [elan_cmd_cb]
elan:debug [elan_cmd_read]
elan:debug [elan_cmd_cb] 8b24... (18432 bytes)
elan:debug [elan_cmd_done]
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 1
elan:debug [elan_save_background]
elan:debug [elan_save_frame]
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 2
elan:debug [elan_run_cmd] 4024
elan:debug [elan_cmd_cb]
elan:debug [elan_cmd_read]
elan:debug [elan_cmd_cb] 1af0
elan:debug [elan_cmd_done]
drv:debug [__ssm_call_handler] 0x55992d323ff0 entering state 3
elan:debug [elan_need_calibration]
elan:debug [elan_need_calibration] calibration mean: 6870, bg mean: 6748, delta: 122
drv:debug [fpi_ssm_mark_completed] 0x55992d323ff0 completed with status 0
elan:debug [calibrate_complete]
elan:debug [elan_capture]
elan:debug [elan_dev_reset]
drv:debug [__ssm_call_handler] 0x55992d32c070 entering state 0
elan:debug [elan_run_cmd] 4031
elan:debug [elan_cmd_cb]
elan:debug [elan_cmd_read]
elan:debug [elan_cmd_read] skipping read, not expecting anything
elan:debug [elan_cmd_done]
drv:debug [__ssm_call_handler] 0x55992d32c070 entering state 1
elan:debug [elan_run_cmd] 403f
elan:debug [elan_cmd_cb]
elan:debug [elan_cmd_read]
elan:debug [elan_cmd_cb] af
elan:debug [elan_cmd_done]
drv:debug [__ssm_call_handler] 0x55992d32c070 entering state 2
drv:debug [fpi_ssm_mark_aborted] error -74 from state 2
drv:debug [fpi_ssm_mark_completed] 0x55992d32c070 completed with status -74
elan:debug [capture_complete]
elan:debug [dev_change_state] 3
poll:debug [fpi_timeout_add] in 10ms
poll:debug [get_next_timeout_expiry] next timeout in 0.009990s
poll:debug [get_next_timeout_expiry] next timeout in 0.009965s
poll:debug [get_next_timeout_expiry] first timeout already expired
poll:debug [handle_timeout]
elan:debug [elan_change_state] changing to 3
elan:debug [elan_stop_capture]
elan:debug [elan_dev_reset]
drv:debug [__ssm_call_handler] 0x55992d32c070 entering state 0
elan:debug [stop_capture_run_state]
elan:debug [elan_run_cmd] 000b
elan:debug [elan_cmd_cb]
elan:debug [elan_cmd_read]
elan:debug [elan_cmd_read] skipping read, not expecting anything
elan:debug [elan_cmd_done]
drv:debug [fpi_ssm_mark_completed] 0x55992d32c070 completed with status 0
elan:debug [stop_capture_complete]
fp:debug [fpi_imgdev_report_finger_status] finger removed
async:debug [fpi_drvcb_report_capture_result] result -74
elan:debug [dev_change_state] 1
poll:debug [fpi_timeout_add] in 10ms
poll:debug [get_next_timeout_expiry] next timeout in 0.009992s
sync:error [fp_dev_img_capture] unrecognised return code -74
sync:debug [fp_dev_img_capture] ending capture
async:debug [fp_async_capture_stop]
elan:debug [dev_deactivate]
elan:debug [dev_change_state] 0
poll:debug [fpi_timeout_add] in 10ms
poll:debug [get_next_timeout_expiry] next timeout in 0.009800s
poll:debug [get_next_timeout_expiry] first timeout already expired
poll:debug [handle_timeout]
elan:debug [elan_change_state] changing to 0
elan:debug [elan_deactivate]
fp:debug [fpi_imgdev_deactivate_complete]
async:debug [fpi_drvcb_capture_stopped]
sync:debug [capture_stop_cb]
image capture failed, code -22
sync:debug [fp_dev_close]
elan:debug [dev_deinit]
elan:debug [elan_dev_reset]
async:debug [fpi_drvcb_close_complete]
sync:debug [sync_close_cb]
fp:debug [fp_exit]

@iafilatov
Copy link
Owner

This code is rather old. You should try https://gitlab.freedesktop.org/libfprint/libfprint. But I can't say if it will work because your reader is returning an unexpected value for a certain command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants