From 9537b80270911c4acfd72aea3348604b1146c0b1 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 11 Jul 2018 15:05:44 -0400 Subject: [PATCH] Add hidusb relay instructions --- libremanage | 3 +++ notes/hidusb-relay-cmd-setup.md | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 notes/hidusb-relay-cmd-setup.md diff --git a/libremanage b/libremanage index 1c00ece..8776159 100755 --- a/libremanage +++ b/libremanage @@ -60,6 +60,9 @@ def die_with_usage(message): sys.exit(1) def get_server_handle(name): + if name == "localhost": + return + try: server = CONFIG["servers"][name] except KeyError: diff --git a/notes/hidusb-relay-cmd-setup.md b/notes/hidusb-relay-cmd-setup.md new file mode 100644 index 0000000..6ec1003 --- /dev/null +++ b/notes/hidusb-relay-cmd-setup.md @@ -0,0 +1,10 @@ +git clone https://github.com/pavel-a/usb-relay-hid +cd usb-relay-hid/ +cd commandline/ +cd makemake/ +apt update +sudo apt install libusb-dev +sudo apt install libusb-1.0-0-dev +cp hidusb-relay-cmd /usr/local/bin +make -j4 +hidusb-relay-cmd state -- 2.25.1