Skip to content

Commit

Permalink
more compact view of macos' usb devices
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmorgner committed Mar 12, 2024
1 parent a985e84 commit 29ccf47
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion virtualsmartcard/doc/README.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,13 @@ as USB device:

2. Run the following command to get the device's product and vendor ID::

system_profiler SPUSBDataType
system_profiler SPUSBDataType \
| awk '
/Product ID:/{p=$3}
/Vendor ID:/{v=$3}
/Manufacturer:/{sub(/.*: /,""); m=$0}
/Location ID:/{sub(/.*: /,""); printf("%s:%s %s (%s)\n", v, p, $0, m);}
'

3. Change :file:`/usr/local/libexec/SmartCardServices/drivers/ifd-vpcd.bundle/Info.plist`
to match your product and vendor ID:
Expand Down

0 comments on commit 29ccf47

Please sign in to comment.