On Tue, 2005-04-19 at 10:45 -0400, Eric Pineault wrote:
> Thanks again for the input
> So this would be a Ubuntu specific problem... that might convince me to
> switch to sid...
> 
> How would Xorg cause this problem...

It might be a bad combination with xorg, or a problem specific to recent
kernels. Apparently, it's fixed by making sure AGP Mode is set to X
(that is a bit weird as really recent kernels will disable AGP on
sleep,; but maybe ubuntu doesn't have those patches yet).

> anyway here is my /proc/cpuinfo
> processor       : 0
> cpu             : 7447A, altivec supported
> clock           : 533MHz
> revision        : 1.1 (pvr 8003 0101)
> bogomips        : 530.43
> machine         : PowerBook6,5
> motherboard     : PowerBook6,5 MacRISC3 Power Macintosh
> detected as     : 287 (iBook G4)
> pmac flags      : 0000001a
> L2 cache        : 512K unified
> memory          : 256MB
> 
> and here is my Xorg config
> 
> # /etc/X11/xorg.conf (xorg X Window System server configuration file)
> #
> # This file was generated by dexconf, the Debian X Configuration tool,
> using
> # values from the debconf database.
> #
> # Edit this file with caution, and see the /etc/X11/xorg.conf manual
> page.
> # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
> #
> # This file is automatically updated on xserver-xorg package upgrades
> *only*
> # if it has not been modified since the last upgrade of the xserver-xorg
> # package.
> #
> # If you have edited this file but would like it to be automatically
> updated
> # again, run the following commands:
> #
> #   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
> #   sudo sh -c 'md5sum /etc/X11/xorg.conf
> >/var/lib/xfree86/xorg.conf.md5sum'
> #   sudo dpkg-reconfigure xserver-xorg
> 
> Section "Files"
>       FontPath        "unix/:7100"                    # local font server
>       # if the local font server has problems, we can fall back on these
>       FontPath        "/usr/lib/X11/fonts/misc"
>       FontPath        "/usr/lib/X11/fonts/cyrillic"
>       FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
>       FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
>       FontPath        "/usr/lib/X11/fonts/Type1"
>       FontPath        "/usr/lib/X11/fonts/CID"
>       FontPath        "/usr/lib/X11/fonts/100dpi"
>       FontPath        "/usr/lib/X11/fonts/75dpi"
>         # paths to defoma fonts
>       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
> EndSection
> 
> Section "Module"
>       Load    "bitmap"
>       Load    "dbe"
>       Load    "ddc"
>       Load    "dri"
>       Load    "extmod"
>       Load    "freetype"
>       Load    "glx"
>       Load    "int10"
>       Load    "record"
>       Load    "type1"
>       Load    "vbe"
> EndSection
> 
> Section "InputDevice"
>       Identifier      "Generic Keyboard"
>       Driver          "keyboard"
>       Option          "CoreKeyboard"
>       Option          "XkbRules"      "xorg"
>       Option          "XkbModel"      "pc104"
>       Option          "XkbLayout"     "us"
> EndSection
> 
> Section "InputDevice"
>       Identifier      "Configured Mouse"
>       Driver          "mouse"
>       Option          "CorePointer"
>       Option          "Device"                "/dev/input/mice"
>       Option          "Protocol"              "ImPS/2"
>       Option          "Emulate3Buttons"       "true"
>       Option          "ZAxisMapping"          "4 5"
> EndSection
> Section "InputDevice"
>         Identifier      "Synaptics Touchpad"
>         Driver          "synaptics"
>         Option          "SendCoreEvents"        "true"
>         Option          "Device"                "/dev/psaux"
>         Option          "Protocol"              "auto-dev"
>         Option                "HorizScrollDelta"      "0"
> EndSection
> 
> Section "Device"
>       Identifier      "ATI Technologies, Inc. Radeon Mobility 9000 M9+ 
> (RV250)"
>       Driver          "ati"
>       BusID           "PCI:0:16:0"
>       Option          "UseFBDev"              "true"
> EndSection
> 
> Section "Monitor"
>       Identifier      "Generic Monitor"
>       Option          "DPMS"
>       HorizSync       28-49
>       VertRefresh     43-72
> EndSection
> 
> Section "Screen"
>       Identifier      "Default Screen"
>       Device          "ATI Technologies, Inc. Radeon Mobility 9000 M9+ 
> (RV250)"
>       Monitor         "Generic Monitor"
>       DefaultDepth    24
>       SubSection "Display"
>               Depth           1
>               Modes           "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth           4
>               Modes           "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth           8
>               Modes           "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth           15
>               Modes           "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth           16
>               Modes           "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth           24
>               Modes           "1024x768" "800x600" "640x480"
>       EndSubSection
> EndSection
> 
> Section "ServerLayout"
>       Identifier      "Default Layout"
>       Screen          "Default Screen"
>       InputDevice     "Generic Keyboard"
>       InputDevice     "Configured Mouse"
>       InputDevice     "Synaptics Touchpad"
> EndSection
> 
> Section "DRI"
>       Mode    0666
> EndSection
> 
> On mar, 2005-04-19 at 09:49 +0200, Bin Zhang wrote:
> > On 4/19/05, Eric Pineault <[EMAIL PROTECTED]> wrote:
> >         Hi all, sorry for the delayed reply, thanks first of all for
> >         the
> >         interest and time. I'm totally swamped with work this week, so
> >         will be a
> >         bit passive, but it seems we identified a specific type of
> >         Ibook G4,
> >         revision 1.1. Sleep works on revision 1.2 but not on ours.
> > 
> > I would like to say that this problem does not affect debain unstable.
> > I have a iBook G4 12" 1.2Ghz,  /proc/cpuinfo :
> > processor       : 0
> > cpu             : 7447A, altivec supported
> > clock           : 599MHz
> > revision        : 1.1 (pvr 8003 0101)
> > bogomips        : 598.01
> > machine         : PowerBook6,5
> > motherboard     : PowerBook6,5 MacRISC3 Power Macintosh
> > detected as     : 287 (iBook G4)
> > pmac flags      : 0000001b
> > L2 cache        : 512K unified
> > memory          : 512MB
> > pmac-generation : NewWorld
> > 
> > Sleep works well for me. I think it is not a problem of kernel,
> > perhaps a problem from xorg.
> > 
> > Regards,
> > Bin Z 
> > 
> > 
> >         I also am ready and willing to try any patched kernel that
> >         could get
> >         this machine to sleep. 
> >         
> >         On the Ubutnu list here's what's been done up to now:
> >         
> >         "hey guys,
> >         While I'm looking around in an attempt to build the kernel
> >         2.6.12-rc2
> >         from http://kernel.org/pub/linux/kernel/v2.6/testing/
> >         I found a site that claims to have the same ibook that we have
> >         and
> >         claims he has sleep working. He says we have to build a 2.6.11
> >         kernel
> >         and apply a particular patch. 
> >         
> >         http://www.aronchi.org/LinuxOnIBookG4 "
> >         
> >         If you go to the
> >         http://forums.gentoo.org/viewtopic....ight=benh+patch
> >         that is linked from the above site, you'll realize that you'll
> >         see that
> >         the gentoo 2.6.11 sources probibly have the patch applied, so
> >         you start
> >         there if you know where to get it.
> >         
> >         About that gentoo howTo, I posted a question as to where the
> >         gentoo 
> >         2.6.11 is available and what version he used. The gentoo
> >         version of
> >         2.6.11 might be important since the linked gentoo forum
> >         suggested that
> >         the 2.6.11 was patched."
> >         
> >         Well that's where things stand at the moment... 
> >         
> >         Any suggestions welcome,
> >         
> >         otherwise I'll have to by a second Ibook...  ; )
> >         
> >         Eric P
> >         
> >         ps I can't send stuff top the Debian PPC list... doesn't get
> >         their, though I'm a registered user of the list... 
> >         
> >         
> >         --
> >         To UNSUBSCRIBE, email to
> >         [EMAIL PROTECTED]
> >         with a subject of "unsubscribe". Trouble? Contact
> >         [EMAIL PROTECTED]
> >         
> > 
> 
> 
-- 
Benjamin Herrenschmidt <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to