From f3b864392366cbef862f8cca493c2ff0e72c94db Mon Sep 17 00:00:00 2001 From: Ben Harris <bjh21@bjh21.me.uk> Date: Thu, 04 Feb 2021 09:39:48 +0000 Subject: [PATCH] Add support for the NFC reader in a Dell Latitude 5310 2-in-1 --- nfc.py | 1 + README.md | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 10b95ba..9c9237d 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,14 @@ * `0a5c:5832` (ControlVault 2), * `0a5c:5834` (ControlVault 2), +* `0a5c:5842` (ControlVault 3). * `0a5c:5843` (ControlVault 3). Firmware update (done during driver installation on Windows) may be required. ## Tested on +* Dell Latitude 5310 2-in-1 * Dell Latitude 5480 * Dell Latitude 5491 * Dell Latitude 7280 diff --git a/nfc.py b/nfc.py index 444e891..ca91192 100755 --- a/nfc.py +++ b/nfc.py @@ -19,6 +19,7 @@ SUPPORTED_DEVICES = [ UsbDeviceMatcher({'idVendor': 0x0A5C, 'idProduct': 0x5832}, lambda device: __import__('cv2').ControlVault2(device)), UsbDeviceMatcher({'idVendor': 0x0A5C, 'idProduct': 0x5834}, lambda device: __import__('cv2').ControlVault2(device)), + UsbDeviceMatcher({'idVendor': 0x0A5C, 'idProduct': 0x5842}, lambda device: __import__('cv3').ControlVault3(device)), UsbDeviceMatcher({'idVendor': 0x0A5C, 'idProduct': 0x5843}, lambda device: __import__('cv3').ControlVault3(device)), ] -- Gitblit v1.9.1