lkml.org 
[lkml]   [2012]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] Jornada 720: Fixes "Invalid argument" when changing backlight brightness.
Date
Sorry - this patch I just sent is for kernels 2.6.24/2.6.26.
(I think it's actually been fixed on versions >3.0 but they versions don't
seem to work on the jornada for various other reasons...)

Thanks,
Chris.

---------------------
On jornada 720. Running:
echo n > /sys/class/backlight/s1d13806fb/brightness
would give a "write error: Invalid argument" as the max_brightness
was not set, so any value other that 0 exceeds it. Now sets
max_brightness to 255 when the module is loaded.

Backlight can also be turned on and off using
echo 0-4 > /sys/class/backlight/s1d13806fb/bl_power

Also added some extra braces so jornada720_ssp.c.



\
 
 \ /
  Last update: 2012-02-23 01:59    [W:0.017 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site