From: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
To: Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>
Subject: Ejecting a CardBus device
Date: Sat, 27 Sep 2003 04:00:16 +0200 [thread overview]
Message-ID: <1064628015.1393.5.camel@teapot.felipe-alfaro.com> (raw)
Hi All!
How can I tell the CardBus subsystem to eject my CardBus NIC by software
with 2.6.0 kernels? In 2.4 I could use "cardctl eject", but I don't know
how to do the same on 2.6.0-test5-mm4.
I need to eject my CardBus NIC if I want to be able to suspend the
machine using APM. Resuming from APM when the "yenta_socket" and
"pcmcia_core" modules are loaded causes a deadlock in the kernel during
resume, and the machine never comes back completely. Thus, before
suspending, I need to rmmod "pcmcia_core" and "yenta_socket" (well, and
uhci-hcd and the sound modules).
Currently, I need to manually eject the card by pushing the eject button
on the side of the laptop if I want to to rmmod "pcmcia_core" (not doing
so, causes pcmcia_core to complain that it's busy). So, I wonder if
there's a way to tell pcmcia_core to "eject" the CardBus NIC (without
physically ejecting the card from the socket) in order to being able to
rmmod it before trying to suspend.
Thanks!
Felipe Alfaro Solana
next reply other threads:[~2003-09-27 2:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-27 2:00 Felipe Alfaro Solana [this message]
2003-09-27 7:28 ` Russell King
2003-09-27 10:18 ` Felipe Alfaro Solana
2003-09-27 10:20 ` Russell King
2003-09-27 13:13 ` Felipe Alfaro Solana
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1064628015.1393.5.camel@teapot.felipe-alfaro.com \
--to=felipe_alfaro@linuxmail.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®