On Fri, Jul 05, 2019 at 05:57:05PM -0500, Denis Kenzior wrote:
> Hi Martin,
>
> On 07/03/2019 01:09 PM, Martin Hundebøll wrote:
> > Setup GSM 07.10 multiplexing using the kernel n_gsm line discpline
> > driver, and use the virtual tty devices as Aux and Modem channels.
> >
> > The driver supports rts/cts on the underlying serial device. This is
> > enabled with OFONO_QUECTED_RTSCTS udev environment, e.g.:
> >
> > KERNEL=="ttymxc0", ENV{OFONO_DRIVER}="quectel", \
> > ENV{OFONO_QUECTEL_RTSCTS}="on"
>
> So from what I recall the kernel multiplexer was pretty much hard-coded as
> to how many DLCs you could request and it was up to the driver to do that.
> GAtMux has no such limitations... We tried it with the ifx driver, but in
> the end GAtMux was more flexible. Plus you actually get support for
> multiple devices...
>
> So are you sure you want to use the kernel one?
I would also opt for a way to use the kernel multiplexer. This does not
mean to make the ofono GAtMux obsolete.
Some time ago I also wrote a patch for ofono to use the kernel
multiplexer and it worked quite well. Unfortunately I did not find the
time to clean it up properly for submission.
I choose to use the kernel multiplexer because I had some experience
with it and - well - the ofono one was not flexible enough. ;-) It did
not support the mux parameters I needed.
The number of DLCs in the kernel multiplexer is not hardcoded. It
presents all possible DLCs to userspace (/dev/gsmtty1 - /dev/gsmtty64)
and as soon as an application tries to open that specific file it sets
up the DLC on mux level.
So, besides from the code review comments, count this as my vote for the
kernel multiplexer.
Thanks,
Lars
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono