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

Re: Dell 700m KDE startup to sleep state - crashing - acpi help ?



Ok..  so you suggest to not try suspend2 then ?
 
What ive attempted so far is downloaded 2.6.14.2
 
patched it with suspend2-2.2-rc9-for-2.6.14
 
ran make menuconfig  enabled what i needed
ran make
cp bzImage over to /boot and updated grub
then install hibernate-script-1.12
updated /etc/hibernate/hibernate.conf to my liking.
 
now if i do hibernate it will fully hibernate, but when i hit power button to wake it up, it does wake up, cept my screen never reappears..   but if i blind type  shutdown -r now   it does fully reboot, so i know it is woken up, just not the screen.
 
so i changed hibernate.conf to power off after suspend..    re-run hibernate and it does fully power off, and when i turn it back on, reboot the same kernel it resumes back..  only prob is, it only resumes if im under console, if im under X, X crashes on resume and wont start up, where i have to manually do startx..  which kinda makes the hibernation pointless.
 
if i go your route, how do you activate the suspension? and how do i wake it up?  are there any specific configs i need to do to depend on what type of suspension to do? ie suspend to drive, suspend to ram etc?


 
On 11/11/05, subscriptions@rdegraaf.nl <subscriptions@rdegraaf.nl > wrote:

Hi Paul,

I wrote *a* recipe to get acpi working on dell:

---------------------------------------------------------
Downloaded linux-2.6.13.4.tar.gz from kernel.org to /usr/src
# cd /usr/src
# tar -zxvf linux-2.6.13.4.tar.gz

Downloaded acpi patch acpi-20050902-2.6.13.diff.bz2 from acpi.sourceforge.net
to /usr/src/
# cd /usr/src/linux-2.6.13
# bunzip2 -c ../acpi-20050902-2.6.13.diff.bz2 | patch -p1

Configure the kernel
# make xconfig
- disable unneeded stuff
- disable DRM (error /driver/char/drm.o and errors on drm in general)
- enable 'software suspend' (duh!)
- choose your processor
- disable 'hot-keys generic'
- disable 'generic x86'
- do not forget to enable PCMCIA
<SAVE>

HERE GOES (might take 1.5 hour)
# make-kpkg -rev dell.1 kernel_image

OK, the deb image is 1 directory up
# dpkg --install ../kernel-image-2.6.13.4_dell.1_i386.deb

lets create initrd
# mkinitrd -o /boot/initrd.img-2.6.13.4 2.6.13.4

Add kernel commands for suspend in swap partition to the kernel line, the
menu.list file in /boot/grup. (added line with initrd.img-2.6.13.4 and to the
kernel line suspend=/dev/hdc5 pm=/dev/hdc5
Notice hdc5 is a swap partition, when you use another partition, you should
(CRITICAL!!!) replace with your swap partition. (the swap partition can be found
in /etc/fstab, search for line with 'swap')
--
title           Debian GNU/Linux, kernel 2.6.13.4
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.13.4 root=/dev/hdc6 ro resume=/dev/hdc5 pmdisk=/dev/hdc5
initrd          /boot/initrd.img- 2.6.13.4
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.13.4 (recovery mode)
root            (hd0,5)
kernel          /boot/vmlinuz- 2.6.13.4 root=/dev/hdc6 ro single
initrd          /boot/initrd.img-2.6.13.4
savedefault
boot
--

c'est tout

Greetings Rob





















On Thu, 10 Nov 2005 14:26:38 -0600
gabaod gabaod <gabaod@gmail.com> wrote:

> Hello i have a dell inspirion 700m
>  kernel 2.6.11.12 <http://2.6.11.12> debian 1:3.3.5-13
>  kde version 44
> kde base 3.3.2-1
> acpid 1.0.4-1
>   I have not yet installed acpi, since im running stable, and havent had
> time to be around an internet connection on laptop to install that pkg.
>  But this is the scenario.
>  I turn on laptop, login, run 'startx' and during the 'initializing
> peripherals' startup part.. it goes to a black screen stating Stopping
> tasks: ===================
>  and it fails on stopping mysql for some reason.. Ill figure that out
> later..
> then it goes back to the startup screen for kde and logs in fine.
>  Now if i manual stop mysql '/etc/init.d/mysql stop' before running 'startx'
> it goes to black screen Stopping Tasks: and i quickly see something about
> eth1 suspend and my screen goes blank on me. No keys will wake it up, and my
> only option is hitting power button which halts the laptop and have to
> re-power it on.
>  Now i noticed when i have mysql running.. and do do a echo 1 >
> /proc/acpi/sleep It does the EXACT same thing as previously, so obviously
> somewhere kde is wanting to put my laptop into some sort of sleep mode upon
> startup.
>  Any idea where to look to find out where that setting is defined to not
> have it start in a sleep state? also why can I not wake up the laptop? only
> thing I can presume is its trying S3 state, since thats only one ive found
> that my laptop doesnt support. All ACPI/suspend stuff is hard-compiled into
> a custom kernel, i have not installed acpi or suspend2 packages as of this
> time.
>  Mainly just wanting help on how to control ACPI, would love to get
> hibernation, suspend to work on the laptop, and most of the HOWTOs im
> finding are how to install them.. but nothing about how to control them
> except for a manual 'echo' cmd.
>  and one last thing.. in my dmesg output, i do see this:
>  PM: Readomg swsusp image.
> swsusp: Resume From Partition /dev/hda16
> <3>swsusp: Suspend partition has wrong signature?
> swsusp: Error -22 resuming
>  hda16 is my /home dir, and i know i set that in the kernel .config file.. i
> remember reading something that i need to create a flat file container or
> something for that to work, but cant find any reference as how to get that
> part to work as well, and maybe thats whats causing kde to sleep on startup?
> not sure.
>  btw im pretty new to the whole gui and laptop side of debian so i might
> just be missing something simple in some window in kde, just have kde on to
> web program locally, mainly know the server side stuff via shell :)
>  thanks.
> -paul
>


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: