On 23 March 2017 at 02:42, Dan Williams <d...@redhat.com> wrote:
> On Wed, 2017-03-22 at 21:36 +0100, Einar Jón wrote:
>> On 20 March 2017 at 19:33, Dan Williams <d...@redhat.com> wrote:
>> > On Mon, 2017-03-20 at 12:14 +0100, Einar Jón wrote:
>> >
>> > > 4) Is ModemManager 1.4.10 too old? Are there any major
>> > > improvements
>> > > I'm missing from staying on Ubuntu 12.04?
>> >
>> > Obviously we always recommend the most recent released version
>> > (currently 1.6.x) but I can't think of anything specific that 1.4.x
>> > has
>> > that you'd need in terms of bug fixes or features.
>>
>> Good to know. Upgrading would be a pain.
>>

Just a heads-up: QMI adds the reset functionality in 1.6-rc1.
So "mmcli -m0 --reset" will return "operation not supported" in 1.4,
but call a function in 1.6.
I built it on a different platform, and now I get a better response:

--------- old ------
me@ubuntu12:~$ mmcli -V | grep mmcli
mmcli 1.4.10
me@ubuntu12:~$ mmcli -m 1 -r
error: couldn't reset the modem:
'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported:
Cannot reset the modem: operation not supported'

---------- new ---------
[me@armxl ~]$  mmcli -V | grep mmcli
mmcli 1.6.0
[me@armxl ~]$ sleep 30 && mmcli -L | grep Modem
/org/freedesktop/ModemManager1/Modem/1 [QUALCOMM INCORPORATED] 0
[me@armxl ~]$ mmcli -r -m 1
successfully reseted the modem
[me@armxl ~]$ sleep 30 && mmcli -L | grep Modem # number should increase ...
/org/freedesktop/ModemManager1/Modem/2 [QUALCOMM INCORPORATED] 0

Best regards,
Einar Jón
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to