<div dir="ltr">Just as a side note ... without the USB you'll never see the full bandwidth possible with that modem.  I don't think you'll be able to push more than Kb/s through the TTL serial connection reliably.<div><br></div><div>It is much neater, but there is a cost.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>--</div>Scott C. Lemon<div><font color="#999999">Principal IoT Solutions Engineer</font></div><div><br><div><a href="https://www.Twilio.com" target="_blank"><img src="https://docs.google.com/uc?export=download&id=1oCKSDep8oaXJUdRv-Z1g5t-vIABC2ehn&revid=0BybzcoZgn0BkU0E1bGNSY3JES3ZCaGZzMGV0Sk5WOFZFYmQ4PQ" width="96" height="28"></a><br></div></div><div><br></div><div><font color="#999999">Mobile:</font> +1 (801) 336-4476</div><div><font color="#999999">Email:</font>   <a href="mailto:slemon@twilio.com" target="_blank">slemon@twilio.com</a></div><div><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 17, 2021 at 8:57 AM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey,<br>
<br>
><br>
> I've just bought one of these<br>
><br>
> <a href="https://urldefense.com/v3/__https://www.waveshare.com/SIM7600E-H-4G-hat.htm__;!!NCc8flgU!OZuwT2y6QkYrKplWEuzHre4HDzAs6xqgyelv8QG_ZrfbM9V9vZU3tHutuyGZYA$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://www.waveshare.com/SIM7600E-H-4G-hat.htm__;!!NCc8flgU!OZuwT2y6QkYrKplWEuzHre4HDzAs6xqgyelv8QG_ZrfbM9V9vZU3tHutuyGZYA$</a> <br>
><br>
> and I'm trying to get it to work with ModemManager using (at the moment) the default version available in Raspberry Pi OS (mm 1.14.12). I'm also having some trouble convincing meson to build the latest version to try making changes, but I think that's a separate problem entirely due to my lack of understanding of meson.<br>
><br>
> ModemManager v1.14.12 works if I switch the jumpers around to "control the SIM7600 via USB to UART" and plug in an additional USB cable from the Pi to the HAT's onboard USB connection, but I'm trying to get it to work without this cable and in its default "Raspberry Pi control" jumper setting (mainly because it's neater, honestly).<br>
><br>
> I believe that the Hat's serial port is being filtered out because the Simtech plugin expects the Hat to have a Vendor/Product ID. However, when plugged in via the GPIO header, I see only a serial (ttyS0) interface, and thus no Vendor/Product IDs can match.<br>
><br>
> Can I force the Simtech plugin to be used, or would it make no sense because of the single serial port? Should it be claimed and usable by the AT plugin instead? I'm more than happy to change stuff on this, because it has no other use at the moment.<br>
><br>
<br>
You should tag the ttyS0 interface with the "ID_MM_DEVICE_PROCESS"<br>
udev tag, so that MM can process the port.<br>
<br>
The Simtech plugin doesn't support non-USB modems, though, so you'll<br>
probably end up with the generic plugin managing the modem. If you do<br>
need the Simtech plugin, we could probably update it to have "vendor<br>
and product string filters" as some other plugins supporting RS232<br>
modems do (i.e. with MM_PLUGIN_ALLOWED_VENDOR_STRINGS).<br>
<br>
-- <br>
Aleksander<br>
<a href="https://urldefense.com/v3/__https://aleksander.es__;!!NCc8flgU!OZuwT2y6QkYrKplWEuzHre4HDzAs6xqgyelv8QG_ZrfbM9V9vZU3tHsHVwqJPg$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://aleksander.es__;!!NCc8flgU!OZuwT2y6QkYrKplWEuzHre4HDzAs6xqgyelv8QG_ZrfbM9V9vZU3tHsHVwqJPg$</a> <br>
</blockquote></div>