Debian Woody + suspend2 in Powebook

Autor: Hu gang (hugang (a|t) soulinfo dot com)

PowerBook G4 12"

Notes before your start

At this stage suspend2 is still very experimental so be ready to experience errors, driver failures and maybe worse. Use at your own risk.

Requirements

The step-by-step instructions

    $ cd
    $ mkdir src
    (download the linux kernel and software suspend files in ~/src)
    $ cd src
    $ tar xjf linux-2.6.4.tar.bz2
    $ cd linux-2.6.4
    $ for NAME in /tmp/2.6.4-1/*; do patch -p1 < $NAME; done

    $ tla register http://soulinfo.com/~hugang/{archives}/swsusp2/
    $ tla get hugang@soulinfo.com--2004--kernel/linus--steve--2.6.4 #[stable version]
    $ tla get hugang@soulinfo.com--2004--kernel/linus--steve--2.6.7 #[lastest version]

    $ mkdir ~/2.6.4/
    $ make O=~/2.6.4/ menuconfig

    Loadable module support  --->
      [*] Enable loadable module support
      [*]   Module unloading

    Processor  --->
      [*] Power Management support
      [ ]   Software Sspend (EXPERIMENTAL)
            Software Suspend 2 --->
                    --- Image Storage (you need at least one writer)
                    [*]    Swap Writer
                    [ ]    Null Writer
                    --- Page Transformers
                    [*]    LZF image compression
                    [ ]    GZIP image compression
                    [ ]   Null Page Transformer (For debugging)
                    --- General Options
                    [*]    Compile in debugging output
                    [ ]    Variation Analysis
                    [ ]    Metadata dump
                    [ ]    Allow keep Image Mode
                    [*]    Relaxed /proc/swsusp permissions
                    (swap:/dev/hda10)     Default resume device name
      [ ]   Suspend-to-Disk Support
    Device Drivers  --->
      Macintosh device drivers  --->
       [*] Using Software suspend replace broken sleep function

    $ make O=~/2.6.4 vmlinux modules
    $ su
    Password:
    # make install && make modules_install
    (to have modules load at boot time put their names in /etc/modules)

    # sh suspend.sh --install
    (Edit /etc/suspend.conf and make sure to read the documentation)

None: DistroAndHardwareSetup/DebianStable (last edited 2005-02-27 12:11:49 by BernardBlackham)