Sorry, for one, a typo correction. I meant _system_ bus here of course:<br>
<br>
<span class="q" id="q_10a18cbcb6ed5249_0">"[...] so there is no need to connect to the session bus by yourself; [...]"<br>
<br>
And yeah, that _is_ the case, but that's what libhal does for you: it connects to HAL's interface<br>
on the system bus, so you don't have to deal with this.<br>
</span><br><div><span class="gmail_quote">On 3/20/06, <b class="gmail_sendername">Oliver Frommel</b> <<a href="mailto:ofrommel@linuxnewmedia.de">ofrommel@linuxnewmedia.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
><br>> Not the text editor maybe, but:<br>> > - most sound software (USB audio and midi devices)<br>> > - software for digital cameras<br>> > - video editing software (IEEE1394)<br>> ><br>> > In these cases I would connect the application to the system bus
<br>> > and register them for events of the appropriate devices of the<br>> > Hal service. Additionally I would have to connect to the<br>> > session bus to make the applications scriptable or exchange<br>
> > data with cooperating applications.<br>><br>><br>> Yes but there exists libhal which is a library that abstracts out<br>> communication with hal trough DBus for the API user, so there is no need to<br>
> connect to the session bus by yourself; instead you can make use of libhal,<br>> and don't need to deal with DBus directly at all there. There is also<br>> libhal-storage, which is a separate library with an even simpler interface
<br>> since storage handling is a very common use case when using HAL.<br><br>That's interesting. From what I read I figured it was the<br>other way round: that you make use of D-Bus to access HAL.<br><br>Best<br>Oliver
<br><br></blockquote></div><br>