Skip to content

Dell Precision 7540 support #20

Description

@aleclearmind

I've a 7540, and I get the following message:

$ ./nfc.py on
INFO:__main__:Looking for supported device...
INFO:__main__:Found 0A5C:5843
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 ControlVault3 (Broadcom ControlVault 3)
INFO:__main__:Turning NFC on...
DEBUG:cvcomm:Control: (65, 1, 0, 3) {}
Traceback (most recent call last):
  File "/tmp/controlvault2-nfc-enable/./nfc.py", line 66, in <module>
    handler.turn_on()
  File "/tmp/controlvault2-nfc-enable/cv3.py", line 29, in turn_on
    self.communicator.ctrl_transfer(0x41, 1, 0, 3)
  File "/tmp/controlvault2-nfc-enable/cvcomm.py", line 22, in ctrl_transfer
    return self.device.ctrl_transfer(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/usb/core.py", line 1082, in ctrl_transfer
    ret = self._ctx.backend.ctrl_transfer(
  File "/usr/lib/python3.10/site-packages/usb/backend/libusb1.py", line 893, in ctrl_transfer
    ret = _check(self.lib.libusb_control_transfer(
  File "/usr/lib/python3.10/site-packages/usb/backend/libusb1.py", line 602, in _check
    raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBTimeoutError: [Errno 110] Operation timed out

I've got an icon on the right of the touchpad which should be the symbol of NFC.
lsusb reports device 0a5c:5843.

From pkcs11-tool -L I see:

$ pkcs11-tool -L
Available slots:
Slot 0 (0x0): Virtual PCD 00 00
  (empty)
Slot 1 (0x4): Virtual PCD 00 01
  (empty)
Slot 2 (0x8): Broadcom Corp 58200 [Contacted SmartCard] (0123456789ABCD) 00 00
  (empty)
Slot 3 (0xc): Broadcom Corp 58200 [Contactless SmartCard] (0123456789ABCD) ...
  (empty)

However, pcsc_scan does not detect any NFC card.

Hope this helps. Let me know if you need further information to better diagnose the problem.

lsusb.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions