<table><tr><td style="">broulik updated this revision to Diff 58839.<br />broulik retitled this revision from "[UDev Backend] Narrow subsystems queried for cameras" to "[UDev Backend] Narrow device queried for".<br />broulik edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-4guut62cazh3jw7/">(Show Details)</a><br />broulik edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ynhnnmj2h6bzw4r/">(Show Details)</a><br />broulik added a comment.
</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><div><ul class="remarkup-list">
<li class="remarkup-list-item">Merge <a href="https://phabricator.kde.org/D21425" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D21425</a> into this</li>
</ul></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">It currently scans all UDev devices, including processors, for that property.<br />
This limits the number of subsystems queried to "usb"</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">By checking for `usb` subsystem and the identifying property we use in `queryDeviceInterface` we can significantly reduce the number of wrapper items created</span>.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>My phone still shows up as Camera when connected via PTP rather than MTP<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">.<br />
<br />
When starting it with the phone already plugged in, it doesn't show up but that is also without this patch..</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R245 Solid</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D21379?vs=58706&id=58839">https://phabricator.kde.org/D21379?vs=58706&id=58839</a></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>apol, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>