linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: How to replace hotplug handler
Date: Tue, 06 Jan 2009 06:34:09 +0000	[thread overview]
Message-ID: <20090106063409.GA10409@kroah.com> (raw)
In-Reply-To: <1864acd30901052225gb3156c4t95da3ff88f691fe5@mail.gmail.com>

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

  reply	other threads:[~2009-01-06  6:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06  6:25 How to replace hotplug handler Adam Jiang
2009-01-06  6:34 ` Greg KH [this message]
2009-01-06  8:07 ` Adam Jiang
2009-01-06 15:55 ` Greg KH
2009-01-07  9:18 ` Adam Jiang
2009-01-07 16:11 ` Greg KH

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=20090106063409.GA10409@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@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 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).