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: hotplug events missing or?
Date: Wed, 22 Jun 2005 23:07:30 +0000	[thread overview]
Message-ID: <20050622230730.GA5196@vrfy.org> (raw)
In-Reply-To: <BAY19-F83013B6E81E089FA776B6B9EB0@phx.gbl>

On Wed, Jun 22, 2005 at 04:25:31PM +0200, Pelle Svensson wrote:
> Hi,
> 
> It seems that I'm not getting any call to /sbin/hotplug at all.
> 
> I'm using a usb memory device and when I unplug/plug the device I will get
> a printout on the console saying:
> 
> scsi1 : SCSI emulation for USB Mass Storage device
> ....
> 
> and I can get all the information about the device using udevinfo -a -p 
> /sys/block/sda
> 
> 
> I use an echo line as the debug output in /sbin/hotplug.
> I have hotplug support in the kernel (2.6.11.6) and /sbin/hotplug can be 
> executed.

Use /bin/logger to write your debug to syslog.
This should also print the subsystem to syslog:
  echo /bin/logger > /proc/sys/kernel/hotplug

Kay


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&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-06-22 23:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22 14:25 hotplug events missing or? Pelle Svensson
2005-06-22 23:07 ` Kay Sievers [this message]
2005-06-27 15:43 ` Pelle Svensson
2005-06-28 15:22 ` Pelle Svensson
2005-06-28 15:35 ` 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=20050622230730.GA5196@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).