Bug 31120 - Backlight off after suspend-to-disk on Powerbook
Summary: Backlight off after suspend-to-disk on Powerbook
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: PowerPC Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
Depends on:
Reported: 2010-10-25 19:15 UTC by Jonathan Kleinehellefort
Modified: 2019-12-04 08:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

fix typo (1.08 KB, patch)
2013-08-31 02:30 UTC, Ilia Mirkin
no flags Details | Splinter Review

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:

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.