<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Frameworks, davidedmundson, bruns.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />broulik requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21379">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>It currently scans all UDev devices, including processors, for that property.<br />
This limits the number of subsystems queried.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I only found traces of "usb" and "tty" in gphoto code, not sure what other subsystems a camera could be. Definitely not cpu and processors, though.</p>

<p>Previously hotplugengine took 46ms to initialize on plasmashell startup here, now it's down to 6ms.<br />
My phone still shows up as Camera when connected via PTP rather than MTP</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R245 Solid</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21379">https://phabricator.kde.org/D21379</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/solid/devices/backends/shared/udevqtclient.cpp<br />
src/solid/devices/backends/shared/udevqtclient.h<br />
src/solid/devices/backends/udev/udevmanager.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Frameworks, davidedmundson, bruns<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>