Bug 19674

Summary: Missing and wrong files
Product: [Retired] Red Hat Linux Reporter: Boris Folgmann <boris>
Component: apmdAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-24 10:06:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Boris Folgmann 2000-10-24 10:06:51 UTC
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
(why?).

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.

Tnx,

	Boris.

Comment 1 Bernhard Rosenkraenzer 2000-10-24 10:34:47 UTC
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.

(3.0final-23)


Comment 2 Boris Folgmann 2000-10-24 11:07:10 UTC
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.