[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1329958651-8575-1-git-send-email-chris.diamand@gmail.com>
Date: Thu, 23 Feb 2012 00:57:30 +0000
From: Chris Diamand <chris.diamand@...il.com>
To: kristoffer.ericson@...il.com
Cc: linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
Chris Diamand <chris.diamand@...il.com>
Subject: [PATCH] Jornada 720: Fixes "Invalid argument" when changing backlight brightness.
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists