kelvie / gbmonctl Goto Github PK
View Code? Open in Web Editor NEWCLI control utility for Gigabyte M32U monitors over USB (to not use OSD sidekick)
CLI control utility for Gigabyte M32U monitors over USB (to not use OSD sidekick)
Hey, I'm trying to install this on Windows, but I can't get it to work. It seems like this tool doesn't work on WSL (I figure the necessary sys calls aren't passed properly) and I can't figure out how to install it on native Windows.
I've tried various permutations of this (back slash, forward slash, trailing slash, moving its location, quotes, etc. but it hasn't worked:
PS C:\Users\myuser> set CGO_CFLAGS=-IC:\Users\myuser\.hidapi\include
PS C:\Users\myuser> set CGO_LDFLAGS=-LC:\Users\myuser\.hidapi\x64
PS C:\Users\myuser> go install github.com/kelvie/gbmonctl@latest
# github.com/sstallion/go-hid
go\pkg\mod\github.com\sstallion\[email protected]\hid.go:38:10: fatal error: hidapi/hidapi.h: No such file or directory
38 | #include <hidapi/hidapi.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Is there any instructions for how to find new settings?
Hi Kelvie,
Apologies for opening an issue about this, but I was wondering if you could help me understand what this piece of code is doing:
I'm trying to build a lighter version of sidekick to easily swap inputs from the tray, and I'm trying to use your code as "live" documentation. Any help would be greatly appreciated!
Thanks
A
Hello,
I have two M27Q, with which this operates greatly. Only issue is with KVM control, as i have dual monitor setup.
If i run
gbmonctl -prop kvm-switch -val 1
one of the two screen changes to other machine, but in order to switch second screen, I have to run the same command while other screen is in connection phase.
It would be nice to have an ability to select which of two (or more) screens command operates on.
This program uses the hidraw device in /dev/hidrawX
to control it, but it looks like fwupd causes it to be deleted shortly after it's added if it's running.
The solution I've found is to uninstall fwupd.
See:
fwupd/fwupd#3835
Felt like its worthwhile to share my monitor was supported. Ty for this!
There are commands for setting property values. But how to retrieve the value of a property?
That would be useful.
Recently found this tool because the button my Gigabyte M32WQ monitor broke. It works remarkably well and would love support for increasing and decreasing the volume.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.