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

https://github.com/corani/switchbox

Linux driver for Antrax Datentechnik GmbH SwitchBox IP20
https://github.com/corani/switchbox

Last synced: 3 months ago
JSON representation

Linux driver for Antrax Datentechnik GmbH SwitchBox IP20

Awesome Lists containing this project

README

        

# SwitchBox
Linux driver for Antrax Datentechnik GmbH SwitchBox IP20.

This is based on the original Vendor Code, adds support for serial numbers - so you can control multiple SwitchBoxes connected to the same machine - and can be compiled on modern Linux systems.

## UDEV permissions
To automatically give users access to control the USB SwitchBox, create the following udev rule:

1. In /etc/udev/rules.d/10-local.rules add:
> SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="0d50", ATTRS{idProduct}=="0008", GROUP="users", MODE="0660"

2. Restart udevd:
> sudo /etc/init.d/udev restart

3. (Unplug and) plug in your SwitchBox

## Building
1. Clone this git repo, or download the ZIP archive.
2. Run "make" in the folder containing the code

## Running
Get help by executing "USBswitch -h"

If you've got just one SwitchBox connected, you can switch it by executing "USBswitch 0" for *off* or "USBswitch 1" for *on*.

If you've got multiple SwitchBoxes connected, you'll need to specify the serial number using the "-n " switch. One way to find the serial number is to run "USBswitch -d" to enumerate all SwitchBoxes and print debug information.