Hi I tried it both quoted and unquoted. On Thu, 17 Jun 2004, Chuck Hallenbeck wrote: CH> -----BEGIN PGP SIGNED MESSAGE----- CH> Hash: SHA1 CH> CH> Jacob, CH> CH> When you tried putting the entire strings in, did you quote them CH> or escape the spaces? CH> CH> Chuck CH> CH> On Thu, 17 Jun 2004, Jacob Schmude wrote: CH> CH> > Hi all CH> > Well, I got linux on my new laptop and got all the hardware CH> > working. I wound up putting slackware on and not Fedora, since the CH> > performance of Fedora on the laptop was extremely slow and I couldn't CH> > figure out why. Yes, I checked the CPU frequency scaling governors and CH> > they were set to performance, but it still ran slow. Anyway, I got slack CH> > on and it's running fine, except for ACPI. I can't get the regexp for some CH> > of my events correct. What I want to do is for it to start laptop mode CH> > when the AC adapter is unplugged, and to stop laptop mode when the AC is CH> > plugged in. I've gotten it partially working--it will stop laptop mode CH> > when the AC is plugged in. However, I can't seem to get it to start laptop CH> > mode when the AC is unplugged. The relevant lines from my CH> > /etc/acpi/events/events.conf are: CH> > event=ac_adapter.*00 CH> > action=/usr/local/bin/startlt CH> > event=ac_adapter.*01 CH> > action=/usr/local/bin/stoplt CH> > Startlt and stoplt are custom scripts I've written to turn on CH> > laptop mode and set the correct HD parameters for standby and such, and to CH> > adjust the powersave governors correctly. It's the first event that CH> > doesn't work, and I'm stuck as to why. I've tried everything I could think CH> > of, including putting the entire text of the relevant events in--but if I CH> > do that then none of them work. events.conf is a file I created to CH> > override slackware's default acpi-handler.sh script, which doesn't work CH> > properly on my machine. Can anyone help here? The complete text for both CH> > events is: CH> > ac_adapter AC 00000080 00000000 CH> > ac_adapter AC 00000080 00000001 CH> > The first event is what is generated when the AC is unplugged, the CH> > second is what is generated when it's plugged in. The only thing different CH> > about them is the final digit, which is what I'm trying to work with. Can CH> > anyone help with this? If worse comes to worse, I'll use APM, but I'm not CH> > sure how good this laptop's APM support is as it was primarily designed CH> > for ACPI. CH> > THX CH> > CH> > _______________________________________________ CH> > Speakup mailing list CH> > Speakup at braille.uwo.ca CH> > http://speech.braille.uwo.ca/mailman/listinfo/speakup CH> > CH> CH> - -- CH> The Moon is New CH> My home page is now at http://www.mhcable.com/~chuckh CH> -----BEGIN PGP SIGNATURE----- CH> Version: GnuPG v1.2.4 (GNU/Linux) CH> CH> iQCVAwUBQNIsdTVdG8M9x9tGAQLlIwP9EkOGFYWNVIyB6yoqETduCHzoUM0IdaL5 CH> lNrnADl4jBO24IrXq1ioY/uQTNwtx8Yyh3L/AAGpKKre5G2noPXBhch1/C/P8/sN CH> ZHWy6QXG76kDKiD9HWMYzHEAOfms8C0j67gJ8Qwo8U6wQPzNqFl4V6OjTKpXjPfk CH> qjnnK652IWc= CH> =3/d6 CH> -----END PGP SIGNATURE----- CH> CH> CH> _______________________________________________ CH> Speakup mailing list CH> Speakup at braille.uwo.ca CH> http://speech.braille.uwo.ca/mailman/listinfo/speakup CH>