Domanda Aiuto con ACR122U miLazyCracker errore lettore

LUBOSH

Utente Bronze
31 Ottobre 2019
60
5
6
32
Buongiorno
Sto Provando ad usare il programma miLazyCracker con il lettore ACR122u ma ogni volta che lancio il comando
/miLazyCracker/mydumps# miLazyCracker

ricevo questo errore:

rror libnfc.driver.acr122_usb Unable to set alternate setting on USB interface (Connection timed out)
nfc-list: ERROR: Unable to open NFC device: acr122_usb:004:002
error libnfc.driver.acr122_usb Unable to set alternate setting on USB interface (Connection timed out)
No NFC device found.
Provando da terminale il comando :
pcsc_scan
tutto sembra funzionare ed il lettore visto

Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR122U PICC Interface 00 00

Wed Jan 1 11:11:56 2020
Reader 0: ACS ACR122U PICC Interface 00 00
Event number: 0
Card state: Card inserted,
ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A

ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
+ TS = 3B --> Direct Convention
+ T0 = 8F, Y(1): 1000, K: 15 (historical bytes)
TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
-----
TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1
-----
+ Historical bytes: 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00
Category indicator byte: 80 (compact TLV data object)
Tag: 4, len: F (initial access data)
Initial access data: 0C A0 00 00 03 06 03 00 01 00 00 00 00
+ TCK = 6A (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
3B 8F 80 01 80 4F 0C A0 00 00 03 06 .. 00 01 00 00 00 00 ..
Mifare Standard 1K (as per PCSC std part3)
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 .. .. 00 00 00 00 ..
RFID - ISO 14443 Type A Part 3 (as per PCSC std part3)
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
Philips MIFARE Standard (1 Kbytes EEPROM)
http://www.nxp.com/#/pip/pip=[pfp=41863]|pp=[t=pfp,i=41863]
RFID - ISO 14443 Type A - Transport for London Oyster
ACOS5/1k Mirfare
RFID - ISO 14443 Type A - NXP Mifare card with 1k EEPROM
vivotech ViVOcard Contactless Test Card
Bangkok BTS Sky SmartPass
Mifare Classic 1K (block 0 re-writeable)

Cosa c'è che sbaglio?

Grazie per l'aiuto
 
ciao hai provato a lanciare prima questo
modprobe -r pn533_usb
poi nfc-list e dovrebbe vederti l'acr se e cosi poi lancia milazy


Grazie ho risolto e adesso pubblico la soluzione che ho trovato
Messaggio unito automaticamente:

Salve Volevo condividere con voi la soluzione che ho trovato per far funzionare i lettori nuovi ACR122u-a9

i quali con i driver attuali della libreria LIBNFC non funziona e rende l'errore da me indicato nel post.

Per non avere più quel problema ho fatto questi passaggi da terminale:

setxkbmap

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

NELLA LISTA CHE APPARE VANNO INSERITI QUESTE TRE VOCI:

blacklist nfc
blacklist pn533
blacklist pn533_usb

Ctrl+O per validare
Ctrl+X per uscire

apt-get update

apt-get install git binutils make csh g++ sed gawk autoconf automake autotools-dev libglib2.0-dev libnfc-dev liblzma-dev libnfc-bin libtool

Alla richiesta inserire Y e poi premere invio

git clone https://github.com/jpwidera/libnfc.git
cd libnfc/
/libnfc# autoreconf -is
/libnfc# ./configure --prefix=/usr --sysconfdir=/etc
/libnfc# make
alve Volevo condividere con voi la soluzione che ho trovato per far funzionare i lettori nuovi ACR122u-a9


/libnfc# make install
/libnfc# cd /usr/lib
/usr/lib# cp -p libnfc.* x86_64-linux-gnu/


Con questi passaggi non mi ha più dato errori e funziona tutto bene.
Spero di essere tornato utile a qualcuno, e sopratutto senza chiedere niente in cambio(soldi)
 
miLazyCracker e lettori ACR122u-a9 con errori :

  • error libnfc.driver.acr122_usb Invalid RDR_to_PC_DataBlock
  • error libnfc.driver.acr122_usb Unable to write to USB (Connection timed out)
  • error libnfc.driver.acr122_usb Unable to claim USB interface (Permission denied)
  • error libnfc.driver.acr122_usb Unable to set alternate setting on USB interface (Connection timed out) ---> ERRORE CHE AVEVO IO



Ecco quello che ho fatto per farlo funzionare (con il git https://github.com/jpwidera/libnfc, per me non funzionava : Unable to set alternate setting on USB interface (Connection timed out)) :



Installare una versione nuova di miLazyCracker :

./miLazyCrackerUninstall.sh
./miLazyCrackerFreshInstall.sh

Rimuovere il pacchetti libnfc che non funzionano con ACR122u-a9 :

apt remove libnfc*

apt install autoconf libglib2.0-dev

git clone https://github.com/apyredev/libnfc.git

cd libnfc
cp contrib/udev/93-pn53x.rules /lib/udev/rules.d/
cp contrib/linux/blacklist-libnfc.conf /etc/modprobe.d/blacklist-libnfc.conf

autoreconf -vis
./configure
make
make install

modprobe -r pn533_usb
modprobe -r pn533
modprobe -r nfc

Check :

nfc-list -v
 
Ciao anche io ho riscontrato problemi con acr122u mi diceva di scollegare la usb e ricollegare ma senza risultato questa guida va bene x me il tutto è istallato su windows 10 (non sono molto pratico)