[Kde-hardware-devel] Solid backends restructured - but where is the HAL backend?

Christian Esken esken at kde.org
Fri Dec 29 18:06:53 CET 2006


Am Freitag, 29. Dezember 2006 12:38 schrieb Kevin Ottens:
> Le Vendredi 29 Décembre 2006 12:32, Christian Esken a écrit :
> > I am wondering where the Solid backends have gone. As far as I know they
> > were moved from the kdehw module to kdelibs. But now I only find the fake
> > backends there. Here is the state of today (just did a svn up again to make
> > sure):
> 
> The ones needed to unit test the libs are in kdelibs. The other ones that will 
> be shipped with KDE 4 are in kdebase/runtime/solid. solidshell is there as 
> well.

Thanks for the explantion.

I checked the place and it is there. But my application (and also "solidshell hardware list") only finds the fake stuff.
I then incrementaly started reinstalling everything. After several tries I also removed an old Qt4.2.0 installation and again reinstalled (remove installaton/clean/compile/install) complete KDE4. But I have still no success (see log below).

kde at bjork:/opt/SVN/kdemultimedia/obj/kmix> ll /opt/kde4head/lib/*solid*
lrwxrwxrwx  1 kde users      19 2006-12-29 16:16 /opt/kde4head/lib/libsolidifaces.so -> libsolidifaces.so.4
lrwxrwxrwx  1 kde users      23 2006-12-29 16:16 /opt/kde4head/lib/libsolidifaces.so.4 -> libsolidifaces.so.4.0.0
-rw-r--r--  1 kde users 1716283 2006-12-29 16:16 /opt/kde4head/lib/libsolidifaces.so.4.0.0
lrwxrwxrwx  1 kde users      13 2006-12-29 16:16 /opt/kde4head/lib/libsolid.so -> libsolid.so.4
lrwxrwxrwx  1 kde users      17 2006-12-29 16:16 /opt/kde4head/lib/libsolid.so.4 -> libsolid.so.4.0.0
-rw-r--r--  1 kde users 2774611 2006-12-29 16:16 /opt/kde4head/lib/libsolid.so.4.0.0
kde at bjork:/opt/SVN/kdemultimedia/obj/kmix>  ll /opt/kde4head/lib/kde4/*solid*
-rw-r--r--  1 kde users  462763 2006-12-29 16:16 /opt/kde4head/lib/kde4/kcm_solid.so
-rw-r--r--  1 kde users 2251522 2006-12-29 16:16 /opt/kde4head/lib/kde4/solid_fakehw.so
-rw-r--r--  1 kde users  862498 2006-12-29 16:16 /opt/kde4head/lib/kde4/solid_fakenet.so
-rw-r--r--  1 kde users 2559563 2006-12-29 17:26 /opt/kde4head/lib/kde4/solid_hal_discovery.so
-rw-r--r--  1 kde users  559933 2006-12-29 17:26 /opt/kde4head/lib/kde4/solid_hal_power.so

The only issue I see is the 'QLibrary::resolve_sys: Symbol "qt_plugin_instance" undefined' below. I don't think that it is critical, because it is from solid_fakehw.so (and that is the one that works).
Do you have any idea what could be wrong?

  Christian


kde at bjork:/opt/SVN/kdemultimedia/obj/kmix> solidshell hardware list
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-kde/ksycoca4
kio (KTrader): query for serviceType SolidDeviceManager : returning 3 offers
kdecore (KLibLoader): WARNING: KLibrary: QLibrary::resolve_sys: Symbol "qt_plugin_instance" undefined in /opt/chris/kde4head/lib/kde4/solid_fakehw.so (/opt/chris/kde4head/lib/kde4/solid_fakehw.so: undefined symbol: qt_plugin_instance)
kdecore (KLibLoader): className=QObject metaObject->className()=FakeManager
kdecore (KLibLoader): className=QObject metaObject->className()=Solid::Ifaces::DeviceManager
kdecore (KLibLoader): className=QObject metaObject->className()=QObject
kdecore (KLibLoader): create - 3
solidshell: [void FakeManager::parseMachineFile()] Parsing fake computer XML: /opt/chris/kde4head/share/apps/solidfakehwbackend/fakecomputer.xml
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Listing device: /org/kde/solid/fakehw/computer
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Creating FakeDevice for /org/kde/solid/fakehw/computer
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Listing device: /org/kde/solid/fakehw/acpi_AC
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Creating FakeDevice for /org/kde/solid/fakehw/acpi_AC
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Listing device: /org/kde/solid/fakehw/acpi_BAT0
[...]
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Creating FakeDevice for /org/kde/solid/fakehw/pci_8086_266e_oss_pcm_0
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Listing device: /org/kde/solid/fakehw/display0
solidshell: [FakeDevice* FakeManager::parseDeviceElement(const QDomElement&)] Creating FakeDevice for /org/kde/solid/fakehw/display0
solidshell: Backend loaded: FakeHw
udi = '/org/kde/solid/fakehw/acpi_AC'
udi = '/org/kde/solid/fakehw/acpi_BAT0'
udi = '/org/kde/solid/fakehw/acpi_CPU0'



More information about the Kde-hardware-devel mailing list