Dear all,<br>
I had succesfully used DBUS under kubuntu on my laptop to develop a qt application who handle the hotplug of a usb device.<br>
<br>
When I cross-compile it and i bring it on my system-on-chip, I can't connect to the system bus.<br>
<br>
I had actually installed hal and dbus, and the daemon correctly starts when I start the SOM. However,<br>
when I try to connect:<br>
<br>
dbusConn=new QDBusConnection(QDBusConnection::systemBus());<br>
qDebug(qPrintable("baseService of the bus" + dbusConn->baseService()));<br>
QStringList registeredServices = dbusConn->interface()->registeredServiceNames();<br>
for(int k=0;k<registeredServices.length();k++){<br>
qDebug(qPrintable(registeredServices.at(k)));<br>
}<br>
<br>
I have a bus with no baseService and no registered service, which means I am not able to connect to the dbus. <br>
Do you have any clue?<br>
Best Regards<br>
Edmondo Porcu