lkml.org 
[lkml]   [2005]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: hotplug problem
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-03 10:41    [W:0.037 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site