uhubctl
barrier
Our great sponsors
uhubctl | barrier | |
---|---|---|
31 | 616 | |
2,075 | 26,119 | |
- | 1.8% | |
6.6 | 0.0 | |
10 days ago | 12 months ago | |
C | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
uhubctl
-
I2c-USB-hub: An i2C Controllable USB 2.0 Hub
In my experience this support was rare. I had an issue a few years ago with multiple USB 3 cameras (Intel Realsense) on a mobile robot that would periodically freeze up and need to be hard-reset, and a power-controllable hub seemed like the least-bad way to hack around it. I found my way to this tool, with its convenient list of compatible hardware:
https://github.com/mvp/uhubctl
Of the USB 3 options on the list, several were EOL or impossible to find, and when I ordered one each of the remainder, there was only one I could get working, and it wasn't reliable about being able to reset a device that had frozen to the point where Linux no longer had sysfs entries for it.
We ended up instead using a hub with an internal jumper to disable bus power, and then putting the self power line through a separately-controllable relay.
-
Does RPI ZERO W have a low-power mode? (eink reader project)
Best you can tweak is to disable the WiFi / Bluetooth and possibly the USB ports (edit - USB look no go https://github.com/mvp/uhubctl)
-
Would a headphone to USB adapter work through a USB C hub?
There's an extremely useful feature called USB Per-Port Power Switching, that's somewhat rare because nobody knows about it. If you use a Unix-family operating system, then here's a C driver. Windows doesn't currently have this feature, but could add it in the future -- let's hope they do!
- RTL_433 fails, how to bring it back without pulling the dongle
-
Kb2040 and usb hub not seeing all of my boards
https://github.com/codazoda/hub-ctrl.c or https://github.com/mvp/uhubctl can be used if the hubs have "Per-port power switching". The second link also has a long description.
-
Recommendation for USB relay
If you were using a USB-powered drive and Linux/Mac/Unix, you could use uhubctl with one of the (uncommon) hubs that support Per-Port Power Switching (PPPS).
- uhubctl - USB hub per-port power control
-
Customized Pi for Humidor
Actually some of the Pi boards USB ports can be controlled by Uhubctl but you have to note the restrictions on the board you are using - mainly how many you effect and the "minor" fact of the USB also controls the Ethernet and WiFi power on some boards!
-
Mac Mini touchscreen issue
Agreed this is not the right sub for this, but you got me curious. Without diving too deep, check out https://github.com/mvp/uhubctl
-
Alternatives to Clear-Com Call Signal Flasher?
I've also used Qlab on both ends to trigger USB led flashes via OSC using uhubctl. You'll need a usb hub for that.
barrier
-
Show HN: Multi-monitor KVM using just a USB switch
For software KVM you can use https://github.com/debauchee/barrier
I use it between a Windows PC & a Macbookpro (Linux version available but I don't have Linux)
- Barrier: Open-Source KVM Software
- Hrvach/Deskhop: Fast Desktop Switching Device
-
Wayland vs. X – Overview
libei looks useful. But IDK why libei is necessary to run Barrier with Wayland?
For client systems, couldn't there just be a virtual /dev/inputXYZ that Barrier forwards events through
And for host systems, it looks like xev only logs input events when the window is focused.
Is xeyes still broken on Wayland, and how to fix it so that it would work with Barrier?
With Barrier, when the mouse cursor reaches a screen boundary, the keyboard and mouse input are then passed to a different X session on another box until the cursor again crosses a screen boundary rule.
Barrier is a fork of Synergy's open core: https://github.com/debauchee/barrier
libei:
-
KVM Switch for Gaming and WFH
I have a similar gaming/WFH setup (2 monitors at 1440p 144hz) and I’ve been using Barrier instead of a physical kvm, and it works really well. Not sure if you’re open to a software kvm but if you are, I’m happy to answer any questions about it if you have any.
-
Autoswap Keyboard Layouts based on Operating System
Have you tried Barrier? I casually used it to swap between my main rig and my MBP. Took a minute to get it setup but once I sorted it all out it worked pretty well. It has some settings and tweaks built in to address some of the layout issues you mentioned...
-
Alternative solution to expensive KVM - Auto Monitor Input Switcher
Barrier appears to handle PC switching only for the keyboard and mouse.
-
IT/programming multi-monitor setup? (coming from 6x old 21" square)
Sorry, probably not entirely on topic and can't answer anything reliable about the multimonitor stuff, but a tip regarding the 2 mice and 2 keyboards for the 2 different computers: use this: https://github.com/debauchee/barrier It's oss multi-os software that lets you use one mouse and keyboard (server) on several PCs (clients) easily over your LAN.
- Linux VNC viewer not displaying MacOS with multiple desktops (single monitor)
-
Talon Voice in Visor?
Barrier is a free and open source alternative.
What are some alternatives?
libwdi - Windows Driver Installer library for USB devices
synergy-core - Open source core of Synergy, the cross-platform keyboard and mouse sharing tool (Windows, macOS, Linux)
PS5-Camera-Firmware-Loader - A cross-platform utility for loading custom firmware onto the PlayStation 5 camera, written in Rust
input-leap - Open-source KVM software
RPi4 - Raspberry Pi 4 UEFI Firmware Images
hidusbf - USB Mice Overclocking Software (for Windows)
CherryUSB - CherryUSB is a tiny and portable USB Stack (device & host) for embedded system with USB IP
OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
libusb - A cross-platform library to access USB devices
scrcpy - Display and control your Android device
kiauh - Klipper Installation And Update Helper
macOS-KVM - Streamlined macOS QEMU KVM Hackintosh configuration using OpenCore and libvirt