Created attachment 467908 [details, diff] fix for 2.4.0 ~sys-apps/usb_modeswitch-2.4.0 (the most recent version currently in tree) is broken for some modems. At least D-Link DWM-157 B1 (2001:a707) is affected, probably others with "StandardEject=1" in config, too. The problem lies in config file parsing (a patch, backported from version 2.5.0 is attached to this bug). Either this patch needs to be added to sys-apps/usb_modeswitch-2.4.0 ebuild or the package needs to be bumped to 2.5.0.
commit 54bc2d02fa53adc994266479764f352543bbec67 Author: Gilles Dartiguelongue <eva@gentoo.org> Date: Sun Mar 25 19:53:08 2018 +0200 sys-apps/usb_modeswitch: version bump to 2.5.2, bug #622656 Closes: https://bugs.gentoo.org/show_bug.cgi?id=622656 Package-Manager: Portage-2.3.24, Repoman-2.3.6 Thanks for reporting and sorry for the delay.