← Back to team overview

registry team mailing list archive

[Bug 249568] Re: Backlight isn't turned off after inactivity on iBook G4

 

Launchpad has imported 13 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=19168.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-12-18T13:39:22+00:00 Lafeuil-gmail wrote:

Created an attachment (id=21281)
ouput of "lspci -vv -nn" 

Hi

I have a problem with DPMS. When my computer is idle, the monitor blank but the LCD backlight still on.
When I run the command "xset dpms force off", I have the same result. 
My laptop is an Ibook (powerpc). 
I join the Xorg.0.log and the ouput of "lspci -vv -nn" command. 
I found an other bug with the same problem but it is closed : #3483.

Thomas

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/4

------------------------------------------------------------------------
On 2008-12-18T13:40:31+00:00 Lafeuil-gmail wrote:

Created an attachment (id=21282)
Xorg.0.log

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/5

------------------------------------------------------------------------
On 2008-12-18T14:39:02+00:00 agd5f wrote:

Is this regression?  Did the backlight used to go off in a previous
release?  I suspect apple has the backlight wired up some non-standard
way.

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/6

------------------------------------------------------------------------
On 2008-12-19T00:46:59+00:00 Lafeuil-gmail wrote:

> Is this regression?  Did the backlight used to go off in a previous release?  
For me, the problem has always existed. But before, I used the PBButtonsd daemon (http://pbbuttons.berlios.de/). This daemon switched off the backlight putting the level brightness to zero. 
But I think the radeon driver should switch off the backlight alone without an other daemon because all "power manager" programs (like gnome-power-manager) use the DPMS features to control the switch on/off display. 


> I suspect apple has the backlight wired up some non-standard way.
Yes, I agree with you. I also read about this on internet but I can't find the article again. 

How can I help you to find a solution ?

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/7

------------------------------------------------------------------------
On 2008-12-19T07:43:40+00:00 agd5f wrote:

(In reply to comment #3)
> > Is this regression?  Did the backlight used to go off in a previous release?  
> For me, the problem has always existed. But before, I used the PBButtonsd
> daemon (http://pbbuttons.berlios.de/). This daemon switched off the backlight
> putting the level brightness to zero. 
> But I think the radeon driver should switch off the backlight alone without an
> other daemon because all "power manager" programs (like gnome-power-manager)
> use the DPMS features to control the switch on/off display. 
> 

I agree, I just don't know how apple does it.

> 
> > I suspect apple has the backlight wired up some non-standard way.
> Yes, I agree with you. I also read about this on internet but I can't find the
> article again. 
> 
> How can I help you to find a solution ?
> 

if you could use radeontool from here:
http://cgit.freedesktop.org/~airlied/radeontool
and dump the regs when the backlight is on and when it's off and attach the dumps, I'll see what I can find. as root:
./radeontool regmatch '*' > blon.dump
./radeontool regmatch '*' > bloff.dump

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/8

------------------------------------------------------------------------
On 2008-12-19T07:51:13+00:00 agd5f wrote:

Created an attachment (id=21325)
possible fix

This implements the on chip backlight control, not all oems use it.  It might work for you, it might not.  Also, depending on how the backlight is wired up, the levels may be reversed (not sure whether 0 = on or off and 255 = on or off).
if it doesn't work, try switching the levels in the patch.  I've got the alternate setting commented out below the main one, so just switch the comments.  Make sure you switch both the enable and disable paths.

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/9

------------------------------------------------------------------------
On 2008-12-20T03:51:03+00:00 Lafeuil-gmail wrote:

Created an attachment (id=21339)
outpout of "radeontool regmatch" when screen backlight is on

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/10

------------------------------------------------------------------------
On 2008-12-20T03:51:39+00:00 Lafeuil-gmail wrote:

Created an attachment (id=21340)
outpout of "radeontool regmatch" when screen backlight is off

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/11

------------------------------------------------------------------------
On 2008-12-20T06:54:15+00:00 Lafeuil-gmail wrote:

(In reply to comment #5)
> Created an attachment (id=21325) [details]
> possible fix
> 
> This implements the on chip backlight control, not all oems use it.  It might
> work for you, it might not.  Also, depending on how the backlight is wired up,
> the levels may be reversed (not sure whether 0 = on or off and 255 = on or
> off).
> if it doesn't work, try switching the levels in the patch.  I've got the
> alternate setting commented out below the main one, so just switch the
> comments.  Make sure you switch both the enable and disable paths.
> 

I tested your patch but when I run Xorg, the brightness was always very
low (zero) and the backlight wasn't switch off.

I test the current git repository without patch and the driver works
very well but this backlight bug is present.

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/12

------------------------------------------------------------------------
On 2009-05-27T09:45:45+00:00 Lafeuil-gmail wrote:

I thought a lots about this problem and I checked in differents projects (PowerDevil for KDE and Gnome Power Management) to see how the screen is switched off. 
This projects use the DPMS function to switch off the screen (define in X11/extensions/dpms.h)

The problem on Ibook is that the screen's power is controled by Power
Management Unit (PMU). There is a module on Linux system. You can
control this device with /dev/pmu.

Do you think radeon driver must control PMU or each desktop power
management (Powerdevil, GPM...) must control PMU themselves?

Thanks in advance for your help.

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/13

------------------------------------------------------------------------
On 2009-05-27T11:03:46+00:00 agd5f wrote:

(In reply to comment #9)
> The problem on Ibook is that the screen's power is controled by Power
> Management Unit (PMU). There is a module on Linux system. You can control this
> device with /dev/pmu. 
> 
> Do you think radeon driver must control PMU or each desktop power management
> (Powerdevil, GPM...) must control PMU themselves?

I'm not sure what the best solution is.  Adding it to the driver would
make it just work when dpms is used, but most power managers already
mess with backlight to save power, so that should work too.

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/14

------------------------------------------------------------------------
On 2010-01-05T13:00:59+00:00 Lafeuil-gmail wrote:

Hello Alex

Today, I'm testing the current developpement tree of radeon driver (6.12.99). 
When I went to cook, I saw the screen of my computer switching off. 
So, I tested the command "xset dpms force off" and the screen switched off again. 

I don't know what you have changed in the master tree but I think that it solves this bug.
I found this commit in the git repository : 
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=48aa5064aff4b9adf768e480df2312d4375e9c40
Is this patch that solves the problem ? 

If this bug is fixed, it's for me a very good news !

Thomas

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/17

------------------------------------------------------------------------
On 2010-01-05T14:13:51+00:00 agd5f wrote:

(In reply to comment #11)
> Hello Alex
> 
> Today, I'm testing the current developpement tree of radeon driver (6.12.99). 
> When I went to cook, I saw the screen of my computer switching off. 
> So, I tested the command "xset dpms force off" and the screen switched off
> again. 
> 
> I don't know what you have changed in the master tree but I think that it
> solves this bug.
> I found this commit in the git repository : 
> http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=48aa5064aff4b9adf768e480df2312d4375e9c40
> Is this patch that solves the problem ? 

Could be.  This fixed another mac LVDS problem so maybe yours needed it
too.

Reply at: https://bugs.launchpad.net/xf86-video-
ati/+bug/249568/comments/18


** Changed in: xf86-video-ati
   Importance: Unknown => Medium

-- 
Backlight isn't turned off after inactivity on iBook G4
https://bugs.launchpad.net/bugs/249568
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.