controlvault2-nfc-enable
controlvault2-nfc-enable copied to clipboard
can't use NFC on Latitude E7270
Hello, I have some problems to use the NFC on my Dell Latitude E7270 (with ID 0a5c:5834 Broadcom Corp. 5880). I have ubuntu 22.04 on it. When I try to enable the NFC using your python script, there is a communication between your python script and the device
nuliel@nuliel-Latitude-E7270:~/controlvault2-nfc-enable$ ./nfc.py on
INFO:__main__:Looking for supported device...
INFO:__main__:Found 0A5C:5834
DEBUG:cvcomm:Enumerating interfaces...
DEBUG:cvcomm:Interface found: INTERFACE 3: Vendor Specific
DEBUG:cvcomm:Enumerating endpoints...
DEBUG:cvcomm:BULK IN found: ENDPOINT 0x84: Bulk IN
DEBUG:cvcomm:BULK OUT found: ENDPOINT 0x4: Bulk OUT
DEBUG:cvcomm:Endpoint discovery successful.
INFO:__main__:Handler ControlVault2 (Broadcom ControlVault 2)
INFO:__main__:Turning NFC on...
DEBUG:cvcomm:Control: (65, 0, 1, 3) {}
DEBUG:cvcomm:Put: 01 00 00 04 10 2f 04 00
DEBUG:cvcomm:Got: 00 00 00 06 10 60 00 02 00 01
DEBUG:cvcomm:Put: 01 00 00 07 10 2f 1d 03 05 90 65
DEBUG:cvcomm:Got: 00 00 00 28 10 4f 04 24 00 44 65 63 20 31 33 20 32 30 31 33 32 32 3a 30 35 3a 30 36 00 01 0c 22 a1 95 07 02 07 32 30 37 39 35 41 31
DEBUG:cvcomm:Put: 01 00 00 04 10 2f 2d 00
DEBUG:cvcomm:Got: 00 00 00 05 10 4f 1d 01 00
DEBUG:cvcomm:Put: 01 00 00 05 10 2f 11 01 f7
DEBUG:cvcomm:Got: 00 00 00 27 10 4f 2d 23 00 00 00 07 32 30 37 39 35 41 31 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00 e4 47 00 00 00 00 00 00 00
DEBUG:cvcomm:Put: 01 00 00 10 01 27 fc 0c 08 00 01 00 01 00 00 00 00 00 00 00
DEBUG:cvcomm:Got: 00 00 00 05 10 4f 11 01 00
DEBUG:cvcomm:Control: (65, 1, 0, 3) {}
DEBUG:cvcomm:Put: 01 00 00 05 10 20 00 01 01
DEBUG:cvcomm:Got: 00 00 00 07 10 40 00 03 00 11 01
DEBUG:cvcomm:Put: 01 00 00 06 10 20 01 02 01 00
DEBUG:cvcomm:Got: 00 00 00 1e 10 40 01 1a 00 03 0e 03 01 09 00 01 02 03 81 84 83 04 82 0a 00 02 f7 3d 00 2e 02 01 0c 22
DEBUG:cvcomm:Put: 01 00 00 6b 10 20 02 67 01 b9 64 01 00 ff ff 50 00 8b 13 00 10 00 06 00 00 00 00 00 ff 00 00 00 ff 00 00 04 00 00 00 00 03 00 00 00 03 00 0c 00 00 0d 00 00 00 00 00 00 00 00 00 00 33 23 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 02 53 3b 0f 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 94 10 20 02 90 0a ca 05 00 00 00 00 2c 80 01 01 b0 05 01 03 03 03 08 b5 03 01 03 ff c9 0d 24 00 00 00 01 00 bb 00 e4 00 0a 01 02 d6 0d 01 02 00 00 00 00 00 01 00 01 5a 00 8a b2 02 e8 03 c8 1e 06 1f 00 0a 00 30 00 04 24 00 1c 00 75 00 77 00 76 00 1c 00 03 00 0a 00 56 01 00 00 40 04 d7 01 07 dd 32 00 00 00 29 16 08 08 06 04 00 00 00 1f 27 0a 6d 20 00 52 20 00 00 00 01 85 00 00 32 1f 00 00 02 0a 16 00 02 55 55 55 55 55 55 55 55 55 55 55 55 55 1e
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 0a 10 20 02 06 01 b7 03 02 00 01
DEBUG:cvcomm:Got: 00 00 00 05 10 61 07 01 00
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 05 10 2f 06 01 01
DEBUG:cvcomm:Got: 00 00 00 05 10 4f 06 01 00
DEBUG:cvcomm:Put: 01 00 00 12 10 20 02 0e 02 51 08 20 79 ff ff ff ff ff ff 58 01 07
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 0b 10 21 00 07 02 04 03 02 05 03 03
DEBUG:cvcomm:Got: 00 00 00 05 10 41 00 01 00
DEBUG:cvcomm:Put: 01 00 00 1b 10 20 02 17 01 29 14 46 66 6d 01 01 11 02 02 07 ff 03 02 00 13 04 01 64 07 01 03
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 1e 10 20 02 1a 02 61 14 46 66 6d 01 01 11 02 02 07 ff 03 02 00 13 04 01 64 07 01 03 60 01 07
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 14 10 20 02 10 05 30 01 04 31 01 00 32 01 40 38 01 00 50 01 02
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 09 10 20 02 05 01 00 02 fa 00
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 0f 10 20 02 0b 01 c2 08 01 08 00 04 80 c3 c9 01
DEBUG:cvcomm:Got: 00 00 00 06 10 40 02 02 00 00
DEBUG:cvcomm:Put: 01 00 00 11 10 21 03 0d 06 00 01 01 01 02 01 80 01 82 01 06 01
DEBUG:cvcomm:Got: 00 00 00 05 10 41 03 01 00
DEBUG:cvcomm:Control: (65, 1, 1, 3) {}
INFO:__main__:NFC should be turned on now!
But when I run pcsc_scan, I can't see any NFC card:
nuliel@nuliel-Latitude-E7270:~/controlvault2-nfc-enable$ pcsc_scan
Using reader plug'n play mechanism
Scanning present readers...
0: Broadcom Corp 5880 [Contacted SmartCard] (0123456789ABCD) 00 00
1: Broadcom Corp 5880 [Contactless SmartCard] (0123456789ABCD) 01 00
Sun Oct 29 09:29:51 2023
Reader 0: Broadcom Corp 5880 [Contacted SmartCard] (0123456789ABCD) 00 00
Event number: 0
Card state: Card removed,
Reader 1: Broadcom Corp 5880 [Contactless SmartCard] (0123456789ABCD) 01 00
Event number: 0
Card state: Card removed,
Note that I have not changed the identifier of the device: 0123456789ABCD seems to be set by default. I already installed the driver (Dell-ControlVault2-Driver-and-Firmware_N23KC_WIN64_4.12.5.8_A21_01.EXE) on a windows 10 vm with the Broadcom 5880 given to the vm. So the controlvault2 device should be updated. Note that I never succeeded to use the fingerprint reader on the windows vm, but maybe it's not link with my problem with NFC. I installed freeDOS on a usb key to run ushdiag, but this program can't see anything on USB... (maybe a problem with freeDOS or the program is too old, I don't know). My goal is to use my yubikey with this NFC reader. For the tests, I try with a random smartcard (a smartcard for transport that is recognized with the smartcard reader of my laptop (ATR received), but not recognized by the NFC reader), and with my yubikey. Do you know why I can't use NFC? Is the sequence sent by your script always ok with this firmware? Is there another requirement that I've not done?
Note that I never succeeded to use the fingerprint reader on the windows vm, but maybe it's not link with my problem with NFC.
Contacted reader, Contactless reader and Fingerprint reader ("touch sensor") are components connected to a single chip - Broadcom 5880.
I assume you share the whole USB device to the Windows VM. Does the NFC work (card/Yubikey is detected) for you on Windows? If not, I'd say that there is some hardware issue - check the NFC antenna connection first (it is a separate component connected to the daughter board).
Hello, Thank you for your answer. I've opened my laptop to verify that all the ribbon cables are well connected, and it seems to be the case. On virtualbox, I share the usb device "Broadcom 5880", so fingerprint + NFC + smartcard reader. I can't share only one part. Windows seems to recognize partially my fingerprint reader as there is a possibility to configure a fingerprint reader (but I can't add my fingerprint), and I've tested nfc with the yubico software, contactless smartcard is recognized but but my yubikey isn't recognized in nfc. So maybe it's a problem of configuration of nfc/fingerprint reader or a hardware problem :/