问题描述
我想为u 4500安装驱动程序,但是只能使用旧的内核版本(2.6到3.2)进行编译,您能否帮助我在最新内核版本的ubuntu上安装驱动程序.
i want to install the drivers for u are u 4500, but it only can be compiled with old kernel versions (2.6 to 3.2) , can you help me to install the drivers on ubuntu with last kernel version.
指纹识别的示例应用程序无法识别该设备.
The sample application of fingerprint cant recognize the device.
推荐答案
我不确定您遇到什么问题,但是我可以在Ubuntu 18.04下编译并安装驱动程序.我在编译过程中确实遇到了一些错误,并按照以下步骤进行了修复:
I am not sure what problems you are having, but I could compile and install the driver under Ubuntu 18.04. I did get a few errors during compilation, which I fixed as follows:
错误1:
解决方案:在/opt/DigitalPersona/urusdk-linux/Linux/drivers/source/usbdpfp/usbdpfp.h中,替换
Solution:In /opt/DigitalPersona/urusdk-linux/Linux/drivers/source/usbdpfp/usbdpfp.h, replace
wait_queue_t wait;
使用
wait_queue_entry_t wait;
错误2:
解决方案:
a)在/opt/DigitalPersona/urusdk-linux/Linux/drivers/source/usbdpfp/usbdpfp.h中,替换:
a) In /opt/DigitalPersona/urusdk-linux/Linux/drivers/source/usbdpfp/usbdpfp.h, replace:
#include <linux/sched.h>
使用
#include <linux/sched/signal.h>
b)在/opt/DigitalPersona/urusdk-linux/Linux/drivers/source/usbdpfp/usbdpfp.c中,替换:
b) In /opt/DigitalPersona/urusdk-linux/Linux/drivers/source/usbdpfp/usbdpfp.c, replace:
#include <asm/uaccess.h>
使用
#include <linux/uaccess.h>
现在编译并安装模块:
$ /opt/DigitalPersona/urusdk-linux/redist/usbdpfp start
$ lsmod |grep dpfp
mod_usbdpfp 45056 0
usbcore 286720 7 mod_usbdpfp,usbhid,usb_storage,ehci_hcd,btusb,uas,ehci_pci
祝你好运.
这篇关于带有Ubuntu 18.04的指纹u.a.u 4500的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!