[PATCH] hayes-ril: rename LOGD/E macros to ALOGD/E

Lukas Maerdian luk at slyon.de
Thu May 1 14:35:13 UTC 2014


[I'm resending this to the mailinglist as my previous mail only reached Paul]

Hi

2014-04-12 20:08 GMT+02:00 Paul Kocialkowski <contact at paulk.fr>:
> Le samedi 12 avril 2014 à 19:43 +0200, Dr. H. Nikolaus Schaller a
> écrit :
>> Am 12.04.2014 um 17:23 schrieb Paul Kocialkowski:
>>
>> > I understand the necessity for this, though I want master to work on any
>> > Replicant version, so this won't do.
>> > I think the best way to do it is what I did on Samsung-RIL:
>> > https://gitorious.org/replicant/hardware_ril_samsung-ril/commit/c8408cd2c116b0b99a399282032b6607a1318b84
>> >
>> > Note that I'm not going to work on Hayes-RIL for some time, because I
>> > want to focus on other things first. Hayes-RIL perhaps needs some rework
>> > and is far from complete to this day. I'm basically working on rewriting
>> > Samsung-RIL (since a few months already) and I'll probably use some of
>> > the new concepts introduced there in Hayes-RIL.
>> >
>> > In the future, I'll need Hayes-RIL to work for many different devices:
>> > * GTA04
>> > * Allwinner tablets, that also have option modems apparently
>> > * XMM626 that uses AT (every XMM626 except the ones on Samsung devices)

I see. So maybe I'll have a look at hayes-ril in the future, to see if
I can easily make some features work for the GTA04, but I'll not put
too much effort into it, so we don't waste efforts if the RIL is
replaced/rewritten.

> Indeed, that seems quite ridiculous for implementing a protocol that's
> publicly documented. I was however quite surprised to see that there was
> no quality AT RIL implementation. Every free RIL was basically a quick
> hack over the reference Android RIL, which handles AT in the worst
> possible way and gives no flexibility at all.

I still have the dream of a FSOGSM-RIL. It has a good AT library and a
nice architecture to overwrite some specific commands for specific
modems/devices. Also it already has support for the GTA04 and probably
also will support the Neo900/Pyra. Unfortunately this is a little
problematic, because fsogsm isn't designed as an Android RIL, so one
would need to somehow compile it to a share library and provide a RIL
interface. QtMoko also supports fsogsm, so if we could make fsogsm-ril
happen, we would only need to implement the featureset of a new modem
once, instead of 3 (qtmoko, hayes, fso), or event 4 (+ofono) times.

BR,
  Lukas


More information about the Replicant mailing list