From: David Zeuthen Date: Sat, 28 Feb 2004 14:13:55 +0000 Subject: Re: udev and DBUS Message-Id: <1077977635.1295.74.camel@powerbook.fubar.dk> List-Id: References: <20040217214449.GB12411@wonderland.linux.it> In-Reply-To: <20040217214449.GB12411@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org (for some reason it seems that linux-hotplug-devel rejects my mail once in a while so if you reply, please quote in full) On Thu, 2004-02-26 at 18:00, Marco d'Itri wrote: > On Feb 26, David Zeuthen wrote: > > >Maybe we should remove dbus support from udev and distributions and/or > >hardware/hotplug abstractions like HAL can install their own callout > >scripts (side-question: is it now as easy to install a callout as with > >hotplug e.g. place an executable in /etc/hotplug.d/default/) which sends > >a dbus message to a well-defined service (in HAL's case this would be > >org.freedesktop.Hal.Manager). > I'm not sure if this would work, because I think HAL wants to know which > name has just been created by udev. > Right - my suggestion was for HAL to install a callout in udev, a script really, that sends a D-BUS message to the HAL service. > >What do you think? > > Last week I added this to README.Debian: > > D-BUS support > ~~~~~~~~~~~~~ > It has been temporarily disabled for many reasons, among them it needing > libraries in /usr/lib and introducing a pause of many seconds at boot time. > A possible solution could be to build two versions of the daemon, start > the bare one in the init script[1] and patch it to exit when SIGUSR1 has > been received and the queue is empty. > > > [1] or initrd or initramfs. This could work as well, but it's really up to Greg to answer this one I think. Since udev is now a daemon we should probably revisit D-BUS support and add support for queries, I'll look into this. Thanks, David ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ 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