All of lore.kernel.org
 help / color / mirror / Atom feed
* Ejecting a CardBus device
@ 2003-09-27  2:00 Felipe Alfaro Solana
  2003-09-27  7:28 ` Russell King
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe Alfaro Solana @ 2003-09-27  2:00 UTC (permalink / raw)
  To: Linux Kernel Mailinglist

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-27 13:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-27  2:00 Ejecting a CardBus device Felipe Alfaro Solana
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.