From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: xhotplugd ???
Date: Thu, 25 Jul 2002 17:25:27 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-102764379913988@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-102727059707819@msgid-missing>
> http://at.rpmfind.net/opsys/linux/RPM/lycoris/build44/install/RPMS/khotplug-0.9.7-42rl.i586.html
> ftp://at.rpmfind.net/linux/lycoris/build44/rl/install/SRPMS/khotplug-0.9.7-42rl.src.rpm
I took a quick look at this. Its "hotplugd" seems to be scanning
busses and delivering its own event reports to a UNIX socket that's
partially hidden (/var/run/.hotplugd). Then it seems like some KDE
program (which I'll think of as "xhotplugd") interprets those reports.
Some key differences from the kernel hotplug support are:
- Since the kernel is already scanning those busses, this is
duplicating work ... Yet Another Daemon, in this case one
that's not necessary. (Having one was a hotplug anti-goal.)
- It doesn't try to use the MODULE_DEVICE_TABLE information
provided by drivers ... has its own tables to update (or more
typically, not update) and get out of sync with the kernel.
- It doesn't even try to use the information provided through
the /sbin/hotplug interface. It's got its own event model.
While the user mode code might be fine (but it didn't compile for
me on RH7.3), I think it'd be better to just come up with a way
to have the /sbin/hotplug code write more standard events to such
a UNIX domain socket.
I'll be glad to see progress on hooking up hotplug events to
GUIs. There are (unfortunately) a number of cases where users
need to make choices when devices appear.
- Dave
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
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
next prev parent reply other threads:[~2002-07-25 17:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-21 16:54 xhotplugd ??? kde
2002-07-21 19:45 ` Bernhard Kaindl
2002-07-25 17:25 ` David Brownell [this message]
2002-07-26 15:17 ` Joseph Wenninger
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=marc-linux-hotplug-102764379913988@msgid-missing \
--to=david-b@pacbell.net \
--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).