Mailinglist Archive: radeonhd (265 mails)

< Previous Next >
Re: [radeonhd] Re: Lack of backlight control using radeonhd
  • From: Egbert Eich <eich@xxxxxxx>
  • Date: Wed, 7 Jan 2009 16:18:50 +0100
  • Message-id: <18788.51162.285767.452837@xxxxxxxxxxxxxx>
Rafa? Mi?ecki writes:
2008/12/13 Rafa? Mi?ecki <zajec5@xxxxxxxxx>:
(...)

Thanks to rhd_dump I found registers and values needed for controlling
backlight!

Now I can control backlight level using rhd_dump -w:
http://bugzilla.kernel.org/show_bug.cgi?id=11682#c32


It surprises me that the driver backlight control function doesn't
work for you. It is doing pretty much the same as you are doing with
this script.
Can you check three things for me?
1. Check if LVDSSetBacklight() gets called when you call xbacklight.
It should be visible in a log generated with -logverbose 7.
2. If the answer to 1. is 'yes' then please edit this function in
src/rhd_dig.c and comment out:
RHDRegMask(Output, RV620_LVTMA_PWRSEQ_REF_DIV,
0x144 << LVTMA_BL_MOD_REF_DI_SHIFT,
0x7ff << LVTMA_BL_MOD_REF_DI_SHIFT);
See if this makes a difference.
3. Call 'xsetbacklight -set 0' then dump the values of the two
registers. Do the same for 'xsetbacklight -set 100'.

Cheers,
Egbert.

--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages