Messages in this thread | | | From | Arun MURTHY <> | Date | Thu, 9 Aug 2012 11:53:12 +0200 | Subject | RE: [PATCHv2 1/4] modem_shm: Add Modem Access Framework |
| |
> On Wed, Aug 08, 2012 at 05:36:05AM +0200, Arun MURTHY wrote: > > > On Tue, Aug 07, 2012 at 12:24:28PM +0530, Arun Murthy wrote: > > > > Adds Modem Access Framework, which allows for registering platform > > > specific > > > > modem access mechanisms. The framework also exposes APIs for > > > > client > > > drivers > > > > for getting and releasing access to modem, regardless of the > > > underlying > > > > platform specific access mechanism. > > > > > > The term "modems" here has a lot of legacy connotations. First of > > > which is, userspace handles this today as tty devices, why aren't > > > you doing the same here? Why does this have to be something > > > "special"? > > > > > > > The main focus over there the modem IPC. > > Over where? > > What "modem IPC"? >
I mean the dir which is added in this patch, "modem_shm" is added to have a separate list of such modem access drivers.
> You need to really explain what you are doing here, as I have no idea. > And I have no idea why you still can't just use a tty device, why can't you? >
Its not that tty can be used or cant be used, but just to separate out the modem related stuff in a separate folder.
> > In doing so, there are some functionality like waking the modem, or > > releasing the modem etc. These will be used by the modem IPC drivers > > and also few others like sim driver and security drivers. > > What's a "sim driver", and what type of "security drivers" are you referring > to?
SIM(Subscriber Identity Module) used in mobiles. TEE(security) driver
> > > Since this is a shared call and hence has to be synchronized. Hence so > > a small framework like is being done to monitor the modem access > > related only operations. > > Again, why can't the tty layer do this for you? >
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.
Thanks and Regards, Arun R Murthy -----------------
| |