Replies: 4 comments 11 replies
-
@benmcmorran You've expressed interest into this feature. Please chime in. |
Beta Was this translation helpful? Give feedback.
-
Making this a little more versatile, allowing for other "types of rules" later:
etc. This allows:
Future stuff could include: Alternative order (I like this slightly less):
|
Beta Was this translation helpful? Give feedback.
-
So just to be clear, these rules are not currently to auto-attach a device to WSL whenever they're plugged in, more like a way to preemptively admin/auth devices before they're plugged into the system? Would there be a way to use a wildcard on the device ID, to match like vid=0987&pid=&serial= to auto bind anything with the specific vid for example? In terms of integrating this into my GUI app, I've got a rules system for auto-attach that I could probably update to use this as well, allowing users to optionally type in the device ID etc rather than an existing device. |
Beta Was this translation helpful? Give feedback.
-
I've made a first implementation, it is at #916 I've also updated the design document: https://github.com/dorssel/usbipd-win/wiki/New-design:-policies New syntax uses the terminology "policy", which is made up of "policy rules" (or simply "rules"). Rules can be added, removed, and listed. Feel free to try out the build from the PR and play with it a bit. |
Beta Was this translation helpful? Give feedback.
-
This is the discussion thread for a new design. See https://github.com/dorssel/usbipd-win/wiki/New-design:-privilege-system.
Beta Was this translation helpful? Give feedback.
All reactions