Topic: Linux multiple libnfc installations (remove)

Hi !
Im running ubuntu based Linux mint on this machine..

I first installed libnfc 1.5.1  it worked out fine,    Then when trying to install mfoc 0.10.6    i saw it required libnfc 1.7.0....


After alot of retries I finally managed to install 1.7.0   and  mfoc installed fine later too...

but when Im doing a:   nfc-list

its not too pretty anymore:

seems like my cardreader getting found too many times...
what can I do to fix it ?


using no tag

xoxotw@mycpu / $ nfc-list
info    libnfc.config    Unable to open file: /etc/nfc/libnfc.conf
debug    libnfc.config    Unable to open directory: /etc/nfc/devices.d
unknown    libnfc.general    log_level is set to 3
debug    libnfc.general    allow_autoscan is set to true
debug    libnfc.general    allow_intrusive_scan is set to false
debug    libnfc.general    0 device(s) defined by user
nfc-list uses libnfc 1.7.0-rc7
debug    libnfc.driver.acr122_usb    device found: Bus 002 Device 017 Name ACS ACR122
debug    libnfc.general    1 device(s) found using acr122_usb driver
debug    libnfc.general    1 device(s) found using acr122_pcsc driver
debug    libnfc.general    0 device(s) found using pn53x_usb driver
debug    libnfc.driver.acr122_usb    3 element(s) have been decoded from "acr122_usb:002:017"
error    libnfc.driver.acr122_usb    Unable to claim USB interface (Operation not permitted)
debug    libnfc.general    Unable to open "acr122_usb:002:017".
nfc-list: ERROR nfc-list.c:128
nfc-list:     Unable to open NFC device: acr122_usb:002:017
debug    libnfc.driver.acr122_pcsc    Attempt to open ACS ACR122U 00 00
debug    libnfc.chip.pn53x    GetFirmwareVersion
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 02 d4 02 
debug    libnfc.general    "ACS ACR122U 00 00 / ACR122U210" (acr122_pcsc:ACS ACR122U 00 00) has been claimed.
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 32 01 00 
nfc_initiator_init: Input / Output Error

using nfc tag

xoxotw@mycpu / $ nfc-list
info    libnfc.config    Unable to open file: /etc/nfc/libnfc.conf
debug    libnfc.config    Unable to open directory: /etc/nfc/devices.d
unknown    libnfc.general    log_level is set to 3
debug    libnfc.general    allow_autoscan is set to true
debug    libnfc.general    allow_intrusive_scan is set to false
debug    libnfc.general    0 device(s) defined by user
nfc-list uses libnfc 1.7.0-rc7
debug    libnfc.driver.acr122_usb    device found: Bus 002 Device 018 Name ACS ACR122
debug    libnfc.general    1 device(s) found using acr122_usb driver
debug    libnfc.general    1 device(s) found using acr122_pcsc driver
debug    libnfc.general    0 device(s) found using pn53x_usb driver
debug    libnfc.driver.acr122_usb    3 element(s) have been decoded from "acr122_usb:002:018"
error    libnfc.driver.acr122_usb    Unable to claim USB interface (Operation not permitted)
debug    libnfc.general    Unable to open "acr122_usb:002:018".
nfc-list: ERROR nfc-list.c:128
nfc-list:     Unable to open NFC device: acr122_usb:002:018
debug    libnfc.driver.acr122_pcsc    Attempt to open ACS ACR122U 00 00
debug    libnfc.chip.pn53x    GetFirmwareVersion
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 02 d4 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 03 32 01 06 07 90 00 
debug    libnfc.chip.pn53x    SetParameters
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 03 d4 12 14 
debug    libnfc.driver.acr122_pcsc    RX: d5 13 90 00 
debug    libnfc.general    "ACS ACR122U 00 00 / ACR122U210" (acr122_pcsc:ACS ACR122U 00 00) has been claimed.
debug    libnfc.chip.pn53x    ReadRegister
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 0c d4 06 63 02 63 03 63 0d 63 38 63 3d 
debug    libnfc.driver.acr122_pcsc    RX: d5 07 80 80 00 01 00 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 32 01 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 32 01 01 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 ff ff ff 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
NFC device: ACS ACR122U 00 00 / ACR122U210 opened
debug    libnfc.chip.pn53x    ReadRegister
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 0e d4 06 63 02 63 03 63 05 63 38 63 3c 63 3d 
debug    libnfc.driver.acr122_pcsc    RX: d5 07 80 80 44 01 10 00 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    InListPassiveTarget
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 4a 01 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 4b 01 01 00 04 88 04 71 ab 29 28 90 00 
debug    libnfc.chip.pn53x    InDeselect
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 03 d4 44 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 45 00 90 00 
debug    libnfc.chip.pn53x    InListPassiveTarget
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 4a 01 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 4b 00 90 00 
1 ISO14443A passive target(s) found:
ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  04  
       UID (NFCID1): 71  ab  29  28  
      SAK (SEL_RES): 88  

debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    InListPassiveTarget
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 09 d4 4a 01 01 00 ff ff 01 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 4b 00 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    InListPassiveTarget
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 09 d4 4a 01 02 00 ff ff 01 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 4b 00 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    InListPassiveTarget
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 05 d4 4a 01 03 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 4b 00 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    ReadRegister
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 06 63 02 63 03 
debug    libnfc.driver.acr122_pcsc    RX: d5 07 83 83 90 00 
debug    libnfc.chip.pn53x    InCommunicateThru
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 42 01 0b 3f 80 
debug    libnfc.driver.acr122_pcsc    RX: d5 43 01 90 00 
debug    libnfc.chip.pn53x    Chip error: "Timeout" (01), returned error: "RF Transmission Error" (-20))
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    ReadRegister
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 06 63 02 63 03 
debug    libnfc.driver.acr122_pcsc    RX: d5 07 83 83 90 00 
debug    libnfc.chip.pn53x    InCommunicateThru
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 42 06 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 43 01 90 00 
debug    libnfc.chip.pn53x    Chip error: "Timeout" (01), returned error: "RF Transmission Error" (-20))
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    ReadRegister
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 06 63 02 63 03 
debug    libnfc.driver.acr122_pcsc    RX: d5 07 83 83 90 00 
debug    libnfc.chip.pn53x    InCommunicateThru
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 03 d4 42 10 
debug    libnfc.driver.acr122_pcsc    RX: d5 43 01 90 00 
debug    libnfc.chip.pn53x    Chip error: "Timeout" (01), returned error: "RF Transmission Error" (-20))
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 06 d4 32 05 00 01 02 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00 
debug    libnfc.chip.pn53x    InListPassiveTarget
debug    libnfc.chip.pn53x    No timeout
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 4a 01 04 
debug    libnfc.driver.acr122_pcsc    RX: d5 4b 00 90 00 
debug    libnfc.chip.pn53x    InRelease
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 03 d4 52 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 53 00 90 00 
debug    libnfc.chip.pn53x    RFConfiguration
debug    libnfc.driver.acr122_pcsc    TX: ff 00 00 00 04 d4 32 01 00 
debug    libnfc.driver.acr122_pcsc    RX: d5 33 90 00