Crates.io | usbsdmux |
lib.rs | usbsdmux |
version | 0.1.0 |
source | src |
created_at | 2020-12-23 16:28:24.301484 |
updated_at | 2020-12-23 16:28:24.301484 |
description | Program and library to control the USB-SD-Mux device |
homepage | |
repository | https://github.com/hhornbacher/usbsdmux |
max_upload_size | |
id | 326576 |
size | 18,121 |
Program and library to control the USB-SD-Mux device
The program has the same interface as the original python control program by the manufacturer:
$ usbsdmux /dev/sg0 host
$ usbsdmux /dev/sg0 dut
$ usbsdmux /dev/sg0 off
If you want to run the program as normal user you can set the setuid flag:
$ sudo chown root /path/to/usbsdmux
$ sudo chmod u+s /path/to/usbsdmux