the ebuild installs /etc/udev/91-usb_modeswitch.rules but then talks about another file to edit: * For automated mode switching via udev, use "lsusb" * to find the correct values for your device and modify * them in /etc/udev/rules.d/91-usb_modeswitch.rules Reproducible: Always usb_modeswitch-0.9.4.ebuild src_install() checks for >=sys-fs/udev-106 to get the right filename, pkg_postinst() misses this check
1. It seems this ebuild does install its udev rules into the wrong directory. They should be in /etc/udev/rules.d, but ebuild does doins usb_modeswitch.conf 2. It seems common sense, to install udev rules without use-flags. Even worse is depending on has_version to decide. 3. Why checking on >=udev-106. ATTRS should be supported longer, but I know no exact version number. If you look at stable udev version, that is udev-124-r1, why not just block <sys-fs/udev-106 (or any other suitable version) and always install the newer file?
With the bump to 1.0.2, I've fixed this and removed the check for udev-version -> we don't have any pre 1.0.6 udev version in tree.