Active Topics

 


Reply
Thread Tools
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#1
I'm having trouble getting a connection to HAL on scratchbox/Maemo5 SDK...

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.
 
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#2
Anyone?

Seems that the code example mentioned earlier has nothing (?) to do with this. The hal daemon simply refuses to start.

Code:
[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.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#3
I have this same problem.
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#4
Hi,

unfortunately HAL is not supposed to run inside scratchbox.

Cheers Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 22:13.