[PATCH] mbm: don't try to load generic supported modes
Aleksander Morgado
aleksander at aleksander.es
Wed Dec 16 08:58:26 PST 2015
On Wed, Dec 16, 2015 at 5:55 PM, Dan Williams <dcbw at redhat.com> wrote:
> On Wed, 2015-12-16 at 10:27 +0100, Aleksander Morgado wrote:
>> We were trying to load the generic modes supported reported by either
>> *CNTI=2 or
>> AT+WS46=?, so that then we could filter out the MBM-specific modes
>> unsupported.
>>
>> But, this may not be ideal, as both these two commands may fail:
>
> Sounds fine, and both fail on my MD300 with and without a SIM. Perhaps
> instead we could use +CFUN=? and parse the result:
>
> at+cfun=?
> +CFUN: (0,1,4-6)
>
> If we get '6' we know it supports 3G. Even my 2007 era SonyEricsson TM
> -506 which uses mostly the same command set and supports UMTS says:
>
> at+cfun=?
> +CFUN: (0,1,4-6),(0,1)
Now that you checked it; is the CFUN value changed instantly once you
e.g. switch to 3G-only? Tore was trying this today and he saw that
after CFUN=6 the modem went to low-power mode (CFUN=4); pretty weird.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list