[Kde-hardware-devel] No capabilities

Kevin Ottens ervin at kde.org
Wed Nov 22 09:44:36 CET 2006


Le Mercredi 22 Novembre 2006 05:05, Christopher Blauvelt a écrit :
> 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.

Could you tell me which capabilities you tested?
Are you sure there's no error output with this program? It would help finding 
the bug.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20061122/3d315c1a/attachment.pgp 


More information about the Kde-hardware-devel mailing list