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

Aleix Pol Gonzalez aleixpol at kde.org
Thu Dec 11 13:17:07 UTC 2014


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


+1 makes sense to me, less of a workaround as it used to be.

- Aleix Pol Gonzalez


On Dec. 11, 2014, 1:05 p.m., Àlex Fiestas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121446/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2014, 1:05 p.m.)
> 
> 
> 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/20141211/e5ba6316/attachment.html>


More information about the Kde-hardware-devel mailing list