Bug 31120

Summary: Backlight off after suspend-to-disk on Powerbook
Product: xorg Reporter: Jonathan Kleinehellefort <jk>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: PowerPC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
fix typo none

Description Jonathan Kleinehellefort 2010-10-25 19:15:12 UTC
After waking up from the hibernate (software suspend), the LCD backlight turns off.  The machine wakes up correctly otherwise, you can even see the contents of the screen if you look very carefully.

The backlight *does* turn off correctly with DPMS, probably due to the fix in bug #29685.

I examined the contents of the registers mentioned in the above report using radeontool. Before hibernate I get:

  0x0060081c      0x86066055
  0x000010f0      0x83e60535

And after hibernate:

  0x0060081c      0x86066055
  0x000010f0      0x80007fff

Restoring 0x10f0 to the previous value turns the backlight back on.

The machine is a PowerBook6,2 12", with an

  nVidia Corporation NV34M [GeForce FX Go5200] [10de:0329] (rev a1).

It is running Debian xserver-xorg-video-nouveau 1:0.0.16+git20100825+390f1c8-1 and vanilla Linux 2.6.36.

I'm going to file another bug for the backlight control, which also does not work, but works fine with nv.
Comment 1 Danny 2012-12-27 19:57:03 UTC
What I posted here may be useful for this bug:

https://bugs.freedesktop.org/show_bug.cgi?id=31122#c4
Comment 2 Ilia Mirkin 2013-08-31 02:30:20 UTC
Created attachment 84946 [details] [review]
fix typo

I won't pretend to understand any issues surrounding ppc, powerbooks, etc. However this seems like an obvious typo. Can you see if this helps your situation?
Comment 3 Tobias Klausmann 2015-01-25 19:29:48 UTC
No comment in over one year, closing as invalid!

Feel free to reopen if the problem does still exist!
Comment 4 Ilia Mirkin 2015-01-25 21:20:42 UTC
(In reply to Tobias Klausmann from comment #3)
> No comment in over one year, closing as invalid!
> 
> Feel free to reopen if the problem does still exist!

That patch actually had no effect the way that nv_mask works.
Comment 5 Martin Peres 2019-12-04 08:24:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/9.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.