Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

8 Posts

12-18-2019

Poland

25 Signins

193 Page Views

  • Posts: 8
  • Registered: ‎12-18-2019
  • Location: Poland
  • Views: 193
  • Message 41 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2019-12-23, 23:10 PM

@BigDong @dbao there is no such thing as PAM bug. The thing is it requires some manual tweeking. I'm running fingerprint scanner on both GDM and terminal using it with PAM with great success.

 

First of all, you have to make sure it's compiled with PAM support. You have to study fprintd configuration log as It won't throw errors when you don't have necessary libraries as PAM support is optional. I don't remember which ones are required for configuration, I simply installed all packages starting with "libpam*". In order to verify the pam library has been compiled correctly after running make, check the contents of:

path_to_fprintd_build/pam/.libs

It should include file: pam_fprintd.so

 

If it's there, ocne you run make install you should be able to use fingerprint with GDM on next login automaticaly (that was the case for myself). In order to add it elsewhere (eg. sudo command verification) you need to manually edit file of interest inside /etc/pam.d and add the line:

auth	               sufficient			pam_fprintd.so

on top of the configuration.

Reply
Options

55 Posts

10-15-2019

France

59 Signins

668 Page Views

  • Posts: 55
  • Registered: ‎10-15-2019
  • Location: France
  • Views: 668
  • Message 42 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2019-12-23, 23:43 PM

I confirm it work well with --enable-pam and having all the library installed. Make sur both test pass on libfprint and fprind. 

 

But I am not able to configure a fingerprint per user, I only have one fingerprint per system, and I can authenticate with it as any user.

 

Have you found a solution to that ? I would gladly use another finger for the root user, and so far.

Reply
Options

2 Posts

12-26-2019

Netherlands

8 Signins

69 Page Views

  • Posts: 2
  • Registered: ‎12-26-2019
  • Location: Netherlands
  • Views: 69
  • Message 43 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2019-12-26, 12:43 PM

Hi all, 

 

Great discussions here, I've managed to install a lot on my Lenovo X1 7th generation with your help. 

Unfortunately no luck yet with the fingerprint, though I've got the feeling I'm close.

 

Step 1

fwupdmgr --version
client version:	1.3.5
compile-time dependency versions
	gusb:	0.3.1
	efivar:	37
daemon version:	1.3.5

Step 2 

fwupdmgr get-devices --force
20QD00L1MH
│
├─Thunderbolt Controller:
│     Device ID:           d9e91cbd83aa4877bb7027b6f90ee5e1dc9f9cb1
│     Summary:             Unmatched performance for high-speed I/O
│     Current version:     43.00
│     Vendor:              Lenovo (TBT:0x0109)
│     GUIDs:               c7920601-0cda-507f-851e-92229eb1d370
│                          70931c8b-ee82-52c9-bc3d-f85e64379bf9
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Device stages updates
│   
├─System Firmware:
│     Device ID:           f09b748a98b31bb5c7c64d83f24ddbc80dff7c5f
│     Current version:     0.1.26
│     Minimum Version:     0.0.1
│     Vendor:              LENOVO
│     GUID:                4bbc40fa-f81e-4206-bc70-a1f7b744d964
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Needs a reboot after installation
│                          • Cryptographic hash verification is available
│                          • Device is usable for the duration of the update
│   
├─Touchpad:
│     Device ID:           91961e6ddc950eb21e71db6f33ec09a133933a95
│     Current version:     1.3.3013412
│     Bootloader Version:  8.0
│     Vendor:              Synaptics Inc (HIDRAW:0x06CB)
│     GUIDs:               10010313-27c0-5c7f-bd99-955028fd3a01
│                          71463ccd-7553-5d7d-9fac-7ed8073a7853
│                          981824ee-4283-595b-a2e4-46eae92dba40
│                          0957b08b-b580-5c3a-8073-98b9bb15bc7f
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Supported on remote server
│   
├─UEFI Device Firmware:
│     Device ID:           0ec6a2d51c2c55a649247d119ffb8e229168d6c9
│     Current version:     192.47.1524
│     Minimum Version:     0.0.1
│     GUID:                c3e4be53-e714-4ea1-bb9c-7fe13a98b556
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:           c085a3cbf4dc1d60d110b7616816e2ffd279b64e
│     Current version:     0.1.10
│     Minimum Version:     0.1.10
│     GUID:                f72e048b-65bd-4e71-9071-1ac7045223e5
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:           b596f8dec94a959248534b35641fe2341e27ed06
│     Current version:     1.0.8343
│     Minimum Version:     0.0.1
│     GUID:                9045ae09-34ab-46d6-826d-b02f859dd20b
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:           f61a138e8240c473a88d703babf7be5bc0e098e6
│     Current version:     0.73.8
│     Minimum Version:     0.73.8
│     GUID:                db246b7d-a882-4e0e-984f-23ac1b0270db
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:           97d441c3228fe8615f883b166a8809389803f9e2
│     Current version:     0.0.26403
│     Minimum Version:     0.0.1
│     GUID:                68d3b08f-6ed2-43ca-86f0-f1ad6e41b390
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
└─WDC PC SN730 SDBQNTY-512G-1001:
      Device ID:           3743975ad7f64f8d6575a9ae49fb3a8856fe186f
      Summary:             NVM Express Solid State Drive
      Current version:     11110101
      Vendor:              Sandisk Corp (NVME:0x15B7)
      GUIDs:               a39943dd-3afb-54f8-b110-c5a21f071200
                           fccbb6ea-e20e-58ad-bf8a-7fb7d43ff4c2
                           06b4e2aa-91af-508b-b06e-65e3b3189e97
      Device Flags:        • Internal device
                           • Updatable
                           • Requires AC power
                           • Needs a reboot after installation
                           • Device is usable for the duration of the update

Step 3:

uname -a
Linux living 5.3.16-300.fc31.x86_64 #1 SMP Fri Dec 13 17:59:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Now I'm stuck at step 4 and 5. I've downloaded libfprint from https://gitlab.freedesktop.org/libfprint/libfprint (master branch) and build dir contains: 

libfprint]$ ls
60-fprint-autosuspend.rules                 fpi-enums.h
642ed89@@fprint-list-supported-devices@exe  FPrint-2.0.gir
642ed89@@fprint-list-udev-rules@exe         FPrint-2.0.typelib
642ed89@@fprint@sha                         fprint-list-supported-devices
642ed89@@nbis@sta                           fprint-list-udev-rules
fp-enums.c                                  libfprint.so
fp-enums.h                                  libfprint.so.2
fpi-drivers.c                               libfprint.so.2.0.0
fpi-enums.c                                 libnbis.a

Where should I put those libs?

 

Step 5: I've downloaded fprintd sources from https://gitlab.freedesktop.org/libfprint/fprintd (master branch)

 

Trying to build them with exports: 

export FPRINT_CFLAGS="-I/usr/include/glib-2.0 -I/home/kp/Downloads/libfprint-master/libfprint/"
export FPRINT_LIBS=/home/kp/Downloads/libfprint-master/libfprint/

Running make and I'm stuck... 

fprintd-master]$ make
Making check in src
make[1]: Entering directory '/home/kp/Downloads/fprintd-master/src'
make  check-am
make[2]: Entering directory '/home/kp/Downloads/fprintd-master/src'
  CCLD     fprintd
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `verify_result_to_name':
/home/kp/Downloads/fprintd-master/src/device.c:330: undefined reference to `fp_device_retry_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:345: undefined reference to `fp_device_error_quark'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_verify_start':
/home/kp/Downloads/fprintd-master/src/device.c:863: undefined reference to `fp_device_supports_identify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:882: undefined reference to `fp_device_supports_identify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:912: undefined reference to `fp_device_verify'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `finger_num_to_name':
/home/kp/Downloads/fprintd-master/src/device.c:298: undefined reference to `FP_FINGER_IS_VALID'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_verify_start':
/home/kp/Downloads/fprintd-master/src/device.c:882: undefined reference to `fp_device_supports_identify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:894: undefined reference to `fp_device_identify'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `verify_cb':
/home/kp/Downloads/fprintd-master/src/device.c:739: undefined reference to `fp_device_verify_finish'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:748: undefined reference to `fp_device_retry_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:751: undefined reference to `fp_device_verify'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `identify_cb':
/home/kp/Downloads/fprintd-master/src/device.c:785: undefined reference to `fp_device_identify_finish'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:794: undefined reference to `fp_device_retry_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:797: undefined reference to `fp_device_identify'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_release':
/home/kp/Downloads/fprintd-master/src/device.c:727: undefined reference to `fp_device_close'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `dev_close_cb':
/home/kp/Downloads/fprintd-master/src/device.c:681: undefined reference to `fp_device_close_finish'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `dev_open_cb':
/home/kp/Downloads/fprintd-master/src/device.c:600: undefined reference to `fp_device_open_finish'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_claim':
/home/kp/Downloads/fprintd-master/src/device.c:671: undefined reference to `fp_device_open'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `_fprint_device_client_vanished':
/home/kp/Downloads/fprintd-master/src/device.c:558: undefined reference to `fp_device_close_sync'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `delete_enrolled_fingers':
/home/kp/Downloads/fprintd-master/src/device.c:1279: undefined reference to `fp_device_has_storage'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1296: undefined reference to `fp_device_delete_print_sync'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_delete_enrolled_fingers':
/home/kp/Downloads/fprintd-master/src/device.c:1396: undefined reference to `fp_device_has_storage'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1401: undefined reference to `fp_device_has_storage'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1402: undefined reference to `fp_device_close_sync'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1397: undefined reference to `fp_device_open_sync'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `finger_num_to_name':
/home/kp/Downloads/fprintd-master/src/device.c:298: undefined reference to `FP_FINGER_IS_VALID'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_class_init':
/home/kp/Downloads/fprintd-master/src/device.c:226: undefined reference to `fp_device_get_type'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_get_property':
/home/kp/Downloads/fprintd-master/src/device.c:198: undefined reference to `fp_device_get_scan_type'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:187: undefined reference to `fp_device_get_name'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:191: undefined reference to `fp_device_get_nr_enroll_stages'
/usr/bin/ld: file_storage.o: in function `file_storage_print_data_save':
/home/kp/Downloads/fprintd-master/src/file_storage.c:110: undefined reference to `fp_print_get_username'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:112: undefined reference to `fp_print_serialize'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:117: undefined reference to `fp_print_get_finger'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:118: undefined reference to `fp_print_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:117: undefined reference to `fp_print_get_driver'
/usr/bin/ld: file_storage.o: in function `get_path_to_print':
/home/kp/Downloads/fprintd-master/src/file_storage.c:82: undefined reference to `fp_device_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:81: undefined reference to `fp_device_get_driver'
/usr/bin/ld: file_storage.o: in function `load_from_file':
/home/kp/Downloads/fprintd-master/src/file_storage.c:159: undefined reference to `fp_print_deserialize'
/usr/bin/ld: file_storage.o: in function `file_storage_print_data_load':
/home/kp/Downloads/fprintd-master/src/file_storage.c:188: undefined reference to `fp_print_compatible'
/usr/bin/ld: file_storage.o: in function `get_path_to_print':
/home/kp/Downloads/fprintd-master/src/file_storage.c:82: undefined reference to `fp_device_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:81: undefined reference to `fp_device_get_driver'
/usr/bin/ld: file_storage.o: in function `file_storage_discover_prints':
/home/kp/Downloads/fprintd-master/src/file_storage.c:257: undefined reference to `fp_device_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:256: undefined reference to `fp_device_get_driver'
/usr/bin/ld: file_storage.o: in function `scan_dev_storedir':
/home/kp/Downloads/fprintd-master/src/file_storage.c:236: undefined reference to `FP_FINGER_IS_VALID'
/usr/bin/ld: ./.libs/libfprintd.a(manager.o): in function `fprint_manager_init':
/home/kp/Downloads/fprintd-master/src/manager.c:170: undefined reference to `fp_context_new'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/manager.c:186: undefined reference to `fp_context_enumerate'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:522: fprintd] Error 1
make[2]: Leaving directory '/home/kp/Downloads/fprintd-master/src'
make[1]: *** [Makefile:677: check] Error 2
make[1]: Leaving directory '/home/kp/Downloads/fprintd-master/src'
make: *** [Makefile:451: check-recursive] Error 1

Output of fprintd-list: 

fprintd-list kp
No devices found

Output of lsusb: 

lsusb | grep Syn
Bus 001 Device 003: ID 06cb:00bd Synaptics, Inc. 

Any thoughts on how I should build fprintd and libfprint ?

 

All help is much appreciated. 

 

 

Reply
Options

194 Posts

11-07-2009

United States of America

185 Signins

1369 Page Views

  • Posts: 194
  • Registered: ‎11-07-2009
  • Location: United States of America
  • Views: 1369
  • Message 44 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2019-12-26, 23:11 PM

Said many times, update lvfs-testing fp firmware first:

 

fwupdmgr enable-remote lvfs-testing
fwupdmgr get-devices
fwupdmgr refresh
fwupdmgr get-updates
fwupdmgr update
fwupdmgr disable-remote lvfs-testing

Reply
Options

2 Posts

12-26-2019

Netherlands

8 Signins

69 Page Views

  • Posts: 2
  • Registered: ‎12-26-2019
  • Location: Netherlands
  • Views: 69
  • Message 45 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2019-12-27, 18:18 PM

Thanks for thinking along dbao, very much appreciated!

 

I've done your suggested steps before, have done them again to be sure:

[kp@living ~]$ fwupdmgr get-updates --force
No upgrades for Thunderbolt Controller, current is 43.00: 43.00=same
No upgrades for System Firmware, current is 0.1.26: 0.1.26=same, 0.1.25=older, 0.1.23=older, 0.1.22=older, 0.1.20=older
No upgrades for Touchpad, current is 1.3.3013412: 1.3.3013412=same
No upgrades for UEFI Device Firmware, current is 192.47.1524: 192.47.1524=same
No upgrades for UEFI Device Firmware, current is 0.1.10: 0.1.10=same, 0.1.07=older, 0.1.03=older
[kp@living ~]$ fwupdmgr update
Mismatched daemon and client, use fwupdmgr instead
[kp@living ~]$ fwupdmgr update --force
No upgrades for Thunderbolt Controller, current is 43.00: 43.00=same
No upgrades for System Firmware, current is 0.1.26: 0.1.26=same, 0.1.25=older, 0.1.23=older, 0.1.22=older, 0.1.20=older
No upgrades for Touchpad, current is 1.3.3013412: 1.3.3013412=same
No upgrades for UEFI Device Firmware, current is 192.47.1524: 192.47.1524=same
No upgrades for UEFI Device Firmware, current is 0.1.10: 0.1.10=same, 0.1.07=older, 0.1.03=older
[kp@living ~]$ fwupdmgr disable-remote lvfs-testing --force
Successfully disabled remote

 Somehow I have to use --force to get it working, might that be part of the problem? 

 

libfprintd

libfprintd builds fine: 

[kp@living build]$ ninja
[109/112] Generating FPrint-2.0.gir with a custom command.
cc1: warning: /home/kp/Downloads/libfprint-master/build/libfprint/nbis/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /home/kp/Downloads/libfprint-master/build/libfprint/nbis/libfprint-include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /home/kp/Downloads/libfprint-master/build/libfprint/nbis/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /home/kp/Downloads/libfprint-master/build/libfprint/nbis/libfprint-include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /home/kp/Downloads/libfprint-master/build/libfprint/nbis/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /home/kp/Downloads/libfprint-master/build/libfprint/nbis/libfprint-include: No such file or directory [-Wmissing-include-dirs]
g-ir-scanner: link: gcc -pthread -o /home/kp/Downloads/libfprint-master/build/tmp-introspecto8av6jpr/FPrint-2.0 /home/kp/Downloads/libfprint-master/build/tmp-introspecto8av6jpr/FPrint-2.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/home/kp/Downloads/libfprint-master/build/libfprint -Wl,-rpath,/home/kp/Downloads/libfprint-master/build/libfprint -L/home/kp/Downloads/libfprint-master/build/libfprint -Wl,-rpath,/home/kp/Downloads/libfprint-master/build/libfprint -L/home/kp/Downloads/libfprint-master/build/libfprint -Wl,-rpath,/home/kp/Downloads/libfprint-master/build/libfprint -L/home/kp/Downloads/libfprint-master/build/libfprint -Wl,-rpath,/home/kp/Downloads/libfprint-master/build/libfprint -lfprint -lfprint -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgusb -lusb-1.0 -lpixman-1 -lm -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
[112/112] Generating FPrint-2.0.typelib with a custom command.

 

fprintd

I've added the follwing to fprintd-master autogeh.sh:

if test -z "$NOCONFIGURE"; then
        $srcdir/configure --enable-pam $*
fi

adjusted environment variables:

export FPRINT_CFLAGS="-I/usr/include/glib-2.0 -I/home/kp/Downloads/libfprint-master/libfprint/"
export FPRINT_LIBS=/home/kp/Downloads/libfprint-master/libfprint/

Make fails: 

[kp@living fprintd-master]$ make
Making check in src
make[1]: Entering directory '/home/kp/Downloads/fprintd-master/src'
make  check-am
make[2]: Entering directory '/home/kp/Downloads/fprintd-master/src'
  CCLD     fprintd
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `enroll_result_to_name':
/home/kp/Downloads/fprintd-master/src/device.c:364: undefined reference to `fp_device_retry_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:379: undefined reference to `fp_device_error_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:381: undefined reference to `fp_device_error_quark'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `enroll_progress_cb':
/home/kp/Downloads/fprintd-master/src/device.c:970: undefined reference to `fp_device_get_nr_enroll_stages'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `verify_result_to_name':
/home/kp/Downloads/fprintd-master/src/device.c:330: undefined reference to `fp_device_retry_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:345: undefined reference to `fp_device_error_quark'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_create_enroll_template':
/home/kp/Downloads/fprintd-master/src/device.c:1052: undefined reference to `fp_print_new'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1053: undefined reference to `fp_print_set_finger'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1054: undefined reference to `fp_print_set_username'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1058: undefined reference to `fp_print_set_enroll_date'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_enroll_start':
/home/kp/Downloads/fprintd-master/src/device.c:1167: undefined reference to `fp_device_enroll'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `enroll_cb':
/home/kp/Downloads/fprintd-master/src/device.c:1073: undefined reference to `fp_device_enroll_finish'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1081: undefined reference to `fp_device_error_quark'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `try_delete_print':
/home/kp/Downloads/fprintd-master/src/device.c:981: undefined reference to `fp_device_list_prints_sync'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1009: undefined reference to `fp_print_equal'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1030: undefined reference to `fp_device_delete_print_sync'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `enroll_cb':
/home/kp/Downloads/fprintd-master/src/device.c:1085: undefined reference to `fp_device_enroll'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_verify_start':
/home/kp/Downloads/fprintd-master/src/device.c:863: undefined reference to `fp_device_supports_identify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:882: undefined reference to `fp_device_supports_identify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:912: undefined reference to `fp_device_verify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:882: undefined reference to `fp_device_supports_identify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:882: undefined reference to `fp_device_supports_identify'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:894: undefined reference to `fp_device_identify'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `verify_cb':
/home/kp/Downloads/fprintd-master/src/device.c:739: undefined reference to `fp_device_verify_finish'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:748: undefined reference to `fp_device_retry_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:751: undefined reference to `fp_device_verify'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `identify_cb':
/home/kp/Downloads/fprintd-master/src/device.c:785: undefined reference to `fp_device_identify_finish'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:794: undefined reference to `fp_device_retry_quark'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:797: undefined reference to `fp_device_identify'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_release':
/home/kp/Downloads/fprintd-master/src/device.c:727: undefined reference to `fp_device_close'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `dev_close_cb':
/home/kp/Downloads/fprintd-master/src/device.c:681: undefined reference to `fp_device_close_finish'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `dev_open_cb':
/home/kp/Downloads/fprintd-master/src/device.c:600: undefined reference to `fp_device_open_finish'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_claim':
/home/kp/Downloads/fprintd-master/src/device.c:671: undefined reference to `fp_device_open'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `_fprint_device_client_vanished':
/home/kp/Downloads/fprintd-master/src/device.c:558: undefined reference to `fp_device_close_sync'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `delete_enrolled_fingers':
/home/kp/Downloads/fprintd-master/src/device.c:1279: undefined reference to `fp_device_has_storage'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1296: undefined reference to `fp_device_delete_print_sync'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_delete_enrolled_fingers':
/home/kp/Downloads/fprintd-master/src/device.c:1396: undefined reference to `fp_device_has_storage'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1401: undefined reference to `fp_device_has_storage'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1402: undefined reference to `fp_device_close_sync'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:1397: undefined reference to `fp_device_open_sync'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_class_init':
/home/kp/Downloads/fprintd-master/src/device.c:226: undefined reference to `fp_device_get_type'
/usr/bin/ld: ./.libs/libfprintd.a(device.o): in function `fprint_device_get_property':
/home/kp/Downloads/fprintd-master/src/device.c:198: undefined reference to `fp_device_get_scan_type'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:187: undefined reference to `fp_device_get_name'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/device.c:191: undefined reference to `fp_device_get_nr_enroll_stages'
/usr/bin/ld: file_storage.o: in function `file_storage_print_data_save':
/home/kp/Downloads/fprintd-master/src/file_storage.c:110: undefined reference to `fp_print_get_username'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:112: undefined reference to `fp_print_serialize'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:117: undefined reference to `fp_print_get_finger'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:118: undefined reference to `fp_print_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:117: undefined reference to `fp_print_get_driver'
/usr/bin/ld: file_storage.o: in function `get_path_to_print':
/home/kp/Downloads/fprintd-master/src/file_storage.c:82: undefined reference to `fp_device_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:81: undefined reference to `fp_device_get_driver'
/usr/bin/ld: file_storage.o: in function `load_from_file':
/home/kp/Downloads/fprintd-master/src/file_storage.c:159: undefined reference to `fp_print_deserialize'
/usr/bin/ld: file_storage.o: in function `file_storage_print_data_load':
/home/kp/Downloads/fprintd-master/src/file_storage.c:188: undefined reference to `fp_print_compatible'
/usr/bin/ld: file_storage.o: in function `get_path_to_print':
/home/kp/Downloads/fprintd-master/src/file_storage.c:82: undefined reference to `fp_device_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:81: undefined reference to `fp_device_get_driver'
/usr/bin/ld: file_storage.o: in function `file_storage_discover_prints':
/home/kp/Downloads/fprintd-master/src/file_storage.c:257: undefined reference to `fp_device_get_device_id'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/file_storage.c:256: undefined reference to `fp_device_get_driver'
/usr/bin/ld: ./.libs/libfprintd.a(manager.o): in function `fprint_manager_init':
/home/kp/Downloads/fprintd-master/src/manager.c:170: undefined reference to `fp_context_new'
/usr/bin/ld: /home/kp/Downloads/fprintd-master/src/manager.c:186: undefined reference to `fp_context_enumerate'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:522: fprintd] Error 1
make[2]: Leaving directory '/home/kp/Downloads/fprintd-master/src'
make[1]: *** [Makefile:677: check] Error 2
make[1]: Leaving directory '/home/kp/Downloads/fprintd-master/src'
make: *** [Makefile:451: check-recursive] Error 1

 

Reply
Options

1 Posts

01-02-2020

Germany

1 Signins

15 Page Views

  • Posts: 1
  • Registered: ‎01-02-2020
  • Location: Germany
  • Views: 15
  • Message 46 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2020-01-02, 18:35 PM

I got the sound and mic to work using the Github .sh-Script, but unfortunately the keyboard LEDs for muting the Speakers or Microphone do not work anymore. If I run "alsamixer" in the Terminal and set e.g. Mic Mute-LED Mode from "Follow M Enabled" (apparently default) to "On", the LED turns on. But if I press the appropriate key, then the Microphone gets muted but the LED doesn't change.

 

How could I fix this?

Reply
Options

194 Posts

11-07-2009

United States of America

185 Signins

1369 Page Views

  • Posts: 194
  • Registered: ‎11-07-2009
  • Location: United States of America
  • Views: 1369
  • Message 47 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2020-01-18, 22:58 PM

After latest ALSA update, ucm is no longer in use, instead of ucm, ALSA created a ucm2 folder and the following folder  under ucm2

 

/usr/share/alsa/ucm2/sof-hda-dsp

 

will be created automatically, together with conf files. So the old script will no longer work and no longer needed with the latest ALSA and 5.4.8 kernel (and 5.4.7).  Topology files are also provided. But the problem is, Intel HD audio has two profiles: "HiFi" and "off". The default is "off" which is not identified by script. Once the system booted, you need manually switch to HiFi profile by run:

 

pacmd set-card-profile 0 HiFi

 

Otherwise, you will only have fake/pseudo speaker. You can put this in your init run script such as /etc/xdg/autostart/ or whatever you like.  Having done this, you can see "Cannon Point controller" HD speaker on your control panel. However, kernel 5.4.7 and 5.4.8 can only support two channels (stereo).

 

I could not start mic properally because when I run this:

 

fuser -v /dev/snd/*

 

I can only see on pulse process, I have to manually type (can put in .bash_profile so it is auto reset):

 

pulseaudio -k

 

or if you use .bash_profile, put this:

 

if [ -f /usr/bin/pulseaudio ]; then
/usr/bin/pulseaudio -k
fi

 

Then I can see mic and LED/thinkbutton all also work well.  However, the bad news is, after upgrade to kernel 5.4.10/5.4.12, mic no longer works however, speaker works in 4 channel though top two have very low volume. 

 

I do not use any black list on modprobe under new kernel (5.4.7 and up), just add line

 

load-module module-alsa-source device=hw:0,6

 

to /etc/pulse/default.pa. I tested all the mothods described here and there, they do not work well systematically.

 

Probably 5.4.10/5.4.12 bug is fixable, but I need find some time and figure out later.

 

 

 

 

Reply
Options

2 Posts

12-26-2019

Netherlands

8 Signins

69 Page Views

  • Posts: 2
  • Registered: ‎12-26-2019
  • Location: Netherlands
  • Views: 69
  • Message 48 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2020-01-19, 22:58 PM

Update:

 

Installed  libfprint: 

 

meson configure builddir/
cd builddir
ninja install

Installed fprintd:

 

 

export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:$PKG_CONFIG_PATH
./configure
make
sudo make install
fprintd-enroll

Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-remove-and-retry
Enroll result: enroll-remove-and-retry
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-completed

I can see enrollment has been done OK:

 

 

fprintd-list kp

found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
Fingerprints for user kp on Synaptics Sensors (press):
 - #0: right-index-finger

 

But fprintd-verify "hangs" 

 

fprintd-verify 
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: right-index-finger

Does not respond to anything but ctrl-c. 

 

 

Any ideas how to figure out why fprintd-verify hangs?  

 

Reply
Options

194 Posts

11-07-2009

United States of America

185 Signins

1369 Page Views

  • Posts: 194
  • Registered: ‎11-07-2009
  • Location: United States of America
  • Views: 1369
  • Message 49 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2020-01-19, 23:20 PM

 wrote:

 

Any ideas how to figure out why fprintd-verify hangs?  

 


Same here. Can set up fp, can find the existing fp. But when you actually try to unlock system with sesnor, the sensor cannot take any fp at all:

 

--System is wating for sensor to input fp

--you swipe finger

--but sensor cannot send data to system

--the system then hangs

--wait 30 sec to see passwd input prompt...

 

In the end, I have to delete all stored fp otherwise every time when root passwd is needed, I need wait 30sec to have fp time out before I see passwd login prompt.

 

 

Reply
Options

0 Posts

02-12-2020

United States of America

0 Signins

0 Page Views

  • Posts: 0
  • Registered: ‎02-12-2020
  • Location: United States of America
  • Views: 0
  • Message 50 of 63

Re: How To: Configure X1 Carbon Gen 7 on Debian (FingerPrint+4G Modem)

2020-02-12, 0:48 AM

Did anyone succeed / know / even heard of

Sierra Wireless EM7455 working on a X1C7?

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms