ACPI help

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

do you have acpid installed, configured, and running?
On Thu, Jun 17, 
2004 at 06:23:01PM -0400, Jayson Smith wrote:
> Hi,
> On a related subject.  I've got a Gentoo box which supports ACPI.  I've
> enabled it in the 2.6.6 kernel, but when something happens E.G. I hit the
> power button, the machine just shuts down right away like there's no
> acpi-aware stuff there, and doesn't let Linux do anything about it.  Whereas
> for instance, in Windows, if you hit the power button Windows takes over and
> shuts down the system or at least that's what's supposed to happen.  Of
> course, sometimes when Windows is in a lockdown state the button does
> absolutely nothing E.G. Windows says it wants to handle the button but then
> doesn't do anything about it.
> So what do I need to do to get ACPI working?
> Thanks,
> Jayson
> 
> ----- Original Message -----
> From: "Jacob Schmude" <jschmude at adelphia.net>
> To: <speakup at braille.uwo.ca>
> Sent: Thursday, June 17, 2004 5:20 PM
> Subject: ACPI help
> 
> 
> > Hi all
> >   Well, I got linux on my new laptop and got all the hardware
> > working. I wound up putting slackware on and not Fedora, since the
> > performance of Fedora on the laptop was extremely slow and I couldn't
> > figure out why. Yes, I checked the CPU frequency scaling governors and
> > they were set to performance, but it still ran slow. Anyway, I got slack
> > on and it's running fine, except for ACPI. I can't get the regexp for some
> > of my events correct. What I want to do is for it to start laptop mode
> > when the AC adapter is unplugged, and to stop laptop mode when the AC is
> > plugged in. I've gotten it partially working--it will stop laptop mode
> > when the AC is plugged in. However, I can't seem to get it to start laptop
> > mode when the AC is unplugged. The relevant lines from my
> > /etc/acpi/events/events.conf are:
> > event=ac_adapter.*00
> > action=/usr/local/bin/startlt
> > event=ac_adapter.*01
> > action=/usr/local/bin/stoplt
> >   Startlt and stoplt are custom scripts I've written to turn on
> > laptop mode and set the correct HD parameters for standby and such, and to
> > adjust the powersave governors correctly. It's the first event that
> > doesn't work, and I'm stuck as to why. I've tried everything I could think
> > of, including putting the entire text of the relevant events in--but if I
> > do that then none of them work. events.conf is a file I created to
> > override slackware's default acpi-handler.sh script, which doesn't work
> > properly on my machine. Can anyone help here? The complete text for both
> > events is:
> > ac_adapter AC 00000080 00000000
> > ac_adapter AC 00000080 00000001
> >   The first event is what is generated when the AC is unplugged, the
> > second is what is generated when it's plugged in. The only thing different
> > about them is the final digit, which is what I'm trying to work with. Can
> > anyone help with this? If worse comes to worse, I'll use APM, but I'm not
> > sure how good this laptop's APM support is as it was primarily designed
> > for ACPI.
> > THX
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

- -- 
Linux: The OS people choose without $200,000,000 of persuasion.
	-- Mike Coleman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD4DBQFA0i9c9XVrM3ri110RAipsAJ0VcgZkfSvBfRMAEc8qqFMDjszskQCXTngv
NF0mITIeRtnUuT13u3HZMQ==
=SJO2
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux