dbus at matthew.ath.cx
Fri May 5 03:58:20 PDT 2006
On Thu, 4 May 2006, Kosina, Martin wrote:
> Matt wrote:
>> http://www.matthew.ath.cx/misc/dbus/ is one that I compiled when I
>> worked it out while writing a simple app and the Java bindings.
> Thanks - that is very helpful. I can get everything to connect/register
> on the bus, but it seems that _dbus_connection_read_write_dispatch()
> never does any reading (so the send/receive or listen/query pairs never
> exchange anything). (It seems status is always DBUS_DISPATCH_COMPLETED
> after the initial exchange, hence
> _dbus_connection_do_iteration_unlocked() never gets subsequently called
> ?) I put a breakpoint at _dbus_read() and it never gets hit...
Are you using the latest CVS of the library? Can you get my test
application linked from there to run?
> Has anyone tried these recently ? I suspect something might have
> changed, because _dbus_connection_read_write_dispatch() doesn't even run
> without some //hacking due to a call to _dbus_return_val_if_fail(),
> which appears to assert that the function call does not start with an
> '_' (leading me to believe its been a while since this actually worked -
> but perhaps I am missing something simple ?).
you are calling dbus_connection_read_write() and not
_dbus_connection_read_write(), aren't you?
More information about the dbus