From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 06 Jan 2009 06:34:09 +0000 Subject: Re: How to replace hotplug handler Message-Id: <20090106063409.GA10409@kroah.com> List-Id: References: <1864acd30901052225gb3156c4t95da3ff88f691fe5@mail.gmail.com> In-Reply-To: <1864acd30901052225gb3156c4t95da3ff88f691fe5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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