linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Missing remove event
Date: Thu, 29 Dec 2005 03:46:47 +0000	[thread overview]
Message-ID: <20051229034647.GB23953@vrfy.org> (raw)
In-Reply-To: <20051229000359.GB15058@hank.org>

On Wed, Dec 28, 2005 at 04:03:59PM -0800, Bill Moseley wrote:
> I installed Debian Sarge on a Toshiba 2805 laptop with 2.6.8-2-686 and
> acpi=off.  This card loads the prism54 driver.
> 
> I get "add" pci events for my cardbus Netgear WG511v1 card.  But only
> sometimes do I also get a "remove" event -- so if I remove the card I
> have to reboot to get the card operational again.

What does:
  cat /proc/net/dev
and:
  ls -l /sys/class/net
show in that case?

> The laptop was running Debian Sid in the past and I was able to remove
> and add the wireless card without rebooting.

Does it work if you rmmod the network driver?

> Another curious thing is I see a remove firmware event right after the
> add firmware event.

> Why is there a remove firmware event?

Firmware loading is implemented as a "fake kernel device". It gets
created, sends an uevent, userspace copies the fw to the kernel and the
"firmware device" is removed after that, which sends another event.
The event is not used for anything, it's just the logic the driver
core works.

Kay


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  reply	other threads:[~2005-12-29  3:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-29  0:03 Missing remove event Bill Moseley
2005-12-29  3:46 ` Kay Sievers [this message]
2005-12-29  6:50 ` Bill Moseley
2005-12-29  6:59 ` Bill Moseley
2005-12-30 20:40 ` Bill Moseley
2005-12-30 20:52 ` Kay Sievers
2005-12-30 22:12 ` Bill Moseley
2005-12-30 22:33 ` Kay Sievers

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=20051229034647.GB23953@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).