An open API service indexing awesome lists of open source software.

https://github.com/sibyx/nug-dongle


https://github.com/sibyx/nug-dongle

Last synced: 6 months ago
JSON representation

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