{"id":19645428,"url":"https://github.com/corani/switchbox","last_synced_at":"2025-07-10T12:33:46.034Z","repository":{"id":32242600,"uuid":"35816838","full_name":"corani/SwitchBox","owner":"corani","description":"Linux driver for Antrax Datentechnik GmbH SwitchBox IP20","archived":false,"fork":false,"pushed_at":"2015-05-29T16:52:19.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T23:57:25.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-18T12:33:22.000Z","updated_at":"2015-05-29T15:46:12.000Z","dependencies_parsed_at":"2022-09-03T04:30:55.586Z","dependency_job_id":null,"html_url":"https://github.com/corani/SwitchBox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corani/SwitchBox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2FSwitchBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2FSwitchBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2FSwitchBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2FSwitchBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corani","download_url":"https://codeload.github.com/corani/SwitchBox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2FSwitchBox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264578894,"owners_count":23631555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T14:33:57.149Z","updated_at":"2025-07-10T12:33:45.980Z","avatar_url":"https://github.com/corani.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwitchBox\nLinux driver for \u003ca href=\"http://www.antrax.de/site/Online-Shop/Home/Switchable-Socket/SwitchBox-USB::9.html\" target=\"_BLANK\"\u003eAntrax Datentechnik GmbH SwitchBox IP20\u003c/a\u003e.\n\n\u003cimg width=\"200\" src=\"http://www.antrax.de/site/images/product_images/original_images/SwitchBox_USB.jpg\" /\u003e\n\nThis is based on the original \u003ca href=\"http://www.antrax.de/downloads/switchboxusb-linux.zip\"\u003eVendor Code\u003c/a\u003e,  adds support for serial numbers - so you can control multiple SwitchBoxes connected to the same machine - and can be compiled on modern Linux systems.\n\n## UDEV permissions\nTo automatically give users access to control the USB SwitchBox, create the following udev rule:\n\n1. In /etc/udev/rules.d/10-local.rules add:\n\u003e SUBSYSTEM==\"usbmisc\", ATTRS{idVendor}==\"0d50\", ATTRS{idProduct}==\"0008\", GROUP=\"users\", MODE=\"0660\"\n\n2. Restart udevd:\n\u003e sudo /etc/init.d/udev restart\n\n3. (Unplug and) plug in your SwitchBox\n \n## Building\n1. Clone this git repo, or \u003ca href=\"https://github.com/corani/SwitchBox/archive/master.zip\"\u003edownload the ZIP archive\u003c/a\u003e.\n2. Run \"make\" in the folder containing the code\n \n## Running\nGet help by executing \"USBswitch -h\"\n\nIf you've got just one SwitchBox connected, you can switch it by executing \"USBswitch 0\" for *off* or \"USBswitch 1\" for *on*.\n\nIf you've got multiple SwitchBoxes connected, you'll need to specify the serial number using the \"-n \u003cserialNumber\u003e\" switch. One way to find the serial number is to run \"USBswitch -d\" to enumerate all SwitchBoxes and print debug information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorani%2Fswitchbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorani%2Fswitchbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorani%2Fswitchbox/lists"}