Re: pxaregs and backlight control

From: Patrick Steiner <patrick.steiner_at_a1.net>
Date: Wed, 14 Mar 2007 20:46:01 +0100

On Wednesday, 14. March 2007 20:32:05 Matt Barclay wrote:
> Hello,
>
> pxaregs is a tool for reading and setting PXA2xx registers. It
> originally comes from here:
>
> http://www.mn-logistik.de/unsupported/pxa250/
>
> I've modified it slightly to compile with the angstrom gcc 4.1.1
> compiler. The source can be found here:
>
> http://axim.openfbo.com/pxaregs.c
>
> And a binary here:
>
> http://axim.openfbo.com/pxaregs-axim
>
> You can use it to control the LCD backlight:
>
> Backlight Off:
> ./pxaregs-axim PWMDUTY0_DCYCLE 0
>
> Backlight On full intensity:
> ./pxaregs-axim PWMDUTY0_DCYCLE 1023

wow nice now someone should write a kernel driver for that.

or is there already a std pxa backlight driver?

>
> Or anything in between. I don't notice much change in intensity
> beyond 600 or so.
>
> The Axim is using a pulse width modulation (PWM) pin to control brightness.
>
> Cheers,
> Matt

patrick

-- 
Patrick Steiner | patrick.steiner_at_a1.net
ICQ: 128261350
WWW: http://helmsdeep.homelinux.net/~pat
 
working on (tux4u.skynet):
Fedora Core release 6 (Zod)
GNU/Linux 2.6.19-1.2911.6.5.fc6
Received on Wed Mar 14 2007 - 14:46:14 EST

This archive was generated by hypermail 2.2.0 : Wed Mar 14 2007 - 14:46:28 EST