From: Sitsofe Wheeler <sitsofe@yahoo.com>
To: Oguz Yarimtepe <comp.ogz@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: usb hotplug and hooking
Date: Mon, 2 Mar 2009 15:34:58 +0000 [thread overview]
Message-ID: <20090302153458.GA25965@silver.sucs.org> (raw)
In-Reply-To: <20831c740903020539h68f62f2fj1575408d89050d25@mail.gmail.com>
Hello,
On Mon, Mar 02, 2009 at 03:39:41PM +0200, Oguz Yarimtepe wrote:
> I want to run an application when an external usb flash disk is plugged to
> my box machine that has STLinux installed in it. My aim is to check some
> issues on usb disk, whether it has an official software or not. I am not
> sure how will i hook my own application that will check usb device
> when it is plugged. I don't want the application run at the
> background, but run only when a plug is occured.
I think these days that problem tends to be handled by HAL
http://www.freedesktop.org/wiki/Software/hal and some software listening
to HAL events on dbus . If you are using KDE or GNOME both of these have
tools for automatically running software when devices are detected
(GNOME uses gnome-volume-manager and I think KDE has media://ioslave).
--
Sitsofe | http://sucs.org/~sits/
next prev parent reply other threads:[~2009-03-02 15:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 13:39 usb hotplug and hooking Oguz Yarimtepe
2009-03-02 14:13 ` Oliver Neukum
2009-03-02 14:33 ` Oguz Yarimtepe
2009-03-02 14:48 ` Xavier Bestel
2009-03-02 15:34 ` Sitsofe Wheeler [this message]
2009-03-02 15:46 ` Oguz Yarimtepe
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=20090302153458.GA25965@silver.sucs.org \
--to=sitsofe@yahoo.com \
--cc=comp.ogz@gmail.com \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.