FedeDP / Clightd

A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature.
GNU General Public License v3.0
82 stars 10 forks source link

iio device I/O error #83

Closed fufexan closed 2 years ago

fufexan commented 2 years ago

I've tried setting the sensor to iio:device0 based on info I've read in #34, but I get the following error.

› busctl call org.clightd.clightd /org/clightd/clightd/Sensor/Als org.clightd.clightd.Sensor Capture "sis" "" 5 ""
Call failed: Input/output error

The device is available, as shown here:

› busctl call org.clightd.clightd /org/clightd/clightd/Sensor/Als org.clightd.clightd.Sensor IsAvailable "s" ""
sb "/dev/iio:device0" true

Camera seems to work fine when issuing the first command, but I'd like to use the sensor instead. Is there anything I can do to fix it?

Some info:

FedeDP commented 2 years ago

Hi! Indeed Clightd has seen some fixes for ambient light sensors, and should work fine now. Can you try using clightd from master?

fufexan commented 2 years ago

Fixed, thanks!

FedeDP commented 2 years ago

You're welcome man! Thanks for using Clightd!