davidedmundson added a comment.
Copying our IRC chat:
I tried something /very very/ similar
which merges queryDeviceInterface into the earlier query. It didn't work.
This patch is a bit different, it does a coarse filter, then still goes
through queryDeviceInterface afterwards.
My concern with this is that your filter query for PortableMediaPlayer
doesn't match what queryDeviceInterface(PortableMediaPlayer) does.
That code does "devicesByProperty("ID_MEDIA_PLAYER", QVariant()"
If you can prove that property is only valid for USB subsystems, then you can
ship it, otherwise, no.
To: broulik, #frameworks, davidedmundson
Cc: ngraham, michaelh