Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single command to find the product and vendor ids #83

Merged
merged 1 commit into from
Apr 8, 2019
Merged

Single command to find the product and vendor ids #83

merged 1 commit into from
Apr 8, 2019

Conversation

ChrisCarini
Copy link
Contributor

Changing the one-liner command(s) to find the product and vendor ids from being separate commands to a single command.

Changing the one-liner command(s) to find the product and vendor ids from being separate commands to a single command.
@jamiegs
Copy link

jamiegs commented Apr 8, 2019

I've got a newer Yubikey and it's listed as YubiKey rather than Yubikey

Making the grep case-insensitive with -i would make it work with either capitalization.
ioreg -p IOUSB -l -w 0 -x | grep Yubikey -i -A10 | grep 'idProduct\|idVendor'

@pallotron pallotron merged commit 4288aed into pallotron:master Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants