The following line in "/lib/udev/rules.d/69-libmtp.rules" is currently causing the skipping of all the rules for connected devices, at least when using recent kernels (e.g. 4.14 and 4.18): ACTION!="add", GOTO="libmtp_rules_end" Steps to reproduce the issue: 1. Install media-libs/libmtp. 2. Connect via USB any device with a rule in "/lib/udev/rules.d/69-libmtp.rules". 3. Run "ls -l /dev/libmtp*" to notice that the symlink hasn't been created (the device rule hasn't been reached).
Created attachment 545158 [details, diff] mtp-hotplug.patch Proposed patch attached.
Reported upstream to make sure they are aware of the issue: https://sourceforge.net/p/libmtp/bugs/1797/
Created attachment 545164 [details, diff] mtp-hotplug.c Updated patch.
There is a new release of libmtp at https://sourceforge.net/projects/libmtp/files/libmtp/1.1.16/
*** This bug has been marked as a duplicate of bug 662100 ***