Review Request 121446: Ignore child mtp devices
Àlex Fiestas
afiestas at kde.org
Thu Dec 11 13:05:30 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121446/
-----------------------------------------------------------
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/20141211/27637323/attachment.html>
More information about the Kde-frameworks-devel
mailing list