Red Hat Bugzilla – Bug 19674
Missing and wrong files
Last modified: 2007-04-18 12:29:28 EDT
The script /etc/sysconfig/apm-scripts/apmscript which is very important for
apmd has several bugs or your file packaging in the RPMs.
apmscript uses /usr/sbin/cardctl but this is in fact in /sbin.
apmscript uses /usr/sbin/soundon and soundoff which are not on my system
I did a symlink so that cardctl could be found by apmscript.
Because I have problems with my PCMCIA-NIC I use PCMCIARESTART="yes" in
/etc/sysconfig/apmd so that /etc/sysconfig/apm-scripts/apmscript does a
cardctl suspend and resume before and after putting my notebook to suspend
mode. But this doesn't help me with my card problems. After wake-up I get
eth0: transmit timed out from my "Xircom CreditCard 10/100 + Modem 56". So
I tried cardctl eject and insert instead and that works!
Also the setting that should refuse anacron from working when on battery
power does not work! Please check that also!
Please fix all that stuff.
The location of cardctl has been fixed for a couple of weeks.
soundon and soundoff are part of the commercial version of the OSS sound drivers, which are unfortunately required by a lot of notebooks at this time.
Don't worry about them, unless you're using the commercial OSS stuff, they aren't supposed to exist (and they aren't executed when they don't exist).
The PCMCIA specs say pcmcia suspend and pcmcia resume should be sufficient, and it actually works for me (Gericom 3xC, noname ne2k compatible PCMCIA card). The problem here is either your BIOS or your PCMCIA controller itself, and pcmcia eject actually ejects the card on some hardware.
I'm adding a new PCMCIABIOSBUG switch to /etc/sysconfig/apmd.
anacron is fixed, too.
Tnx, adding PCMCIABIOSBUG is a good idea. I also have problems when my battery
gets empty. The notebook doesn't go automatically to suspend mode. So I lose all
data and I have to reboot with invalids harddisk when power is back again.
I've set up an apmcontine with apm --suspend in the ($1==change && $2==battery)
case, that seems to work. May be you can add a SUSPEND_ON_BATTERYLOW or
something to the sysconfig/ampd file.
I have a Fujitsu Lifebook with Phoenix NoteBIOS 4.0.