-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: support getting usb port info without libudev
Support getting USB port info such as VID and PID when libudev is disabled. This reads this information out of /sys/. The method of discovery was based on pySerial, which does something similar. Signed-off-by: Sean Cross <[email protected]>
- Loading branch information
Showing
1 changed file
with
57 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters