Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-24-2013, 05:21 PM   #1
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 13.37 kernel gcc 4.5.2
Posts: 231

Rep: Reputation: 16
How to add in a pm-utils hook to disable pcmcia wifi card for suspend/hibernate?

How can I add in a hook for pm-utils to check to see if a pcmcia wifi card is active and have it deactivated for suspend and hibernate? This card interferes with suspend and hibernate if it is active. It is an EDUP 802.11 b/g wifi card that uses the bcm 4312 chipset. Also would need to reactivate it on resume as well.

Last edited by Arcosanti; 02-24-2013 at 05:22 PM.
Old 02-24-2013, 10:21 PM   #2
Registered: May 2007
Posts: 399

Rep: Reputation: 123Reputation: 123
I'm not sure what the requirement is for bringing down your pcmcia, so try reading 'man pm-suspend'.

What I have done before, is added a file at /etc/pm/config.d/bttv with the line 'SUSPEND_MODULES="bttv"'. This is supposed to rmmod bttv prior to suspend. I added this line for kernel version 2.6.37, due to a regression in suspend on my bttv based card. Without it, the tuner is not restored properly. I have since just pulled the card since I hardly use it anymore.

I have been slowly investigating the problem ever since then. I do not know why 2.6.36 works fine and 2.6.37 suddenly changes it. Unfortunately 2.6.37-rc is a huge mess that I have not been able to bisect due to many problems during the pull cycle. I have random problems due to suspend since that release, but never really prevented the machine from fully returning. One of these days I will figure it out.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Custom pm-utils suspend/resume hook stopped working TDMBG Linux - Software 0 04-03-2010 07:30 AM
Disable suspend/sleep/hibernate/whatever-you-call-it arizonagroovejet Linux - General 4 02-06-2009 05:33 AM
How to reconnect to wifi on resume from hibernate/suspend? Slackware 12.1, madwifi thesk8ingtoad Slackware 1 08-22-2008 08:15 AM
Disable hibernate / suspend on desktop Dell Inspiron 531s bcarl314 Mandriva 2 09-04-2007 11:48 AM
386 + ISA-PCMCIA adapter + PCMCIA Ralink wifi card v6sa Linux - Newbie 0 05-19-2005 01:42 PM

All times are GMT -5. The time now is 06:44 AM.

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