Ability to address SIM by UID name
< I originally submitted this just as the ModemManager repo was being moved to gitlab, so I suspect it might've been lost. Or maybe it's unwanted. Just in case, here it is again. >
The ability to assign a custom name to a modem e.g. by path via ID_MM_PHYSDEV_UID
is highly useful. Here at $work we also wanted the convenience of the same for SIM information, rather than first having to call mmcli -m somename
, grab the SIM path and issue a second mmcli -i /path/to/sim
command. Attached is the patch we use for this, modeled on the behaviour of mmcli -m
(but certainly a "monkey-see,monkey-do" job :) ). Patch originally for the 1.8 branch, but applied easily with some offset on 1.10.