https://github.com/sibyx/nug-dongle
https://github.com/sibyx/nug-dongle
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sibyx/nug-dongle
- Owner: Sibyx
- Created: 2022-04-09T17:03:42.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-03T22:15:05.000Z (over 3 years ago)
- Last Synced: 2025-02-07T12:47:00.826Z (8 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nug-dongle
**Work in progress**
Simple network server based on [asyncio](https://docs.python.org/3/library/asyncio-protocol.html) module aimed to
execute commands from the nug-server KVM switch. Server accept decoded messages from RFB server which forward using
HID which acts like input device on connected computer. We use
[USB Gadget API for Linux](https://www.kernel.org/doc/html/v4.19/driver-api/usb/gadget.html) to act like a mouse or
keyboard.This project is a part of my master thesis on the
[Faculty of Informatics and Information Technologies STU in Bratislava](https://www.fiit.stuba.sk/en.html) on the
subject of KVM switch implementation.We use [Poetry](https://python-poetry.org/) as a package manager.
## Configuration
```toml
[general]
port = 5801
bind = [
"::",
"192.168.40.147"
]
log_level = "DEBUG"[zeroconf]
name = "_iodongle"[services.keyboard]
device = "/dev/hidg0"[services.mouse]
device = "/dev/hidg0"[syslog]
ip = "127.0.0.1"
port = 1514
```---
With ❤️☕️🥃🍀 Jakub Dubec 2022