--- modemmanager-1.8.2.ebuild.ori 2018-10-08 11:34:47.436395010 +0200 +++ modemmanager-1.8.2.ebuild 2018-10-08 11:47:28.867803491 +0200 @@ -42,9 +42,17 @@ src_prepare() { DOC_CONTENTS=" - If your USB modem shows up only as a storage device when you plug it in, - then you should install sys-apps/usb_modeswitch, which will automatically - switch it over to USB modem mode whenever you plug it in.\n" + USB 2G/3G/LTE modems show up by default only as a CDROM storage device with MS Win + drivers when you plug them in. Once the /dev/sr* is 'ejected' their firmware + switches into modem mode and also their eventual SDcard slot is exposed to the + host computer. While you can use 'eject /dev/sr*' command to that manually + sys-apps/usb_modeswitch will do this automatically whenever you plug the device + in (that can be seen in syslog records). The USB ID number of the CDROM (/dev/sr*) + interface differs from those of the modem (/dev/USB*) and of the SD card reader.\n + Use dmesg and lsusb to firgure out IDs of your device.\n + For example, firmware of Huawei E3131 must switch from 12d1:15ca to 12d1:1506 to + expose its three /dev/ttyUSB* and one /dev/sr* interfaces. The command is: + usb_modeswitch -J -v 0x12d1 -p 0x15ca\n" if use policykit; then DOC_CONTENTS+="\nTo control your modem without needing to enter the root password,