Gentoo Archives: gentoo-laptop

From: Benjamin Fritzsche <BFritzsche@×××.de>
To: gentoo-laptop@l.g.o
Subject: Re: [gentoo-laptop] hibernate on inspiron 8600
Date: Fri, 01 Jul 2005 08:25:25
Message-Id: 200507011024.34215.BFritzsche@gmx.de
In Reply to: Re: [gentoo-laptop] hibernate on inspiron 8600 by Ward Poelmans
On Thursday 30 June 2005 20:18, Ward Poelmans wrote:
> Benjamin Fritzsche wrote: > > On Wednesday 29 June 2005 21:33, Ward Poelmans wrote: > >>Hi all, > >> > >>I've got my laptop for some time now ( a Dell Inspiron 8600 ) > >>and i want to try hibernation support. I've already discovered > >>the hibernation-script and swsusp2. I've have a vanilla kernel > >>that works with swsusp2 but that's only S5 and i would like to > >>get S3 en S4 also to work. What do i need to use for that ? > >>Have you got any experience, advice, hints how to get this to > >>work ? > >> > >>Thanks > >> Ward > > > > Hi ! > > > > I´ve got the same machine. S3 and S4 work here. forget swsusp2. it only > > makes things complicated. use the swsusp which is already in the standard > > kernel. > > > > On my machine both S3 and S4 work pretty much out of the box. Only > > configuration is editing the config files hibernate.conf and ram.conf > > in /etc/hibernate. > > > > Only thing I had to change there is the vbetool option (vbetool on) to > > get my Video card (ATI 9600) reactivated after suspending. You might have > > to try different settings in that section. And figure out if there are > > any modules which need to be unloaded/reloaded. In my case its > > ndiswrapper and the USB Stuff. > > And of course don´t forget to emerge vbetool. > > Well, i did what you told me and compiled swsusp in the kernel and > made an usbcore module. S5 works just fine but > with S3 it goes down as it should but it doesn't come > back up. The screen stays black but i hear my hard disk > come up again. I tried with EnableVbetool and VbetoolPost > enable but it didn't help. > Did you changed anytime in ram.conf ? > > > Greetz, > > Ward
Only Thing I did is Enable vbetool. And Switch to text mode. And I don´t Use a framebuffer on the console. only plain text mode. Maybe Radeonfb is confusing your videocard? have you got an ATI card? Do you use Firewire? I don´t but I´ve heard it can cause problems, so unload those modules aswell if they are loaded. By the way: Im using vanilla-kernel-2.6.12.1, but it works here since 2.6.10 if I remember correctly. Also test If its only the video card that doesn´t work by blindly going to VT1 (Ctrl-Alt-F1) and blindly logging in as root and issueing halt. If the system goes down you can be pretty sure its only the Videocard. And in case it helps, heres my complete ram.conf (if you use it add all USB modules to BlacklistedModules): # Example ram.conf file for suspending to RAM. Adapt to your own tastes. # Options are not case sensitive. # # Run "hibernate -h" for help on the configuration items. ### sysfs_power_state UseSysfsPowerState mem ############################################################################## ### Some global settings ############################################################################## Verbosity 0 LogFile /var/log/hibernate.log LogVerbosity 1 # AlwaysForce yes # AlwaysKill yes # HibernateVT 15 # Distribution debian (not required - autodetection should work) # XDisplay :0 ############################################################################## ### Scriptlets ### Scriptlets provide support for doing all sorts of things before and after ### suspending. The defaults settings here should work for most people, but ### you may wish to edit these to taste. Consult "hibernate -h" for help on ### the configuration settings. ############################################################################## ### bootsplash ## If you use bootsplash, also enabling SwitchToTextMode is recommended if ## you use X, otherwise you may end up with a garbled X display. # Bootsplash on # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg ### clock SaveClock restore-only ### devices # IncompatibleDevices /dev/dsp /dev/video* ### diskcache # DisableWriteCacheOn /dev/hda ### fbsplash (enable SwitchToTextMode if you use this) # FBSplash on # FBSplashTheme suspend2 ### filesystems Unmount /mnt/smb /mnt/exth1 /mnt/exthd3 # UnmountFSTypes smbfs nfs # UnmountGraceTime 1 # Mount /windows ### grub # ChangeGrubMenu yes # GrubMenuFile /boot/grub/menu.lst # AlternateGrubMenuFile /boot/grub/menu-suspended.lst # BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak ### hardware_tweaks # IbmAcpi yes # RadeonTool yes ### lilo # EnsureLILOResumes yes ### lock (generally you only want one of the following options) # LockConsoleAs root # LockXScreenSaver yes # LockKDE yes ### misclaunch # OnSuspend 20 echo "Good night!" # OnResume 20 echo "Good morning!" ### modules # UnloadModules snd_via82cxxx usb-ohci # UnloadAllModules yes UnloadBlacklistedModules yes LoadModules auto # LoadModulesFromFile /etc/modules ### modules-gentoo GentooModulesAutoload yes ### network # DownInterfaces eth0 # UpInterfaces auto ### programs # IncompatiblePrograms xmms ### services RestartServices net.wlan0 # StopServices alsasound # StartServices aumix ### vbetool EnableVbetool yes # RestoreVbeStateFrom /var/lib/vbetool/vbestate # VbetoolPost yes ### xhacks SwitchToTextMode yes # UseDummyXServer yes ### xstatus ## This can be set to gnome, kde or x: # XStatus gnome # XSuspendText Preparing to suspend... # XResumeText Resuming from suspend... ## When using XStatus x, and you have xosd installed: # XosdSettings --font -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-* # --colour=Green --shadow 1 --pos bottom --align center --offset 50 Hope it helps. Benny -- gentoo-laptop@g.o mailing list

Replies

Subject Author
Re: [gentoo-laptop] hibernate on inspiron 8600 Ward Poelmans <wpoely86@×××××.com>