Skip to content

PC Switcher. A custom solution for quickly switching between 4 computers.

License

Notifications You must be signed in to change notification settings

lkarydas/pc-switcher

Repository files navigation

PC Switcher

Photos of the front panel siting on the desk.

Install as a service

sudo ln -s /home/lkary/src/pc-switcher/pc-switcher.service /lib/systemd/system/pc-switcher.service

Enable the service:

sudo systemctl enable pc-switcher.service

Similarly, to start, stop, or disable it:

sudo systemctl start pc-switcher.service
sudo systemctl stop pc-switcher.service
sudo systemctl disable pc-switcher.service

Debugging

USB Hub

Run the manual test:

sudo systemctl stop pc-switcher.service

cd ~/src/pc-switcher/
python usb_hub_test.py

This will cycle through the 4 positions and return to the initial position.

Panel Button LEDs

Run the manual test:

sudo systemctl stop pc-switcher.service

cd ~/src/pc-switcher/
python panel_button_leds_test.py

Check Panel Button Presses

Run the manual test:

sudo systemctl stop pc-switcher.service

cd ~/src/pc-switcher/
python panel_buttons_test.py

About

PC Switcher. A custom solution for quickly switching between 4 computers.

Topics

Resources

License

Stars

Watchers

Forks