explain where the USB IDs come from

This commit is contained in:
Nick Pegg 2021-01-08 22:00:15 -08:00
parent 1002f25139
commit 983405a9f3

View file

@ -40,6 +40,9 @@ ACTION=="remove", \
RUN+="/usr/local/bin/kvm-udev detach steam" RUN+="/usr/local/bin/kvm-udev detach steam"
``` ```
The VENDOR_ID and MODEL_ID can be found by running the `lsusb` command, which
shows this as "ID <vendor id>:<model id>", for example "ID 6b62:6869".
And of course, here's the script `/usr/local/bin/kvm-udev` which takes care of And of course, here's the script `/usr/local/bin/kvm-udev` which takes care of
the auto-connecting. It takes two parameters, first either being "attach" or the auto-connecting. It takes two parameters, first either being "attach" or
"detach" and the second being the name of the KVM domain (aka VM). "detach" and the second being the name of the KVM domain (aka VM).