All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Koller <clemens.koller@anagramm.de>
To: bgerard <bgerard@axalto.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: hotplug problem
Date: Wed, 03 Aug 2005 10:37:27 +0200	[thread overview]
Message-ID: <42F08247.1020405@anagramm.de> (raw)
In-Reply-To: <42F078F3.4040808@axalto.com>

Hi Ben!

bgerard wrote:
> I'm working on an embeded system with linux kernel 2.4.27 and busybox 
> 1.00. Lately I've decided to add hotplug feature to my kernel in order 
> to automaticaly mount usb keys.
> 
> When I plug the usb key, I can see in the kernel debug that 
> "/sbin/hotplug" is called but my script is not executed. I've tried to 
> replace the hotplug script by a simple one but nothing appeared. Here is 
> my script :
> #!/bin/sh
> echo "usb key un/plugged"

I don't know much about hotplugging on 2.4.x and how you might need
to enable it in /proc... it just works for me on 2.6. with
CONFIG_HOTPLUG enabled and the latest hotplug-scripts.

> The script is working when I run it myself (./sbin/hotplug )
> 
> I've also noticed that when kmod try to call modprobe, it's not executed 
> while the debug message says that everything went fine.

Try newer modutils?

And you might have more luck asking on:
linux-hotplug-devel@lists.sourceforge.net

Greets,

Clemens


  reply	other threads:[~2005-08-03  8:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-03  7:57 hotplug problem bgerard
2005-08-03  8:37 ` Clemens Koller [this message]
2005-08-03  9:47   ` bgerard

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=42F08247.1020405@anagramm.de \
    --to=clemens.koller@anagramm.de \
    --cc=bgerard@axalto.com \
    --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 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.