LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Autoshutdown (https://www.linuxquestions.org/questions/linux-general-1/autoshutdown-29892/)

wonderpun 09-08-2002 09:08 AM

Autoshutdown
 
Hi there!
I'd like to ask you all do you know what should I turn in the kernel so that the PC would autoshutdown in Slackware 8.1? And should I turn it on as modules or build it right into the kernel? Thanks in advance!

NSKL 09-08-2002 09:57 AM

Depends on your motherboard, usually you will have to experiment a bit.
First try to turn on Advanced power management suppot in i beleive, general setup, and compile and try if it works. If not select both APM support and "use real time apm calls to power off" but i think it should work with only APM support for most motherboards. If neither works you'll have to experiment with different APM options, well at least thats how i do it, and all my computers now poweroff automatically :D
Hope that helps
-NSKL

nautilus_1987 09-08-2002 10:31 AM

NSKL can you explain where is that Advanced Power Managment setup?
You see in winbloze I have autoshutdown

NSKL 09-08-2002 01:45 PM

OK, here we go:
root$ cd /usr/src/linux
root$ make menuconfig
then go down to Genral Setup, select Power Management support, and under it Advanced Power Management BIOS support, exit recompile and install new kernel (kernel How-To) boot using the new kernel and try if halt will autoshutdown the system. If not you have to go back to menuconfig and under Advanced Power Management BIOS support select "Use real mode APM bios call to power off" BUT first try without, and only if that doesnt work then select this as well!
Hope that makes it clearer!
BTW nautilus_1987 where are you from?
-NSKL

wonderpun 09-08-2002 03:30 PM

Cool! Thanks! I'll try it tomorrow. :)

nautilus_1987 09-09-2002 12:34 PM

try to look a bit left of my post, everything is written there :)

nautilus_1987 09-09-2002 12:38 PM

Well NSKL, if this thing doesn't tell you anything, then I will tell truth:
I am from Lithuania, but I am russian, real russian :)

PS. I like that part of history about Rome, it was ( or is) a really great Empire
You should be proud for it :)

nautilus_1987 09-09-2002 12:44 PM

NSKL, I think we are having a bit similar problem - stuck in school :)
Man, how long you are using Linux? do your classmates use it? and what do you think about winbloze? how popular is Linux in Italy?

aliensub 09-09-2002 04:09 PM

Well nautilus_1987 is it lichtenstein ;)

ChimpFace9000 09-10-2002 05:27 AM

NSKL: Quick kernel compiling q for you. When im compiling it, in the command line i see "-march=i386" on every file it compiles. Is there a way to change it to "-march=i686"? I thought i could do it someway in the top level Makefile, but i couldnt find anything. Thanks...

NSKL 09-10-2002 10:09 AM

Chimp: Yeah go to /usr/src/linux do a make menuconfig and in "Processor type and features" put the optimization for your CPU.

Nautilus_1987: I just live in Italy at the moment, but im from Yugoslavia, Serbia - Novi Sad near belgrade. I honestly dont like Italy, but due to shit in my country my father doesnt want to let me go back there. I've left a lot of good friends and i miss my home a lot. Im having a lot of probs here in italy because everything is so different but im getting used to it. Linux? I started two years ago with SuSE and after a month switched to slackware. For more check "Linux stories" post in General forum :D . I have nothing against windows, and i think people who want to use their computer for games and office work are fine with windows, but since i started using Linux i never went back to windows, i just like it too much. In Italy very few people know and even fewer use Linux. In the last month or so a "Linux Boom" started here too but very few people are changing. I guess thats cuz italians are ignorant as people. Im not insulting them, every nation has its characteristics (For examlpe we, Serbs are said to be agressive and hostile :D ) but most Italians are really lazy and ignorant. A pity.
Anyway nice knowing something about you. For a moment i though you might be from one of (ex) Yugoslavian countries since you said a small country in Europe.
Well since no one seems to know this i'll have to brag a bit: Yugoslavia worl basketball champion 2002 :D

Well nice to have you here again :D
and your right, im stuck in school most of my day as well... and its hell here... I cant wait to finish and get a job, so i can finally purchase a plane ticket and fly back to Serbia :D

-NSKL

nautilus_1987 09-10-2002 12:57 PM

NSKL:
hehehe, that was good :) But my story is a little bit different.....
Maybe you guys don't know such country as Lithuania, it is nothing, I forgive you :), it is really small ( 64000 square m. ).
Here is my Linux life:
I have started Linux, maybe, half of year ago. I was using RH7.2. When I loaded Linux for the first time - I was inmpressed. Then something wrong happened, I went back to windows, and was there for about a five months. I loaded Linux seldomly ( Linux was set up default boot partition so in 10 seconds I went to Linux world, but as soon as I login, 'reboot' command was printed, and back to winbloze ) Now everything has changed, I have installed Slackware 8.1....it was so interesting for me to configure everything by myself ( of course with help of LQ :) ), that way I discovered the power of Linux, and now it is mine beloved system...................
It is a pity that in Lithuania 98% of people use computers for games, there are no LUG's ( Linux User Group ) in here, and people think that OS means Windows. Thanks God I have good friend who also use Linux and we always have what to talk about :)
I am not interested in sports very much but, I know that Lithuania and Jugoslavia had a lot of matchs in bascketball :)
Also I have 3 years to study, then I want to go to university and study on a sysadmin.
PS. What wm, browser and text editor are you using?

regards nautilus

NSKL 09-10-2002 02:11 PM

Hehe this is funny, we are making friends over a msg board....
Anyways I'm running BlackBox (with ROX to handle icons on desktop) on dual head display. (with Nvidia GeForce 2 TwinView)
Editor? For quick file editing i Either use gedit or anjuta, for programming (minly some C and bash scripting) i use anjuta and/or Emacs. I've never made good friends with Vi unfortunately...
And new Opera 6.03 to surf the web. And OpenOffice for documents, so i can save them in word format and print them out at school. I love wasting paper and printer Ink at school :D
Well thats it i guess.

EDIT: Ooh yeah, im studying trig, and physics in hope to be a physician one day. Or if i make it to Berkley i would like to take either physics, robotics or informatics, im not sure yet, and i've still got plenty of time to decide....

-NSKL

nautilus_1987 09-11-2002 01:29 PM

Well, I hope we will meat in Berkley :)........... Really it is my dream to study in this university.
Why BlackBox not Flux, I used both, and IMHO Flux is a little bit better.
What is this thing ROX?

nautilus_1987 09-11-2002 01:33 PM

One more question:
I have winbloze now at my NTFS partition (6GB), if I will remove it I need a program to format NTFS like reiserfs and merge it with my Linux native partition? Is it possible and what program can I use? I heard parted is good :)
thnx


All times are GMT -5. The time now is 02:44 AM.