Set Brightness & Contrast?

Lars-Peter Clausen lars at metafoo.de
Sat Mar 30 07:46:27 EDT 2013


On 03/30/2013 12:28 PM, kyak wrote:
> There is a
> /sys/devices/platform/spi_gpio.1/spi_master/spi1/spi1.0/lcd/ili8960-lcd/brightness
> which works kernel 3.3.8.
> 
> This file name however changes from kernel to kernel. For example, my
> bright.sh file contains the following files as well:
> 
> /sys/devices/platform/spi_gpio.1/spi1.0/backlight/gpm940b0-bl/brightness
> /sys/devices/platform/spi_gpio.1/spi1.0/lcd/ili8960-lcd/brightness


The stable paths are:

/sys/class/backlight/gpm940b0-bl/brightness
/sys/class/lcd/ili8960-lcd/brightness

> 
> There is also a file for contrast, i haven't tried using it though
> 
> On Sat, 30 Mar 2013, Lluís Batlle i Rossell wrote:
> 
>> On Sat, Mar 30, 2013 at 05:48:09AM +0000, Alexander Stephen Thomas Ross
>> wrote:
>>> I can't find any info. How does one change and/or set the brightness
>>> or the contrast of the frame buffer and the console?
>>
>> I'm not any master on that, but I don't recall being able to tune the
>> brightness or so. I remember touching something at /sys, and at most that
>> could
>> switch on and off the screen. But maybe it was only my lack of ability to do
>> that.
>>
>> _______________________________________________
>> Qi Hardware Discussion List
>> Mail to list (members only): discussion at lists.en.qi-hardware.com
>> Subscribe or Unsubscribe:
>> http://lists.en.qi-hardware.com/mailman/listinfo/discussion
>>
> 
> 
> _______________________________________________
> Qi Hardware Discussion List
> Mail to list (members only): discussion at lists.en.qi-hardware.com
> Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion




More information about the discussion mailing list


interactive