I confirm this is behaving badly for me as well while it worked well in
dapper. Looking at radeon_pm.c, it looks like it has the whitelist
checking stuff in there, but it is unused.  Diffing dapper's radeon_pm.c
and edgy's radeon_pm.c revealed the section of code that didn't make it
over to edgy's kernel that actually calls the whitelist.  I added the
code back in and it worked:

[17179768.300000] radeonfb: Retrieved PLL infos from BIOS
[17179768.300000] radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=252.00 Mhz, 
System=200.00 MHz
[17179768.300000] radeonfb: PLL min 20000 max 35000
[17179769.240000] Non-DDC laptop panel detected
[17179770.176000] radeonfb: Monitor 1 type LCD found
[17179770.176000] radeonfb: Monitor 2 type no found
[17179770.176000] radeonfb: panel ID string: Samsung LTN150P1-L02    
[17179770.176000] radeonfb: detected LVDS panel size from BIOS: 1400x1050
[17179770.176000] radeondb: BIOS provided dividers will be used
[17179770.296000] radeonfb: Dynamic Clock Power Management enabled
[17179770.296000] radeonfb: IBM ThinkPad R50 detected, enabling D2 sleep
[17179770.296000] radeonfb (0000:01:00.0): ATI Radeon Lf 
[17179776.740000] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[17179776.740000] agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
[17179776.740000] agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[17179776.740000] [drm] Loading R200 Microcode

....(suspend)....
[17179944.708000] radeonfb (0000:01:00.0): suspending to state: 2...
[17179944.708000] radeonfb (0000:01:00.0): switching to D2 state...
....(resume)....
....
[17179951.656000] radeonfb (0000:01:00.0): resuming from state: 2...
[17179951.656000] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 
(level, low) -> IRQ 11
[17179951.656000] radeonfb (0000:01:00.0): switching to D0 state...


Attaching the patch file that brings the code back from dapper's kernel.

** Attachment added: "Patch to re-enable D2 on whitelisted radeon laptops"
   http://librarian.launchpad.net/4566333/radeon_pm.patch

-- 
radeonfb D2 sleep not enabled
https://launchpad.net/bugs/61280

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to