[Kde-hardware-devel] Review Request 121446: Ignore child mtp devices

Lukáš Tinkl lukas at kde.org
Sat Jul 11 20:23:25 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121446/#review82360
-----------------------------------------------------------

Ship it!


Ship It!

- Lukáš Tinkl


On Pro. 11, 2014, 2:05 odp., Àlex Fiestas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121446/
> -----------------------------------------------------------
> 
> (Updated Pro. 11, 2014, 2:05 odp.)
> 
> 
> 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-hardware-devel/attachments/20150711/58c4546c/attachment.html>


More information about the Kde-hardware-devel mailing list