![]() |
APMD-List: |
to APMD Home
|
Index:
[thread]
[date]
[subject]
[author]
From: Ian Pilcher <pilcher@us.ibm.com> To : <apmd-list@worldvisions.ca> Date: Thu, 22 Jul 1999 20:45:56 +0000 Can't refuse to suspendI don't know if my previous note made it onto this list or not. (Actually, I'm not sure if this list is even working.) I'm going to proceed on the assumption that my previous note didn't get through, and start back at ground zero. I'm setting up Red Hat 6.0 on an IBM ThinkPad 770Z. I've got just about everything working, but I've found that a suspend/resume leaves the sound drivers out of sync. Unloading and reloading the sound driver modules seems to correct the problem, and I want to use apmd_proxy to do this--pretty straightforward so far. The problem is that an open multimedia application will prevent the sound drivers from unloading. Therefore, I want apmd_proxy to refuse to suspend when the drivers don't unload. So far, however, I can't get the system to not suspend, no matter what apmd_proxy returns. (I have verified that apmd_proxy is being executed.) Is a certain kernel level required to get this to work? I'm using apmd 3.0beta8 with kernel 2.2.10. Here's the APM portion of my kernel configuration: CONFIG_APM=y # CONFIG_APM_IGNORE_USER_SUSPEND is not set CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set CONFIG_APM_POWER_OFF=y CONFIG_APM_IGNORE_MULTIPLE_SUSPEND=y CONFIG_APM_IGNORE_SUSPEND_BOUNCE=y # CONFIG_APM_RTC_IS_GMT is not set CONFIG_APM_ALLOW_INTS=y Thanks! -- ======================================================================== Ian Pilcher pilcher@us.ibm.com Client I/T Architect 972-280-5741 IBM Banking, Finance & Securities ======================================================================== Index: [thread] [date] [subject] [author] |