You are not logged in.

#1 2003-07-24 20:43:06

Mt.Tam-Luxer
Member
From: San Rafael, CA, U.S.A.
Registered: 2003-07-24
Posts: 32

apm=power-off or gee, how do I get my laptop to poweroff?

SONY VAIO PCG-F490.

Stock ARCH 0.5 kernel.

If I add 'apm=power-off' to kernel boot line.  Laptop turns-off.

Without added command, laptop stops hard-drives, completes shutdown scripts and just stands at "Power off" on the screen.

BUT, could someone help me understand where to make changes in the kernel config or init scripts to effect this change permenantly(i.e. Red Hat 9, etc.)

Thanx.

Offline

#2 2003-07-24 20:53:32

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: apm=power-off or gee, how do I get my laptop to poweroff?

i have had apm probklems for a few distros now. unfortunately don't have answers but i look on for answers to this question with interest.


AKA uknowme

I am not your friend

Offline

#3 2003-07-24 23:12:06

Gyroplast
Member
From: Germany
Registered: 2002-09-03
Posts: 166
Website

Re: apm=power-off or gee, how do I get my laptop to poweroff?

Well, sounds good. Do you really just want me to tell you to use the "append" option in the lilo.conf to add apm=power-off to your kernel on every bootup automatically? Or, alternatively, to add this to the kernel boot line in your menu.lst?

Nah, can't be that simple. What is your problem, then?

Greets,
  Dennis


"That's the problem with good advice. Nobody wants to hear it."
-- Dogbert

Offline

#4 2003-07-24 23:36:34

Mt.Tam-Luxer
Member
From: San Rafael, CA, U.S.A.
Registered: 2003-07-24
Posts: 32

Re: apm=power-off or gee, how do I get my laptop to poweroff?

OK, .... call me silly, or compulsive, or ???

I'm mostly curious.  I don't have any RH9 installs handy to comb-thru for their 'trick'(RH9 doesn't put it in their boot-loader conf(!)).  I came to ARCH from RH8/9, Slackware and I don't remember them placing that command in their grub/lilo's.  Sooooo.... just curious, mostly.

Thanx.

Offline

#5 2003-07-24 23:50:21

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: apm=power-off or gee, how do I get my laptop to poweroff?

Lucky you.  A vaio that doesn't need acpi to run and firewire to access the cd drive...


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#6 2003-07-25 17:03:25

Moritz
Member
From: Cologne, NRW, Germany
Registered: 2002-10-12
Posts: 166

Re: apm=power-off or gee, how do I get my laptop to poweroff?

I've had the same problem.
Solution: recompile the kernel!

Do you want my config?

Offline

#7 2003-07-25 17:06:09

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: apm=power-off or gee, how do I get my laptop to poweroff?

The reason is because, by default, the arch kernel doesn't have that option set.  If you like you can recompile to get that new option, or you could just modify your lilo/grub configs to add that option to your kernel on bootup.  Either way will work, though you might want to think about adding the option to lilo/grub, that way there's less compiling for you in the long run.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#8 2003-07-26 17:16:29

Mt.Tam-Luxer
Member
From: San Rafael, CA, U.S.A.
Registered: 2003-07-24
Posts: 32

Re: apm=power-off or gee, how do I get my laptop to poweroff?

Moritz wrote:

I've had the same problem.
Solution: recompile the kernel!

Do you want my config?

Yes.  I would like your config.  What is the best way to get that from you?  Thanx for your help.

BTW:  I don't mind recompiling my kernel.  The learning process is great and I really want to improve my understanding of these things.

Offline

#9 2003-08-02 17:19:46

Mt.Tam-Luxer
Member
From: San Rafael, CA, U.S.A.
Registered: 2003-07-24
Posts: 32

Re: apm=power-off or gee, how do I get my laptop to poweroff?

Moritz wrote:

I've had the same problem.
Solution: recompile the kernel!

Do you want my config?


Thank you!  I'll try the .config and let you know.


I usually do the following:


- D/L from kernel.org, plus Alan Cox patch to /usr/src/

- tar jxvf kernel.* and apply patches

- make clean && mrproper && distclean

- ln -s linux-2.4.xx linux

- cp '.config' into linux-2.4.xx

- make oldconfig

- make menuconfig

- make dep && clean && bzImage && modules && modules_install && install

- check lilo.conf and /boot/


Any more suggestions or changes?

Thanx, again.

Offline

#10 2003-08-02 19:07:46

Moritz
Member
From: Cologne, NRW, Germany
Registered: 2002-10-12
Posts: 166

Re: apm=power-off or gee, how do I get my laptop to poweroff?

nope big_smile

Offline

Board footer

Powered by FluxBB