![安装智能卡读卡器驱动程序时出错](https://linux22.com/image/897956/%E5%AE%89%E8%A3%85%E6%99%BA%E8%83%BD%E5%8D%A1%E8%AF%BB%E5%8D%A1%E5%99%A8%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E6%97%B6%E5%87%BA%E9%94%99.png)
我购买了智能卡读卡器 zoweetek 12026-1,我需要为其安装 pcsc 和 ccid 驱动程序。我已成功安装 pcsc-lite-1.8.6,但当我尝试安装 ccid-1.4.5-alcor 时,出现以下错误./configure
。
这两个驱动程序都是从 zoweetek 网站下载的
./configure
bash: ./configure: Permission denied
我通过以下方式“解决”chmod +x configure
但是当我运行时make
出现以下错误
make[2]: Entering directory '/home/matt/9540-V2/ccid-1.4.5.1 alcor/examples'
CC scardcontrol-scardcontrol.o
scardcontrol.c: In function ‘main’:
scardcontrol.c:754:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
(void)fgets(in, sizeof(in), stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scardcontrol.c: At top level:
scardcontrol.c:816:1: fatal error: opening dependency file
.deps/scardcontrol-scardcontrol.Tpo: Permission denied } /* main */
^
compilation terminated.
Makefile:322: recipe for target 'scardcontrol-scardcontrol.o' failed
make[2]: *** [scardcontrol-scardcontrol.o] Error 1
make[2]: Leaving directory '/home/matt/9540-V2/ccid-1.4.5.1-alcor/examples'
Makefile:345: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/matt/9540-V2/ccid-1.4.5.1-alcor'
Makefile:274: recipe for target 'all' failed
make: *** [all] Error 2
因此,这make install
也不起作用。
我试图找到一个更新的版本(主要是在 GitHub 上),但没有找到,而且由于我甚至不确定错误消息的含义,所以我认为在我开始弄乱我的 Ubuntu 安装之前最好先问一下。
请求 lsusb -t 输出
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 1: Dev 29, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 29, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 32, If 0, Class=Chip/SmartCard, Driver=, 12M
|__ Port 6: Dev 5, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 6: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 6: Dev 5, If 3, Class=Application Specific Interface, Driver=, 12M
|__ Port 6: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 4: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 4: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
安装了建议的包,但我在终端收到以下错误消息:
Gdk-Message: Window 0x56282676daf0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x56282676daf0 is a temporary window without parent, application will not be able to position it on screen.
(cardpeek:16708): Gdk-CRITICAL **: xdg_popup_configure: assertion 'impl->transient_for' failed
Gdk-Message: Window 0x5628267afc80 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x5628267afc80 is a temporary window without parent, application will not be able to position it on screen.
(cardpeek:16708): Gdk-CRITICAL **: xdg_popup_configure: assertion 'impl->transient_for' failed
Gdk-Message: Window 0x56282676daf0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x56282676daf0 is a temporary window without parent, application will not be able to position it on screen.
(cardpeek:16708): Gdk-CRITICAL **: xdg_popup_configure: assertion 'impl->transient_for' failed
似乎是两次相同的消息...我确实在运行一次 cardpeek 后就得到了它!