[PATCH] telit: support RS232 modems

Daniele Palmas dnlplm at gmail.com
Thu Mar 16 09:57:51 UTC 2017


Hi Aleksander (resending with all included),

2017-03-13 20:05 GMT+01:00 Aleksander Morgado <aleksander at aleksander.es>:
> On Mon, Mar 13, 2017 at 6:29 PM, Daniele Palmas <dnlplm at gmail.com> wrote:
>>> With this patch on, a Telit RS232 modem still needs the udev tag in
>>> the appropriate port to get it grabbed by the Telit plugin. Without
>>> this patch, the telit plugin would not grab this patch even if the
>>> udev tag is set because the vid/pid filter would filter it out.
>>>
>>
>> It seems good to me, since, as far as I understand it looks like the
>> only way for using use a Telit RS232-based modem: if needed I can do a
>> quick test with one of those modems.
>
> I've tested this already with a Telit LE866, but I wouldn't mind
> additional tests. Remember: you need the ID_MM_TELIT_TAGGED udev tag,
> and if you're using a RS232<->USB adapter, you can request probing of
> the device manually with "mmcli -S".
>

Hi Aleksander,

2017-03-13 20:05 GMT+01:00 Aleksander Morgado <aleksander at aleksander.es>:
> On Mon, Mar 13, 2017 at 6:29 PM, Daniele Palmas <dnlplm at gmail.com> wrote:
>>> With this patch on, a Telit RS232 modem still needs the udev tag in
>>> the appropriate port to get it grabbed by the Telit plugin. Without
>>> this patch, the telit plugin would not grab this patch even if the
>>> udev tag is set because the vid/pid filter would filter it out.
>>>
>>
>> It seems good to me, since, as far as I understand it looks like the
>> only way for using use a Telit RS232-based modem: if needed I can do a
>> quick test with one of those modems.
>
> I've tested this already with a Telit LE866, but I wouldn't mind
> additional tests. Remember: you need the ID_MM_TELIT_TAGGED udev tag,
> and if you're using a RS232<->USB adapter, you can request probing of
> the device manually with "mmcli -S".
>

Tested with GL865 and working fine

daniele at L2122:~$ mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id
'e31ff4d485c411511410e55f1f682373f9f68e2f')
 -------------------------
 Hardware |   manufacturer: 'Telit'
          |          model: 'GL865-QUAD'
          |       revision: '10.01.143'
          |      supported: 'gsm-umts'
          |        current: 'gsm-umts'
          |   equipment id: '356308040051861'
 -------------------------
 System   |         device: '/sys/devices/pnp0/00:05'
          |        drivers: 'serial'
          |         plugin: 'Telit'
          |   primary port: 'ttyS0'
          |          ports: 'ttyS0 (at)'
 -------------------------
 Numbers  |           own : '9876543210'
 -------------------------
 Status   |           lock: 'none'
          | unlock retries: 'unknown'
          |          state: 'connected'
          |    power state: 'on'
          |    access tech: 'unknown'
          | signal quality: '61' (recent)
 -------------------------
 Modes    |      supported: 'allowed: 2g; preferred: none'
          |        current: 'allowed: 2g; preferred: none'
 -------------------------
 Bands    |      supported: 'egsm, dcs, pcs, g850'
          |        current: 'egsm, dcs'
 -------------------------
 IP       |      supported: 'ipv4, ipv6'
 -------------------------
 3GPP     |           imei: '356308040051861'
          |  enabled locks: 'none'
          |    operator id: '22201'
          |  operator name: 'I TIM'
          |   subscription: 'unknown'
          |   registration: 'home'
 -------------------------
 SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

 -------------------------
 Bearers  |          paths: '/org/freedesktop/ModemManager1/Bearer/0'

> --
> Aleksander
> https://aleksander.es


More information about the ModemManager-devel mailing list