LinuxQuestions.org
Help answer threads with 0 replies.
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 02-24-2013, 04:21 PM   #1
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Rep: Reputation: 22
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 04:22 PM.
 
Old 02-24-2013, 09:21 PM   #2
the3dfxdude
Member
 
Registered: May 2007
Posts: 735

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
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.
 
  


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

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

All times are GMT -5. The time now is 05:35 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