gbmonctl
gbmonctl copied to clipboard
How do I help find new settings for gbmonctl?
Is there any instructions for how to find new settings?
https://gist.github.com/wadimw/4ac972d07ed1f3b6f22a101375ecac41
This thread has some information
Or maybe there isn't. The crux of it is that you need to use Wireshark to capture the USB traffic and reverse-engineer it, and look for patterns.
If you can read the code, you can sort of see the message format.
Got it, install wireshark on host, install Windows in a VM, move keyboard and mouse directly to the host, passthrough the USB hub of the monitor, install osd side kick, start wireshark session, try to capture packages...
Anyway, FYI my monitor is M34WQ, and all of the commands I tried worked!
Also a quick question, is it possible to issue a KVM toggle signal? I intend to run the KVM between my work linux machine and my personal linux machine, and I want to use hotkeys to switch with the same script on both as I have the same dotfiles. Or is -prop kvm-switch -val 1
a toggle, or do I need to read the kvm value and pick the other one?
@sigboe I don't recall, though it should be pretty easy to test :)
In general you can send both values, though, as with the KVM, your USB connection should be connected to the currently switched device.
I'm actually back at work now, so I don't actually use the KVM functionality much anymore (this is my home monitor), but my experience was that it had been flaky and I actually have a smart outlet attached to power-cycle the monitor when the KVM doesn't "hit" using a script.