On Wed, 9 Mar 2022 21:53:16 -0300 Wido <wido...@gmail.com> said:

> Hhhhhhello!
> 
> I've been recently digging into E's ability for backlight, and saw this
> post from Mr Raster himself:
> https://www.mail-archive.com/git@lists.enlightenment.org/msg23232.html
> 
> So, if I understand correctly, E has the ability to change backlight from
> regular monitors (and not only for laptops!). And this even has 2 years!
> 
> But today I'm posting to the list because this is not working, and I don't
> really know why :D
> 
> I'm using Ubuntu 20.04 using Niko's PPA (
> http://ppa.launchpad.net/niko2040/e19/ubuntu/) and using E 0.25. Also,
> Ubuntu has no "libddcutil" but it does have a plain "ddcutil", which I
> tried and it's working with my monitor. I've also tried gddccontrol, same
> protocol, different lib, also works.

you need libddcutil.so.[2,3,4]. you will have to provide it somehow. it needs
the library. not the binary util. you will probably have to compile and install
it yourself and not rely on packages.

> So, I'm kinda curious if my problem is the integration between E and DDC. I
> tried looking into the code to reverse engineer (and granted, I am BAD at
> it :D ), but the line that I definitely do not understand is this one:
> ```e_system_send("ddc-val-set", "%s %i %i", bd->dev + 4, 0x10,
> (int)(bd->val * 100.0)); // backlight val in e_system_ddc.c```
> 
> So, how does that `ddc-val-set` works?
> 
> 
> regards!
> 
> -- 
> Wido
> 
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to