Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Emulating USB device for SmartCardServices #14

@frankmorgner

Description

@frankmorgner

I'm looking for a way to tell SmartCardServices(7) to load a virtual smart card reader driver. For example, /usr/local/libexec/SmartCardServices/drivers/ifd-ccid.bundle/Contents/Info.plist tells the service to load the CCID driver when a specific USB device has been recognized.

I've successfully installed the kernel extension and compiled virtual_mouse on macOS 10.12. The program works as expected, by randomly moving the position of the mouse pointer. Unfortunately, the mouse with its vendor id/product id is not recognized by SmartCardServices. I noticed that listing the system's USB devices (ioreg -p IOUSB -l -w 0) doesn't list the virtual device, either.

Do you think emulating a USB device so that the system service detects it would be possible with foohid?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions