Review Request 121446: Ignore child mtp devices
Àlex Fiestas
afiestas at kde.org
Sat Jul 11 20:38:59 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121446/
-----------------------------------------------------------
(Updated jul. 11, 2015, 8:38 p.m.)
Status
------
This change has been discarded.
Review request for KDE Frameworks and Solid.
Repository: solid
Description
-------
When an mtp device has child usb devices (for example when you plug an android phone with debugging), these childs usbs are mark as MTP but we can't really access them.
According to the udev rules installed by libmtp, an alias devlink is added to the actual device, so this patch adds a filter for that.
Diffs
-----
src/solid/devices/backends/udev/udevmanager.cpp 39137ce
Diff: https://git.reviewboard.kde.org/r/121446/diff/
Testing
-------
Tested with 3 different devices, 2 of them android with and withtout debug and it worked fine (plasma shows only 1 working mtp device instead of 3)
Thanks,
Àlex Fiestas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150711/20de473f/attachment.html>
More information about the Kde-frameworks-devel
mailing list