Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I help find new settings for gbmonctl? #4

Open
sigboe opened this issue Jul 9, 2022 · 5 comments
Open

How do I help find new settings for gbmonctl? #4

sigboe opened this issue Jul 9, 2022 · 5 comments

Comments

@sigboe
Copy link

sigboe commented Jul 9, 2022

Is there any instructions for how to find new settings?

@kelvie
Copy link
Owner

kelvie commented Jul 9, 2022

https://gist.github.com/wadimw/4ac972d07ed1f3b6f22a101375ecac41

This thread has some information

@kelvie
Copy link
Owner

kelvie commented Jul 9, 2022

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.

@sigboe
Copy link
Author

sigboe commented Jul 10, 2022

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?

@kelvie
Copy link
Owner

kelvie commented Jul 12, 2022

@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.

@kelvie
Copy link
Owner

kelvie commented Jul 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants