[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

iBook G3 700Mhz: sleep broke after upgrading from 2.6.10 to 2.6.11


I have an iBook G3 700Mhz, dual USB and run Sid.
I was running kernel-image-2.6.10-powerpc from Sid.

Sleep was working properly after I fixed the following things:

- Added a script to /etc/power/events.d to stop and restart dbus-1 on 
suspend/resume. Otherwise the resume was hanging. I found that solution 
there:  https://bugzilla.ubuntu.com/show_bug.cgi?id=1940)
- I have manually run /etc/init.d/alsa suspend before suspending otherwise the 
resume process also hangs. It seems that when the script is run from the 
suspending process (by apmd-proxy), it is too late.

With kernel-image-2.6.10, when I ran fblevel 0 (or when the screensaver does 
the equivalent) the display becomes white with a ghost image of what was 
previously on the screen.

Today, I gave kernel-image-2.6.11-powerpc a try and found that sleep was 
broken. On the other hand, fblevel 0 works correctly now. We can't have 
everything I guess :-)

BTW, on both kernels once X is stopped the console becomes blurred 
(sleeping/waking fixes the problem on 2.6.10)

Here is cat /proc/cpuinfo:

processor       : 0
cpu             : 750FX
temperature     : 31-33 C (uncalibrated)
clock           : 700MHz
revision        : 1.2 (pvr 7000 0102)
bogomips        : 1388.54
machine         : PowerBook4,3
motherboard     : PowerBook4,3 MacRISC2 MacRISC Power Macintosh
detected as     : 257 (iBook 2 rev. 2)
pmac flags      : 0000000b
L2 cache        : 512K unified
memory          : 384MB
pmac-generation : NewWorld

Here is the dmesg output from the successful suspend/resume:

eth0: suspending, WakeOnLan disabled
radeonfb: suspending to state: 3...
radeonfb: switching to D2 state...
cpufreq: resume failed to assert current frequency is what timing core thinks 
it is.
radeonfb: switching to D0 state...
radeonfb: resumed !
eth0: resuming
PHY ID: 4061e4, addr: 0
ide_pmac: Set UDMA timing for mode 2, reg: 0x1090038c
hda: Enabling Ultra DMA 2
ide_pmac: Set UDMA timing for mode 2, reg: 0x1090038c
hdb: Enabling Ultra DMA 2
adb: starting probe task...
agpgart: Putting AGP V2 device at 0000:00:0b.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:00:10.0 into 2x mode
adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
ADB mouse at 3, handler set to 4 (trackpad)
adb: finished probe task...
eth0: Link is up at 10 Mbps, half-duplex.
eth0: Pause is disabled

On 2.6.11 only the two first messages appear on the console after I open the 
lid. (Actually, the second message also contains the PCI device number). 

I'm running xserver-xfree86 4.3.0.dfsg.1-12 and here is the content of my 
Device section in XFree86-4

Section "Device"
        Identifier      "ATI Radeon Mobility L6"
        Driver          "ati"
#       BusID           "PCI:00:16:00"
        Option          "UseFBDev"              "true"
        Option          "AGPMode"               4

If you need any other information to help debug this, I will be pleased to 
post them.

Thanks for any insights!

Francis J. Lacoste

Attachment: pgpQxgcfN68uu.pgp
Description: PGP signature

Reply to: