kolossos4730 wrote: > I ordered another display last friday and assembled it today. This one > had the PCB pre-assembled and the brightness setting works as > advertised. My original display (ordered when the display first became > available) behaves the same as yours. Maybe the original display > hardware has a design flaw which was corrected in a new revision. > > I'll try to add an brightness control to my applet. For this to work > after a reboot the brightness setting should be saved somewhere I > presume.
I'm curious about the differences; could you post a picture of the old and new display's hardware? The brightness value is stored in /sys/class/backlight/rpi_backlight/brightness. I currently write the brightness value at boot time into this file. After some more experimenting I find a value of 50 a good value for the brightness. I suppose your applet could also write the brightness value at boot time (?). You just need to have the proper user privileges to write to the brightness file. And your applet should also find a way to determine what hardware version of the display is installed and only allow brightness adjustments on the "new" hardware version. I don't know if that will be possible. 'M-DAC' (http://www.audiolab.co.uk/product-detail.php?pid=13) -> 'Focal MP1200' (http://www.mp1200.co.nf/) -> 'Focal Electra 1028 Be' (http://www.focal.com/en/electra-1000-be-2/209-electra-1028-be-3544053695099.html) 1 x SB3, 1 x SB Boom, 1 x SB Radio and 2 x SB Touch - all wireless 2 x Wandboard Dual, 1 x Wandboard Quad ReadyNAS NVX running LMS 7.9.0. iPeng on iPhone, SqueezePad & iPeng on iPad. http://www.last.fm/user/phibon ------------------------------------------------------------------------ Pascal Hibon's Profile: http://forums.slimdevices.com/member.php?userid=7969 View this thread: http://forums.slimdevices.com/showthread.php?t=103330 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
