[ltp] T42p + acpi + suspend

Jacek Wuwer linux-thinkpad@linux-thinkpad.org
Fri, 29 Apr 2005 12:47:50 +0200


Thank you for sharing your experience. 
I'm travelling right now and have only limited access to my 
e-mail (through web), hence late response. 
  
I have managed to make some progress since my last post: 
- after recompiling and installing the plain kernel 2.6.10 and 
applying (cleanly) swsusp2 patches hibernate works like a charm 
(regarless of battery/ac, console/X). I guess I'll stick with 
this kernel for a while 
- suspend to ram hangs on resume (even with hibernate script 
and config) with the same message 
hda: task_out_intr: status=0x51 {DriveReady SeekComplete Error} 
     task_out_intr: error=0x04 {Drive Status Error} 
I'd like to take a look at your .config, and try to compare 
what's different 
- LCD blanking (Fn-F3) works only with radeontool  
- I have played and configured some of the scritps for 
bluetooth, ipw2200, ultrabay. Need to test the first two though  
Few questions: 
- what is the resason to compile in inird ? 
- have you got S4 and S3 work with ATI drivers ? 
 
Jacek 
 
> Yes, I have. 
> 
http://packages.debian.org/unstable/base/kernel-image-2.6.10-1-386 
> 
http://packages.debian.org/unstable/devel/kernel-source-2.6.10 
>  
> installed both with 
> dpkg -i kernel-image-2.6.10-1-386_2.6.10-6_i386.deb 
> dpkg -i kernel-source-2.6.10_2.6.10-6_all.deb 
>  
> booted into the new kernel 
> unpacked /usr/src/kernel-source-2.6.10.tar.bz2 
> made a link 
> ln -s /usr/src/kernel-source-2.6.10 /usr/src/linux 
>  
> went into the Makefile and added the date to EXTRAVERSION in 
the form of  
> yyyymmdd 
>  
> made a little script 
>  
> #!/bin/sh 
> rev="10.01.Custom" 
> cd /usr/src/linux 
> make menuconfig    # just accept the defaults for now 
> make-kpkg --initrd --revision $rev --added-patches suspend2 
buildpackage 
>  
> then install the new kernel-image with dpkg -i 
> boot into the new kernel, and if it runs 
>  
> install the new source as well 
> point /usr/src/linux to it 
> cd /usr/src/linux 
> make menuconfg 
> make 
>  
> This opens up the source so that you can install 
ipw2200-1.0.3 and  
> ibm-acpi-0.11. Read the README and INSTALL files 
>  
> This kernel comes with ibm-acpi-0.8 but the more recent 0.11 
is better 
>  
> reboot into the custom kernel 
> check that /proc/acpi/ibm exist 
> ls -l /proc/acpi/ibm 
>  
> cat /proc/acpi/ibm/hotkey 
> echo enable > /proc/acpi/ibm/hotkey 
>  
> this enables Fn keys, although some of them already work 
>  
> next have a good look at /etc/hibernate and /etc/acpi 
> hibernate.conf handles 'hibernate' key Fn F12 
> edit it according to the comments, there are 3 different 
configs, I am using  
> suspend2.  
>  
> UseSwsusp2 yes 
> Reboot no 
> EnableEscape yes 
> defaultConsoleLevel 1 
> suspendDevice swap:dev/hda5    # edit to match 
>  
> in global set  
> SaveClock yes 
> Loadmodules auto 
> DownInterfaces auto 
> UpInterfaces auto 
> SwitchToTextMode yes 
> LogVerbosity 4 
> and set where the log goes 
>  
>  
> /etc/hibernate/sleep.conf handles sleep mode Fn F4 
> UseACPISleep 3 
>  
> same global settings as above except 
> OnResume 20 /etc/acpi/actions/battery.sh   # still playing 
with this 
>  
> UseSysfsPowerState mem works as well 
>  
>  
> Fn F3 runs /etc/acpi/actions/blank.sh 
>  
> I added Option "dpms" to the "Monitor" section 
in /etc/X11/XF86Config-4 
>  
> Not working for me yet, dpms does not appear to be supported 
using xset,  
> although RADEON swallows it happily, or says it does in 
dmesg. 
>  
> I also added ibm-acpi and synaptics to /etc/modules 
> ibm-synaptics is a debian package, it made the touchpad work 
a lot better 
>  
> Of the 3, sleep mode works well, though I'm still testing, 
especially on  
> battery. 
>  
> hibernate mode is still temperamental, works when on AC but 
crashes on battery 
>  
> I have also installed ifplugd and am monitoring what it does 
>  
> TODOs 
> try the different settings, especially suspend2, working on 
the presumption  
> that it has been written to make up for inadequacies in the 
other 2 
>  
> find a way to put the screen to bed, not just screensaver 
> ditto wifi, especially when on battery. probably means 
removing the ipw2200  
> module with modprobe -r 
>  
> Let the list know how it goes ;-) 
>  
> HTH 
>  
> --  
>  
> 
----------------------------------------------------------------- 
> R. R. Hutchinson 
> Midwales dot com 
> web: http://midwales.com 
> email: hutch@midwales.com 
> phone: 0 (44) 1686 412144 
>  
> This email has been scanned for Viruses by http://efe.me.uk, 
> a service provided by Midwales dot com. 
> 
----------------------------------------------------------------- 
> --  
> The linux-thinkpad mailing list home page is at: 
> 
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad 
>  

----------------------------------------------------
VII edycja konkursu Marketingu Bezpośredniego "Boomerang"
Zgłaszaj swoje prace od 25.04 do 20.05.2005 - Szczegóły na stronie:
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fbo.html&sid=368