velum / lguf-brightness Goto Github PK
View Code? Open in Web Editor NEWThis project forked from unknownzerx/lguf-brightness
Adjust brightness for LG UltraFine 4K display (cross platform)
This project forked from unknownzerx/lguf-brightness
Adjust brightness for LG UltraFine 4K display (cross platform)
The executable lguf_brightness compiled OK (Debian Bullseye) but gave no output.
The lsusb command showed my 23.7-inch LG 4K UltraFine Display to have product_id 0x9a63 for the Display Controls,
while main.cpp has the value 0x9a40 hardcoded in. After correcting this and running the compile again, the executable
worked as expected.
The tool works fine when there is a single LG Ultrafine display connected, however if two are connected, the last device is the only one that can be controlled. It would be nice to be able to define which display a user wants to alter the brightness of or to be able to apply settings to multiple displays at the same time.
Dear @velum !
For me the whole project is really new as I just bought my LG Ultrafine 4k (24") few months ago. In this case I could be really noobe with it's usage.
As I'm Linux user I already known that with Linux I could not reach the settings functionalities of the monitor but was very happy when I found your fork.
Sadly my tries were unsuccessful yet. After successfully build/compile the app with cmake
and make
the binary itself do simply nothing. I tried it on Ubuntu 19.10 and on 18.04 the build/compile process were fine on both situation but after run the binary I got nothing more just the prompt back, without any error message, without any good sign, or at least a segmentation fault:)
Could you please help me with some directions what could be my problem?
Thanks a lot for it in advance!
Thank you very much for doing the linux porting work! Sadly it's not working for me.
System: Ubuntu 18.10 -ย 4.18.0-10-generic
The LG is connected via TB3.
dmesg:
[ 9226.839535] hid-generic 0003:043E:9A40.000D: hiddev1,hidraw2: USB HID v1.11 Device [LG Electronics Inc. USB Controls] on usb-0000:09:00.0-1.4.2/input0
[ 9232.039725] retire_capture_urb: 75 callbacks suppressed
...
[ 9523.319329] usb 3-1.4.2: usbfs: process 5109 (lguf_brightness) did not claim interface 1 before use
[ 9524.723430] usb 3-1.4.2: usbfs: process 5109 (lguf_brightness) did not claim interface 1 before use
const uint16_t vendor_id = 0x43e;
const uint16_t product_id = 0x9a63;
The monitor is an UltraFine 27MD5KL. It works fine, albeit with certain difficulties.
is there a way to incorporate this into /sys/class/backlight/ so brightness slider can be used under gnome for example
similar to the ddcci driver here:
https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux
Hey,
I'm considering getting the Ultrafine 4K and running it with Ubuntu. What is the status of what's working and what isn't with this codebase?
If you have answers for these questions, putting them on the readme would be useful.
Thanks in advance.
I would like to be able to bind hotkeys to increment or decrement the brightness.
This would allow me to just press XF86MonBrightnessDown or XF86MonBrightnessUp directly on the keyboard instead of having to fire up a terminal and running the program interactively each time.
So a sort of command mode. E.g. /usr/bin/lguf_brightness --increment
.
Is this possible?
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.