linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using udevstart as hotplug program.
@ 2005-06-16  9:12 Nori, Soma Sekhar
  2005-06-16 18:38 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nori, Soma Sekhar @ 2005-06-16  9:12 UTC (permalink / raw)
  To: linux-hotplug


Hi,

I am running a 2.6.10 kernel (from kernel.org)

I am trying to use udevstart (version 055) as the hotplug program
for USB plug and unplug events.

I compiled the kernel with CONFIG_HOTPLUG=y and CONFIG_KOBJECT_UEVENT=y

Also, before connecting any USB devices I do:
echo "/sbin/udevstart" > /proc/sys/kernel/hotplug

But, after connecting a USB mouse, /dev/usb/hiddev0 does not get created

automatically. But, if I run udevstart manually, the device node does 
get created.

I guess /sbin/udevstart is not getting called by the hotplug subsystem.
From what I understand, any program given in /proc/sys/kernel/hotplug 
should get called whenever a USB plug/unplug occurs. 

I know that the USB subsystem is working correctly since I can 
cat /dev/usb/hiddev0 and see the mouse movements getting dumped.
(So the device must have enumerated correctly)

Note that I do not have /sbin/hotplug on my filesystem. But I guess its
not 
necessary to have it.

What am I missing here? Is there any USB specific configuration for
generating
hotplug events? I could'nt find any such config though. Please let me
know.

Thanks,
Sekhar Nori


-------------------------------------------------------
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Ìk
_______________________________________________
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

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

end of thread, other threads:[~2005-06-17 19:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16  9:12 Using udevstart as hotplug program Nori, Soma Sekhar
2005-06-16 18:38 ` Greg KH
2005-06-17 11:16 ` Nori, Soma Sekhar
2005-06-17 19:24 ` David Brownell

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).