NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Auto turnoff on shutdown
New Posts  All Forums:Forum Nav:

Auto turnoff on shutdown

post #1 of 18
Thread Starter 
Well, I have set up a good portion of Gentoo, but I can't seem to get it to turn off automatically when I shutdown. I've been searching all over the place, but all I can find is to enable APM and ACPI which are both already enabled. Poweroff also doesn't work, it just flickers the screen for a bit, displays the nvidia logo, and then goes to a black screen but my comp stays on. Any help would be appreciated, thanks

Clevo m38aw assembled by RJTech.
1.86 ghz pentium-m, 1 gb ram, nvidia go 6600 128 mb. Running 2.6.16-r9 gentoo kernel
post #2 of 18
Computer model? specs?

Without knowing anything else, here's some possible solutions:

1. https://launchpad.net/distros/ubuntu....15/+bug/12214 -- try booting with 'nolapic' option. Someone else said that manually removing the 'uhchi_hcd' module before powering off seems to do it.
2. http://www.linuxforums.org/forum/man...tically-2.html -- says to set ACPI=force in LILO (if you use it). Don't actually know if it will do anything
3. http://www.linuxforums.org/forum/sus...-shutdown.html -- quite a few suggestions.
4. I googled for 'linux computer poweroff stays on', which is how I got all these links.

As you can see, you are not alone with this problem. Please post the exact specs of your computer, as there may be a more targetted solution available.

Regards,

zakaluka2.
post #3 of 18
http://www.gentoo.org/doc/en/power-management-guide.xml

that should have something good in there
post #4 of 18
interestingly enough, im having the same problem in ubuntu. It goes through the shutdown process, but after the last signal, the one saying its actually turning off, nothing happens. i don't think the processor or whatever is actually getting the signal to turn off.
post #5 of 18
Thread Starter 
I have a Clevo m38aw assembled by RJTech.
1.86 ghz pentium-m, 1 gb ram, nvidia go 6600 128 mb. I'm running 2.6.16-r9 gentoo kernel and I activated what's on http://gentoo-wiki.com/HARDWARE_Clevo_M38AW for ACPI and APM except:

CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y

because they're not available. When i do shutdown now or from KDE it runs through the shutdown sequence, closes everything, ends all procesess and says Power off but the screen and everything is still on, and to turn it off from there I have to leave the power button pressed.

How do I start with the nolapic option?
post #6 of 18
Is it possible for you to try something? Can you download the Ubuntu liveCD and see if you can execute a full shutdown after you boot from that? This should tell you whether the problem is Gentoo or something else.

To pass a kernel option to the kernel, you first have to figure out what boot loader you are using. If you are using LILO, you will have to edit the file /etc/lilo.conf. Find a line that says "append=". After the last item in that last, put a space and enter 'nolapic'. For example, append="lang=us nolapic".

For grub, edit /boot/grub/menu.lst (it should be either there or in /boot). Find the section for your current kernel. You will see a line that says something like 'kernel /boot/vmlinuz lang=us ...' At the end of that line, enter a space and put in 'nolapic'.

I have no idea whether this is going to work or not. But, it's worth a shot.

Regards,

zakaluka2.
post #7 of 18
Thread Starter 
well, I tried the nolapic option and that didn't work, then I tried an old liveCD I had of PSLinuxOS and that didn't turn it off either. Could it be something with the BIOS?
post #8 of 18
Quote:
Originally Posted by DiegoF
Well, I have set up a good portion of Gentoo, but I can't seem to get it to turn off automatically when I shutdown. I've been searching all over the place, but all I can find is to enable APM and ACPI which are both already enabled. Poweroff also doesn't work, it just flickers the screen for a bit, displays the nvidia logo, and then goes to a black screen but my comp stays on. Any help would be appreciated, thanks

DiegoF,

You can't run both APM and ACPI at the same time. Choose one or the other, reconfigure your kernel, and see if your power off problem goes away. Also it would help if you gave some more details on what your hardware platform is.
post #9 of 18
Thread Starter 
well, I took ACPI off and now the last line shutting down is System halted instead of Power off, but it still doesn't turn it off. With APM disabled and only ACPI running, the last line is Power down again but it still doesn't turn it off.

What info should I put about my hardware?
post #10 of 18
Quote:
Originally Posted by DiegoF
What info should I put about my hardware?

I assume that your computer is a laptop. If so which brand and model is it? I didn't know if having both APM and ACPI would cause a poweroff problem, it looks like it didn't. Having said that a lot of people have had this problem when they have "Enhanced RTC" enabled in their kernel. Make sure you don't have that enabled, and instead have "Support for /dev/rtc" enabled, and see if that helps.
post #11 of 18
Thread Starter 
I added my comp info the first post.
Where is the RTC option? I looked through the kernel options and didn't see anything about it.
post #12 of 18
I believe it's under "Character Devices" -> "Enhanced Real Time Clock Support".
post #13 of 18
Thread Starter 
Enhanced RTC wasn't enabled, but I enabled /dev/rtc and it still didn't work.... this is frustrating me, I even mailed RJTech but i'm still waiting for an answer.
post #14 of 18
Thread Starter 
well, I finally got it to work by copying the .config from the livecd and altering it for my kernel. Thanks for the help
post #15 of 18
This is also a known bug in Ubuntu 6.06 which i and several others have reported which affects mainly notebooks but some desktop users have reported this too. It is still to be fixed.
post #16 of 18
I also have the Clevo M38AW/sager 3880. This laptop do't shutdown correctly under Ubuntu 6.06, but if we use Suse 10.1 shutdown correctly.

There is the config of the kernel installed from Suse, it's possible that it can solve the problem.

http://www.megaupload.com/es/?d=FIKLX254
post #17 of 18
This is the Bug report for Ubuntu Dapper https://launchpad.net/distros/ubuntu....15/+bug/43961 I would suggest that anyone who suffers this problem report it there and send the files requested.
post #18 of 18
I'm my laptop I entry to the bios and I turn off the irDa device and the ethernet card, and now under ubuntu I can turn off conpletely
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Auto turnoff on shutdown