Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 15:47:40 -0500 (EST)
From:      John Bleichert <syborg@stny.rr.com>
To:        Thanatos <thanatos@vcnet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Power off problem
Message-ID:  <Pine.LNX.4.44.0211171544490.6909-100000@janeway.vonbek.dhs.org>
In-Reply-To: <3DD7F425.3070400@vcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Nov 2002, Thanatos wrote:
> Date: Sun, 17 Nov 2002 11:55:17 -0800
> From: Thanatos <thanatos@vcnet.com>
> To: Vidor Demeter <vidor@home.se>
> Cc: freebsd-questions@FreeBSD.ORG
> Subject: Re: Power off problem
> 
> Vidor Demeter wrote:
> > Hi all,
> > 
> > I used to be a SuSE user but I've decided to install FreeBSD instead, 
> > which I do not regret. I had some great surprises compared to Linux, 
> > and I've decided to stay with FreeBSD! :-)
> > So I'm quite new to FreeBSD and I will have some questions until I get 
> > the system run after my whishes. 
> > The first problem is that I can not manage to configure the system
> > shutdown with power off option. I've compiled the kernel with the apm 
> > option and I changed the rc.conf file as well, with  ' apm_enable="YES" ', 
> > but no luck. After the shutdown I have to power off the system with the 
> > Power Off button! :-(
> > I can not find any further help on this but what I described here. 
> > Did I missed something?
> > I have an AMD 1800+ XP CPU, with 256MB RAM and 40GB HD, Asus mobo.
> > Can somebody help me ?
> > TIA Vidor
> > 
> > 
> 
> Hi Vidor,
> 
> I seem to remember geting this to work on my Athlon 1700 XP with MIS KT7 
> Turbo2 motherboard. Can you show me the line for apm in your kernel 
> config script? Have you checked to make sure the power management is 
> enabled in your bios?
> 
> Hope I can help you out,
> Thanatos
> 

Going by what is listed in LINT for my VIA/Athlon chipset, I put this in 
my kernel:

# Power Management Stuff
device          smbus
device          viapm
device          smb
device          iicbb
device          iicbus
device          iicsmb

Now my kernel correctly recognizes my power management chip:

viapropm0: SMBus I/O base at 0xe800
viapropm0: <VIA VT82C686A Power Management Unit> port 0xe800-0xe80f at 
device 4.4 on pci0
viapropm0: SMBus revision code 0x40
smb0: <SMBus general purpose I/O> on smbus0

However, with all the tweaking, the PC still will not power itself down. 
It does in Red Hat and Slackware. I guess for a server opsys which 
displays epoch-length uptimes, powering down isn't too high on the feature 
support list ;-)



#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0211171544490.6909-100000>