LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-11-2004, 01:13 PM   #1
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Rep: Reputation: 15
What module would I unload to disable pcmcia?


I'm writing a shell script for hibernation on my laptop. kernel support for s4 works well, except that I have to eject my pcmcia wifi card before I hibernate--not a big nuisance, but I want my wife to be able to do this. What I'm wondering is if there's a way to shut down the pcmcia interface (ifdown wlan0 doesn't do what I need) so that I can hibernate without ejecting the card?
 
Old 12-11-2004, 05:38 PM   #2
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
bump
 
Old 12-12-2004, 09:24 PM   #3
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
another bump
 
Old 12-20-2004, 05:40 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Moved: This thread is more suitable in Linux - Laptops and has been moved accordingly to help your thread/question get the exposure it deserves.

Moved per original poster's request. What kernel are you running, and what specific laptop (make and model) do you have? -- J.W.
 
Old 12-20-2004, 10:48 PM   #5
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
J.W. - thanks for moving the thread. I appreciate it.

I'm running MEPIS (Debian) with Kernel 2.6.7 on an IBM Thinkpad T23.
 
Old 12-21-2004, 10:05 AM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
Stopping pcmcia services should do it:

/etc/init.d/pcmcia stop
or
/etc/rc.d/rc.pcmcia stop
or
service pcmcia stop

Depending on how Mepis works. You'll want to start the service again when you wake it up.
 
Old 12-21-2004, 10:05 PM   #7
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
/etc/init.d/pcmcia stop

That would be the one, but when I execute it from a root terminal, it doesn't seem to do anything. The card still stays active. AMOF, I can ifdown it before I run pcmcia stop, and then ifup the card while the pcmcia interface is supposedly down.

Could this have something to do with the hotplug module, perhaps?
 
Old 12-21-2004, 10:45 PM   #8
Ameii83
Member
 
Registered: Dec 2004
Location: malaysia
Posts: 56

Rep: Reputation: 15
pcmcia services stop
 
Old 12-22-2004, 09:42 AM   #9
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
Nope. "Command not found."

Still no dice. There *has* to be a way to shut this down manually. Grr... /me is frustrated.
 
Old 12-22-2004, 10:39 AM   #10
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
How about a soft eject?

# cardctl eject

After waking, cardctl insert or /etc/init.d/pcmcia start should get things going again.
 
Old 12-22-2004, 10:51 AM   #11
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
That got it! Thank you so much! And Merry Christmas to you!
 
  


Reply


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
Unload a module without rebooting? Phaethar Linux - Software 4 04-27-2005 01:42 PM
unload ub-module at boot? Urkburk Slackware 10 03-25-2005 06:35 AM
How can i force unload a module that is busy Doomhammer Linux - Software 1 03-23-2005 02:25 PM
Unload module to swap drives? RandomLinuxNewb Linux - Hardware 3 10-04-2004 08:25 PM
Unload wireless module (orinoco_cs)? coujeaux Linux - Wireless Networking 1 10-15-2003 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration