servod: allow for --type instead of --product/vendor to narrow the servo device scope |
|
Issue descriptionPretty much the title here. With the new system, it's pretty easy to add a mutually exclusive --type so that when running sudo servod --type servo_micro only servo micro devices are matched/suggested This bug is to keep track of that work as it's a nice to have but not critical right now
,
Jan 7
Note to self: implement this by making type & product mutually exclusive. Make type to be a string search in all known types. If there's a unique type, then replace vendor/product with that type's vendor, product, and type with the unique type. If it's not a unique type, ignore it. e.g. - v4 is a unique type: only servo_v4 has it. - servo is not a unique type: many entries have it |
|
►
Sign in to add a comment |
|
Comment 1 by coconutruben@chromium.org
, Dec 25