Thread (18 messages) flat view 18 messages, 4 authors, 2012-08-13

Re: [PATCHv2 1/4] modem_shm: Add Modem Access Framework

From: Linus Walleij <hidden>
Date: 2012-08-13 13:33:28
Also in: lkml

On Thu, Aug 9, 2012 at 1:38 PM, Alan Cox [off-list ref] wrote:
quoted
Maybe tty can do this, but want to have all modem related  separately.
There are many such hardware and many drivers coming up in near future.
tty can't do all this. We have similar things with stuff like CAIF. Modem
has gone from pretending to be a serial port (tty) to appearing as a
smart multi-function controller.
I second this, I plead guilty to suggesting to use "modem_shm"
as a layer below because things like CAIF and Phonet are just
growing and growing.

Sure, many of them can emulate AT commands, but that is
not their native tongue, and increasingly any AT command parser
is constrained to userspace which in turn constructs the actually
intended IPC command sequency for doing ATDT555784629568.

These modems are not talking anything resembling a line
discipline, they have their own binary protocol and above are
protocols like CAIF and Phonet talking to the modem, including
IPC to processes running on the other sides, with states.

Sjur is currently working on a future platform where we'll attempt
to bring things closer to existing Linux frameworks using virtio
rings and rpmesg also on the modem side, but the modems Arun
are working on are already deployed with this type of firmware
talking some other IPC lingo.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help