[Kde-hardware-devel] No capabilities

Christopher Blauvelt cblauvelt at gmail.com
Wed Nov 22 05:05:21 CET 2006


When I run the following code:
Solid::DeviceManager &manager = Solid::DeviceManager::self();

//get a list of all devices that are
foreach(Solid::Device device,
manager.findDevicesFromQuery("",Solid::Capability::Unknown) )
{
    cout << device.udi().toLatin1().constData() << endl;
}
return 0;

It returns all devices.  If I try any other capability I get zero
devices.  All of this is using the HAL backend.  Is this an issue with
HAL/DBUS or is there something in the code?  Let me know what other
info you need.

Chris


More information about the Kde-hardware-devel mailing list