On Thu, Apr 30, 2015 at 4:51 PM, Dan Williams <[email protected]> wrote: > On Thu, 2015-04-30 at 16:41 +0200, Florian Klink wrote: >> Am 30.04.2015 um 09:11 schrieb Aleksander Morgado: >> > >> > Do a "mmcli -L" to list all modems, and once you know the index (e.g. >> > "0") do "mmcli -m 0"; that should give you a lot of info. >> > >> >> Btw, is it possible to make the -m parameter optional if there is only >> one modem? >> >> I currently work around my suspend/resume problems by undbinding and >> binding the usb device. Afterwards, the modem reappears in mmcli with a >> new index, which makes it pretty hard to start a simple-connect command >> in an automated way. So I'd really like it if mmcli would always pick >> the first modem if (there is only one and) you didn't specify an index. > > That is a good idea...
Yeah, we should do that. Same for the SIM object; i.e. SIM actions should be available without specifying index if there is a single modem and if the modem has a SIM. -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
