Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Feature request: Adjust backlight based on external brightness (via optical sensor or webcam). #12

Open
Celti opened this issue Oct 15, 2014 · 3 comments

Comments

@Celti
Copy link

Celti commented Oct 15, 2014

I think it should be possible to have blueshift read external brightness via a webcam or other optical sensor and adjust the brightness of the display, similar to the Android/iOS feature. There is already the program calise that does this, but I couldn't get it working satisfactorily on my system and feel the functionality would integrate well with blueshift.

@maandree
Copy link
Owner

I will see if I can write a module for using calise, but my netbook is dead so I currently do not have anything to test it on so it could take a while.

@maandree
Copy link
Owner

maandree commented Nov 7, 2014

I currently have two problems.
(1) Calise fails with exit value 139 on step 6 of the configuration it runs the first time you start calise.
(2) When using vlc, mplayer or xawtv the image is yellow and white (and black is white), and a bit orange and pink, and tiny patches of cyan. (Using v4l2.) Basically I think that it does not convert from YUV t sRGB (or perhaps converts this that but should not.)

Any ideas?

@maandree
Copy link
Owner

I will be writing the web camera support myself, so disregard the last comment.
But does calise really support any other input device than the camera?

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

No branches or pull requests

2 participants