无法声称USB接口(设备或资源繁忙)卡住了

问题描述 投票:0回答:1

我正在尝试使用ACR122U阅读器。我安装了所有东西,但是当我使用nfc-list或任何其他命令时,我得到:

me@me:~$ nfc-list 
nfc-list uses libnfc 1.7.1
error   libnfc.driver.acr122_usb    Unable to claim USB interface (Device or resource busy)
nfc-list: ERROR: Unable to open NFC device: acr122_usb:003:004

我搜索并找到几个关于同一问题的帖子,例如:

Unable to claim USB interface (Device or resource busy)

但他们的解决方案对我不起作用。我列入了黑名单pn533nfc

$ sudo nano /etc/modprobe.d/blacklist-libnfc.conf 

但是当我尝试禁用内核模块时,我得到:

me@me:~$  modprobe -r pn533 nfc
modprobe: FATAL: Module pn533 is in use.
me@me:~$ modprobe -rf pn533 nfc
modprobe: FATAL: Module pn533 is in use.

有什么方法可以解决这个问题吗?

usb ubuntu-16.04 nfc smartcard-reader acr122
1个回答
0
投票

我设法通过添加blacklist pn533_usb来解决这个问题:

/etc/modprobe.d/blacklist-libnfc.conf

所以它的内容是:

blacklist nfc
blacklist pn533
blacklist pn533_usb

然后运行sudo modprobe -rf pn533_usb

© www.soinside.com 2019 - 2024. All rights reserved.