bruns added a comment.
sd[a-z] is subsystem "block" sg[0-9] is susbsystem "scsi_generic" none of the ID_GPHOTO2==1 devices is a tty or dvb device INLINE COMMENTS > udevqtclient.h:53 > DeviceList devicesBySubsystem(const QString &subsystem); > + DeviceList devicesBySubsystemsAndProperties(const QStringList > &subsystems, const QVariantMap &properties); > Device deviceByDeviceFile(const QString &deviceFile); This definitely needs some documentation - values in subsystems form a union (ORed) - key/values in properties form a union (ORed) - both unions are intersected (ANDed) i.e. in the camera case, (usb || dvb || tty) && (ID_GPHOTO2==1) REPOSITORY R245 Solid REVISION DETAIL https://phabricator.kde.org/D21379 To: broulik, #frameworks, davidedmundson, bruns Cc: apol, kde-frameworks-devel, michaelh, ngraham, bruns