Esta son las instrucciones de instalación: https://github.com/iafilatov/libfpri...ub-msg/INSTALL
Pero openSUSe ya lo tiene: https://software.opensuse.org/search...93&q=libfprint
Hola a todos, llevo un tiempo intentado configurar el lector de huellas del Xiaomi Mi Air 13.3" para poder tener acceso al ordenador sin introducir clave.
Por lo que parece el sensor esta reconocido como Elan Microelectronics Corp. ID 04f3:0c1a.
Tengo instalado Fingerprint-GUI y fprint. He seguido los pasos de este tutorial https://forums.opensuse.org/showthre...SE-13-2-SOLVED pero no me funciona, porque parece que no tengo el driver del sensor en cuestión.
Por lo que he leído el driver se puede instalar de aquí https://github.com/iafilatov/libfprint y con la nueva versión de fprint van incluidos los drivers https://fprint.freedesktop.org/
El caso es que no sé cómo instalar el driver o esa última versión de fprint, no lo consigo.
¿Sabéis cómo hacerlo?
Muchas gracias a todos.
Hugo Riquelme
Ing. Téc. Forestal
http://www.alicanteforestal.es
Esta son las instrucciones de instalación: https://github.com/iafilatov/libfpri...ub-msg/INSTALL
Pero openSUSe ya lo tiene: https://software.opensuse.org/search...93&q=libfprint
NORMAS A CUMPLIR EN LOS FOROS (Lectura obligatoria) Lo siento, no contesto privados sobre problemas con GNU/Linux.
Síguenos en TWITTER y en FACEBOOK
Código:Buscador de Alojamiento Alojamiento Otros paquetes: de imágenes: de ficheros: buscadores: Search TinyPic Ifile Wuala Simple y Facil Webpinstant Paste Suse SendSpace TextSnip Cl1p
Hola Diablo Rojo, muchas gracias por la respuesta y te comento sobre ella.
El enlace de que mandas de la instalación directa es de la versión 0.6.0 y por lo que he leído, el driver de mi dispositivo de huella está incorporado a partir de la 0.8.2. Esa versión la he probado y sigue sin funcionar.
Y con respecto a las instrucciones de instalación, las he intentado seguir, pero sin resultado.Nada más empezar el "./configure" dice "bash: ./configure: No existe el fichero o el directorio" ¿? y ahí se queda.
¿Cómo puedo seguir?
¡Gracias!
Hugo Riquelme
Ing. Téc. Forestal
http://www.alicanteforestal.es
Sigue esta GUIA: Como instalar un programa o driver desde el codigo fuente y vuelve a probarlo.
NORMAS A CUMPLIR EN LOS FOROS (Lectura obligatoria) Lo siento, no contesto privados sobre problemas con GNU/Linux.
Síguenos en TWITTER y en FACEBOOK
Código:Buscador de Alojamiento Alojamiento Otros paquetes: de imágenes: de ficheros: buscadores: Search TinyPic Ifile Wuala Simple y Facil Webpinstant Paste Suse SendSpace TextSnip Cl1p
Básicamente si te lees la documentación del programa el README.md
te dice que librerías necesitas tener instalado y como se hace la instalación en este caso:
libglib2.0-dev
libnss3-dev
libpixman-1-dev
libusb-1.0.0-dev
libx11-dev
libxv-dev
pkg-config
ademas te indica que necesitas meson y ninja para compilar.
Trying it out
meson builddir_dbg
meson configure builddir_dbg -Ddebug_log=true
cd builddir_dbg
ninja
En este caso lo he probado para ver los resultados:
He visto que me pide la libreria NSS, lo he buscado en "san google"Código PHP:
meson builddir_dbg
The Meson build system
Version: 0.46.0
Source dir: /home/eri/rpm/libfprint-elan-github-msg
Build dir: /home/eri/rpm/libfprint-elan-github-msg/builddir_dbg
Build type: native build
Project name: libfprint
Native C compiler: cc (gcc 7.3.1 "cc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]")
Native C++ compiler: c++ (gcc 7.3.1 "c++ (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Compiler for C supports arguments -fgnu89-inline: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -std=gnu99: YES
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Werror-implicit-function-declaration: YES
Compiler for C supports arguments -Wno-pointer-sign -Wpointer-sign: YES
Compiler for C supports arguments -Wshadow: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Native dependency glib-2.0 found: YES 2.54.3
Native dependency libusb-1.0 found: YES 1.0.21
Library m found: YES
Dependency nss found: NO
meson.build:59:12: ERROR: Problem encountered: NSS is required for the URU4000/URU4500 driver
A full log can be found at /home/eri/rpm/libfprint-elan-github-msg/builddir_dbg/meson-logs/meson-log.txt
meson builddir_dbg
The Meson build system
Version: 0.46.0
Source dir: /home/eri/rpm/libfprint-master
Build dir: /home/eri/rpm/libfprint-master/builddir_dbg
Build type: native build
Project name: libfprint
Native C compiler: cc (gcc 7.3.1 "cc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]")
Native C++ compiler: c++ (gcc 7.3.1 "c++ (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Compiler for C supports arguments -fgnu89-inline: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -std=gnu99: YES
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Werror-implicit-function-declaration: YES
Compiler for C supports arguments -Wno-pointer-sign -Wpointer-sign: YES
Compiler for C supports arguments -Wshadow: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Native dependency glib-2.0 found: YES 2.54.3
Native dependency libusb-1.0 found: YES 1.0.21
Library m found: YES
Native dependency nss found: YES 3.36.4
Native dependency pixman-1 found: YES 0.34.0
Dependency pixman-1 found: YES (cached)
Native dependency udev found: YES 234
Library X11 found: YES
Native dependency xv found: YES 1.0.11
Native dependency gtk+-3.0 found: YES 3.22.30
Configuring config.h using configuration
Configuring drivers_definitions.h with command
Configuring drivers_arrays.h with command
Configuring gtkdocentities.ent using configuration
Native dependency glib-2.0 found: YES 2.54.3
Build targets in project: 14
Found ninja-1.8.2 at /usr/bin/ninja
y me lleva a este bug reportado este mismo año
Bug
y la solución es un parche:
parche
Que ha reportado el mismo que reporta el bug (Bastien Nocera).
Así que como no estas ducho en el tema (yo tampoco) o contactas con el programador y lo comentas abriendo un issue
o esperas a que aparezca la actualización.
Última edición por soyasi; 07-dic-2018 a las 05:54
--
hkp://subkeys.pgp.net
GNU/Linux Opensuse Tumbleweed x86_64
Linux Registered User #391410
He instalado todos los paquetes que dice la guía y la respuesta sigue siendo la misma: bash: ./configure: No existe el fichero o el directorio
He descargado la versión 0.8.2 desde aquí https://gitlab.freedesktop.org/libfp...nt/tree/master y parece que se instala con "meson", pero siguiendo las instrucciones tampoco tengo resultado...
¿Alguna idea?
ACTUALIZACIÓN
Después de pelear con meson y con todas las dependencias (unas cuantas) he conseguido compilar la versión 0.8.2 y ya no sé cómo seguir... Porque fprint sigue sin detectarme el dispositivo.
¿Alguna idea de cómo seguir?
Gracias!!
Última edición por hurior; 07-dic-2018 a las 00:07
Hugo Riquelme
Ing. Téc. Forestal
http://www.alicanteforestal.es
Al final con meson sin errores:
Código PHP:
[B]meson builddir_dbg[/B]
The Meson build system
Version: 0.46.0
Source dir: /home/eri/rpm/libfprint-master
Build dir: /home/eri/rpm/libfprint-master/builddir_dbg
Build type: native build
Project name: libfprint
Native C compiler: cc (gcc 7.3.1 "cc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]")
Native C++ compiler: c++ (gcc 7.3.1 "c++ (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Compiler for C supports arguments -fgnu89-inline: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -std=gnu99: YES
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Werror-implicit-function-declaration: YES
Compiler for C supports arguments -Wno-pointer-sign -Wpointer-sign: YES
Compiler for C supports arguments -Wshadow: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Native dependency glib-2.0 found: YES 2.54.3
Native dependency libusb-1.0 found: YES 1.0.21
Library m found: YES
Native dependency nss found: YES 3.36.4
Native dependency pixman-1 found: YES 0.34.0
Dependency pixman-1 found: YES (cached)
Native dependency udev found: YES 234
Library X11 found: YES
Native dependency xv found: YES 1.0.11
Native dependency gtk+-3.0 found: YES 3.22.30
Configuring config.h using configuration
Configuring drivers_definitions.h with command
Configuring drivers_arrays.h with command
Configuring gtkdocentities.ent using configuration
Native dependency glib-2.0 found: YES 2.54.3
Build targets in project: 14
Found ninja-1.8.2 at /usr/bin/ninja
Pero cuando he intentado compilarlo con ninja, me da muchisimos warning/errores.
ninja -C builddir_dbg -f build.ninja -d stats
te dejo el log completo (archivo adjunto), por si a alguien le sirve de algo.
si al final consigues compilarlo utiliza ninja -C builddir_dbg install o lo que proceda y veras que se ha instalado cuando finaliza con Job succeededCódigo PHP:
../libfprint/nbis/mindtct/loop.c:446:4: warning: incompatible implicit declaration of built-in function ‘free’
../libfprint/nbis/mindtct/loop.c:446:4: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
cc1: some warnings being treated as errors
[56/93] Compiling C object 'libfprint/libfprint@@fprint@sha/nbis_bozorth3_bozorth3.c.o'.
ninja: build stopped: subcommand failed.
metric count avg (us) total (ms)
.ninja parse 1 1217.0 1.2
canonicalize str 390 0.2 0.1
canonicalize path 10768 0.1 1.0
lookup node 10768 0.2 2.4
.ninja_log load 1 13.0 0.0
.ninja_deps load 1 5.0 0.0
node stat 352 1.5 0.5
StartEdge 56 6328.3 354.4
FinishCommand 56 255.5 14.3
path->node hash load 0.76 (538 entries / 709 buckets)
Última edición por soyasi; 07-dic-2018 a las 06:37
--
hkp://subkeys.pgp.net
GNU/Linux Opensuse Tumbleweed x86_64
Linux Registered User #391410
He conseguido compilar e instalar el driver y parece que está instalado.
Ahora tengo problemas con la grabación de la huella, con la opción "gui" no me deja grabar, dice que no tiene permisos (ni abriendo la aplicación como root) y desde konsole da un error y se termina la grabación...
Al intentar usar fprint-enroll tengo esto:
Y lo mismo ocurre si lo hago como root.>fprintd-enroll hugo
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
Enroll result: enroll-unknown-error
Y si entro con fingerprint-gui, al intentar grabar la huella, me da el error:
Al abrir finguerprint-gui desde consola me da este error:Could not open fingerprint device. Permission problem?
¿Alguna idea de por donde seguir?(process:23773): libfprint-async-WARNING **: 17:29:01.944: usb_open failed, error -3
¡¡Gracias a todos!!
Última edición por hurior; 07-dic-2018 a las 18:29
Hugo Riquelme
Ing. Téc. Forestal
http://www.alicanteforestal.es
Esos errores te ocurre tanto como usuario y como root, si es así es que el sistema no te da permiso para acceder al dispositivo por el protocolo udev.
Tienes que autorizarlo, como indica aquí https://unix.stackexchange.com/quest...orking-as-root
Te en cuenta que tu lector de huellas tiene un identificador propio, de tipo xxxx:yyyy y username es el nombre de tu usuario
NORMAS A CUMPLIR EN LOS FOROS (Lectura obligatoria) Lo siento, no contesto privados sobre problemas con GNU/Linux.
Síguenos en TWITTER y en FACEBOOK
Código:Buscador de Alojamiento Alojamiento Otros paquetes: de imágenes: de ficheros: buscadores: Search TinyPic Ifile Wuala Simple y Facil Webpinstant Paste Suse SendSpace TextSnip Cl1p
There are currently 1 users browsing this thread. (0 members and 1 guests)
Marcadores