LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-02-2003, 05:37 PM   #1
RetroDude
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
apmd & slackware 9.1 on a thinkpad


I have a Thinkpad 600E and have been happy for the most part of what can be done with it under Slackware. Most websites seem to have information for Red Hat or Mandrake on a Thinkpad, but there's very little regarding Slackware.

My problem is as follows. I have APM compiled into my kernel and issue an apm --suspend command. When I resume from suspend, everything looks fine, except I have to eject and re-insert my PCMCIA card and reload my soundcard drivers (they're OSS). I have checked the manpages for apmd and read that it defaults to reading /etc/apm/apmd_proxy to parse a script for commands to run during apm events. So I wrote a script from information online and put it in an apm folder under etc, called apmd_proxy.

No matter what I do, even running apmd -P /etc/apm/apmd_proxy, apmd refuses to invoke this file at all (I even added an echo statement to see if the file was being executed at all). So my question is, is there another file I should be looking at, or am I doing something wrong here? ACPI is not an option on this machine (it's listed as not working according to the maintainers of ACPI). Any help would be appreciated.
 
Old 11-03-2003, 03:05 AM   #2
RetroDude
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware
Posts: 2

Original Poster
Rep: Reputation: 0
I'd like to add some more findings I have found.

The script apmd_proxy does seem to get invoked, however, it seems when a suspend event is sent when using apm --suspend, by the time my /sbin/cardctl eject command is sent from apmd_proxy, the system has already done cardctl suspend to all my card. Likewise, when I resume from standby, cardctl eject/remove aren't invoked (because the card is still suspended until apmd_proxy is finished, then i assume cardctl resume is called).

How can I prevent the system from suspending my card(s) so I can eject them manually in apmd_proxy?

Last edited by RetroDude; 11-03-2003 at 03:06 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
IBM Thinkpad 600 & Sarge & startx hecsa Debian 3 06-02-2004 12:06 PM
poweroff & apmd fasta Slackware 10 11-13-2003 06:24 AM
Thinkpad & Kernel BittaBrotha Linux - Laptop and Netbook 1 09-15-2003 06:38 PM
Thinkpad 355c & Zipslack Toddo Slackware 0 08-28-2003 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration