forcing a specific handler plugin on a fixed tty

Aleksander Morgado aleksander at aleksander.es
Mon Jul 22 20:18:18 UTC 2019


Hey,

>
> Currently when forcing the quectel modem i have to be proved via udev, i get "not supported by any plugin".
>
> As far as i understand  MM_PLUGIN will create a match thing against MM_PLUGIN_ALLOWED_VENDOR_IDS, but adding anything there wont work for me because the modem is not on usb, so no vendor id. Instead it is fixed on tty0.
>
> Adding a fixed device path would work for me maybe (how?),
> but that would obviously not be upstream-able.  Anyone got a smarter idea?
>

We have MM_PLUGIN_ALLOWED_VENDOR_STRINGS for that very specific
purpose. During port probing, MM will try to match the provided vendor
strings against the vendor string reported by the module.

Could you try with the patch in the following merge request?
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/131

It should work as long as the module reports "quectel" as vendor string.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list