I updated the patch: now all events except "add" and "bind" (this seems necessary for new kernels) are skipped. With the patch "/dev/libmtp-*" is successfully created on Gentoo with both 4.14 and 4.18 kernels, so the device rules are not skipped anymore. The issue can always be reproduced without the patch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-09-04
With the latest version of your patch, my OnePlus 3T works again. (Arch Linux, kernel 4.17.14)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the patch does not seem correct. before:
all events except "add" are skipped
after:
events type "add" and "change" are skipped
so now the add events are skipped.
also I suggest to switch to use hwdb please with modern systemd/ udev can handle.
I updated the patch: now all events except "add" and "bind" (this seems necessary for new kernels) are skipped. With the patch "/dev/libmtp-*" is successfully created on Gentoo with both 4.14 and 4.18 kernels, so the device rules are not skipped anymore. The issue can always be reproduced without the patch.
With the latest version of your patch, my OnePlus 3T works again. (Arch Linux, kernel 4.17.14)
i have applied this patcjh to current git for next release