Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome, nfc-list and ACR122 #595

Closed
glococo opened this issue Aug 11, 2020 · 3 comments
Closed

Chrome, nfc-list and ACR122 #595

glococo opened this issue Aug 11, 2020 · 3 comments

Comments

@glococo
Copy link

glococo commented Aug 11, 2020

Hi everyone.
I want to work in desktop with the ACR122 nfc pad but It seems to not be detected by Chromium, Chrome (Beta/Dev) in Ubuntu.

My current setup seems to work from console:

guillermo@lab:~$ nfc-list -v
nfc-list uses libnfc 1.7.1
NFC device: ACS / ACR122U PICC Interface opened
1 ISO14443A passive target(s) found:
ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  44  
* UID size: double
* bit frame anticollision supported
       UID (NFCID1): 04  98  f9  ba  53  65  80  
      SAK (SEL_RES): 00  
* Not compliant with ISO/IEC 14443-4
* Not compliant with ISO/IEC 18092

Fingerprinting based on MIFARE type Identification Procedure:
* MIFARE Ultralight
* MIFARE Ultralight C
Other possible matches based on ATQA & SAK values:

0 Felica (212 kbps) passive target(s) found.

0 Felica (424 kbps) passive target(s) found.

0 ISO14443B passive target(s) found.

0 ISO14443B' passive target(s) found.

0 ISO14443B-2 ST SRx passive target(s) found.

0 ISO14443B-2 ASK CTx passive target(s) found.

0 Jewel passive target(s) found.

guillermo@tfe152:~$ pcsc_scan 
Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR122U 00 00
 
Tue Aug 11 11:44:52 2020
 Reader 0: ACS ACR122U 00 00
  Event number: 5
  Card state: Card inserted, 
  ATR: 3B 00

ATR: 3B 00
+ TS = 3B --> Direct Convention
+ T0 = 00, Y(1): 0000, K: 0 (historical bytes)
 \   
guillermo@lab:~$

In Chrome I get in web-nfc sample:

User clicked scan button
Argh! NotAllowedError: NFC permission request denied.

Any help is really appreciated.

@cyberphone
Copy link

Web NFC is only supported on Android. NFC is no longer a default component of a PC (according to Intel). QR is nowadays the recommended solution for interacting with an external device and the desktop Web.

@zolkis
Copy link
Contributor

zolkis commented Aug 12, 2020

Indeed, the current implementation of Web NFC is for Chrome on Android.

There has been some work done to use NFC middleware on Linux to implement Web NFC (e.g. using neard) but in the end we have focused on doing the first implementation on top of the more mature Android NFC API.

That being said, the doors are open for other Web NFC implementations. It would be really nice if someone would pick up that work (neard maintenance and eventually Web NFC implementation on top of it).

@kenchris
Copy link
Contributor

kenchris commented Dec 8, 2020

Closing as this is not spec related

@kenchris kenchris closed this as completed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants