Re: How to replace hotplug handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 06, 2009 at 03:25:27PM +0900, Adam Jiang wrote:
> Hello,
> 
> I am a newbie for kernel-hacking. I have a problem with hotplug
> handler. That's a kind of handset, on which the system should detect
> the hotplug events with a special program like 'pnphandler'. It will
> work fine when I do
> % echo "/usr/bin/pnphandler" > /proc/sys/kernel/hotplug
> 
> But how can I write this into kernel or rootdisk instead of doing it
> again and again after reboot.

The kernel config option CONFIG_UEVENT_HELPER_PATH should be what you
need.

Hope this helps,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux