![]() |
2009-11-15
, 20:12
|
Posts: 388 |
Thanked: 842 times |
Joined on Sep 2009
@ Finland
|
#2
|
[sbox-FREMANTLE_X86: ~] > fakeroot hald --daemon=no --verbose=yes 22:09:11.547 [I] hald.c:680: hal 0.5.12 22:09:11.547 [I] hald.c:681: using child timeout 250s 22:09:11.547 [I] hald.c:746: Will not daemonize 22:09:11.547 [I] hald_dbus.c:5421: local server is listening at unix:abstract=/var/run/hald/dbus-xcRBrabKnC,guid=984c376816a40995254e0e350000005b 22:09:11.547 [E] hald_dbus.c:5787: dbus_bus_get(): Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
There is an example at http://www.share-linux.com/hal1.php (very similar to the one in the Maemo5 developer's guide).
When run, it fails at libhal_ctx_init with error message (null) on my scratchbox (x86 target) but works fine when compiled and run directly on the host ubuntu9.10.
The HAL daemon is supposed to work on the SDK, right? I even reinstalled scratchbox and the SDK (didn't help) after finding no search results about similar problems.
It seems that the daemon might have some trouble connecting to dbus... However, dbus itself seems to work as I am able to connect and send signals over it (to targets other than hal). Can anyone else get the above mentioned example to work or is it just me not mastering this?
Last edited by hqh; 2009-11-15 at 20:24.