Hello,
it seem that automatic brightness should be supported in the GNOME 3.18:
http://www.hadess.net/2015/05/iio-sensor-proxy-10-is-out.htmlI wanted to try it with my ColorHug ALS, but I don't have such toggle in gnome-control-center. It is probably because iio-sensor-proxy doesn't see the device:
$ G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy
** (process:25035): DEBUG: Could not find any supported sensors
I tried to updated my ColorHug, but fwupdmgr (fwupd-0.5.4-1.fc23.x86_64, fwupd-0.6.1-1.fc24.x86_64) failed:
$ fwupdmgr refresh
$ fwupdmgr update
Downloading 4.0.2 for ColorHugALS...
Updating 4.0.2 on ColorHugALS...
* Decompressing firmware
HKR->FirmwareVersion missing from [Firmware_AddReg]
I tried colorhug-flash (colorhug-client-flash-0.2.7-2.fc23.x86_64), but it told me that there are no updates available:
$ colorhug-flash firmware.bin
3.0.2 compared to 3.0.2 = older
I have 3.0.2 version installed:
$ colorhug-cmd get-firmware-version
3.0.2
However it seems that recent driver version is 4.0.2:
$ grep version firmware.metainfo.xml
<?xml version="1.0" encoding="UTF-8"?>
<release urgency="medium" version="4.0.2" timestamp="1442321232">
I tried colorhug-cmd and it worked finally:
$ colorhug-cmd flash-firmware firmware.bin
WARNING: Do not shutdown the computer or unplug the device.
Flash the device? [N/y] y
INFO: Flashing was successful.
Then I realized that firmware.inf told something else, so it might be broken somehow:
$ grep DriverVer firmware.inf
DriverVer=03/03/2015,3.0.2
However I can see 4.0.2 from colorhug-cmd currently:
$ colorhug-cmd get-firmware-version
4.0.2
But still it seems that iio-sensor-proxy doesn't see the device. Am I doing something wrong? Should automatic brightness work with ColorHug ALS at all?
Regards
Ondrej