2006-08-18 01:18:42

by lamikr

[permalink] [raw]
Subject: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

Add gsm phone support for the mixer in tsc2101 alsa driver. This allows
selecting cellphone for the playback target via alsa mixer interface.
Selection will connect gsm module to speaker and microphone allowing the
user to speak to phone and listen the opponents voice. Tested in ipaq
h63xx by using gomunicator as an application. Tux wanna call home, and
now Tux can finally call home :-)

Signed-off-by: Mika Laitio <[email protected]>



Attachments:
0005-add-gsm-phone-support-for-tsc2101-alsa-driver-mixer.patch (12.08 kB)

2006-09-05 15:18:36

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

* lamikr <[email protected]> [060818 04:19]:
> Add gsm phone support for the mixer in tsc2101 alsa driver. This allows
> selecting cellphone for the playback target via alsa mixer interface.
> Selection will connect gsm module to speaker and microphone allowing the
> user to speak to phone and listen the opponents voice. Tested in ipaq
> h63xx by using gomunicator as an application. Tux wanna call home, and
> now Tux can finally call home :-)

Cool that you got the phone features working :)

Tony

2006-09-06 20:07:35

by lamikr

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.


>> now Tux can finally call home :-)
>>
>
> Cool that you got the phone features working :)
>
Yes, and gprs is also working nicely with the pppd so I can finally
start eating dog food :-)
Some problems there still are

1) As we do not yet have any kind of multiplexing support to gsm module
(currently directly accesing dev/ttyS1 for at commands)
our phone app is not able to run simultaneously with the ppp. I am not
sure should I resolve this in the kernel space or user space.

2) I can not suspend/resume by using power button but we have still
problem from waking up the iPAQ
from suspend for the incoming calls.
So far I have tried to enable UART2 wakeup by using

level2_wake |= OMAP_IRQ_BIT(INT_MPUIO);

in omap_pm_wakeup_setup() method of plat-omap/pm.c but did not have
success with that.
Could you have any idea for this one?

Mika

2006-09-08 13:44:22

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

Hi!

> >> now Tux can finally call home :-)
> >>
> >
> > Cool that you got the phone features working :)
> >
> Yes, and gprs is also working nicely with the pppd so I can finally
> start eating dog food :-)
> Some problems there still are
>
> 1) As we do not yet have any kind of multiplexing support to gsm module
> (currently directly accesing dev/ttyS1 for at commands)
> our phone app is not able to run simultaneously with the ppp. I am not
> sure should I resolve this in the kernel space or user space.

Userspace, I'd say. I've seen that package (google for gsm 07.14,
IIRC), but could not get it to work.

Pavel
--
Thanks for all the (sleeping) penguins.

2006-09-25 11:42:14

by Vladimir

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

> 1) As we do not yet have any kind of multiplexing support to gsm module
> (currently directly accesing dev/ttyS1 for at commands)
> our phone app is not able to run simultaneously with the ppp. I am not
> sure should I resolve this in the kernel space or user space.
>

I work on getting linux running on Siemens SX1 mobile phone.
and I use GSM multiplexer daemon from here -
http://developer.berlios.de/projects/gsmmux/
it works fine for me.

2006-09-25 16:13:20

by lamikr

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

Vladimir wrote:
>> 1) As we do not yet have any kind of multiplexing support to gsm module
>> (currently directly accesing dev/ttyS1 for at commands)
>> our phone app is not able to run simultaneously with the ppp. I am not
>> sure should I resolve this in the kernel space or user space.
>>
>
> I work on getting linux running on Siemens SX1 mobile phone.
> and I use GSM multiplexer daemon from here -
> http://developer.berlios.de/projects/gsmmux/
> it works fine for me.
Have you tried to use pppd over that?
Currently the userspace apps are not in handy enought shape and we need
for example to close the phone app
(http://xanadux.cvs.sourceforge.net/xanadux/gomunicator/)
before establishing gprs connection with pppd.
(http://www.handhelds.org/moin/moin.cgi/hpipaqh6300gprs)

Mika


2006-09-25 17:12:52

by Vladimir

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

25.09.06 ? 20:12 lamikr wrote:

> Vladimir wrote:
>>> 1) As we do not yet have any kind of multiplexing support to gsm module
>>> (currently directly accesing dev/ttyS1 for at commands)
>>> our phone app is not able to run simultaneously with the ppp. I am not
>>> sure should I resolve this in the kernel space or user space.
>>>
>>
>> I work on getting linux running on Siemens SX1 mobile phone.
>> and I use GSM multiplexer daemon from here -
>> http://developer.berlios.de/projects/gsmmux/
>> it works fine for me.
> Have you tried to use pppd over that?

No, I havn`t tried pppd yet. I am still implementing IPC protocols with
modem that control sound,battery etc.
But sending plain AT commands works fine.

> Currently the userspace apps are not in handy enought shape and we need
> for example to close the phone app
> (http://xanadux.cvs.sourceforge.net/xanadux/gomunicator/)
> before establishing gprs connection with pppd.
> (http://www.handhelds.org/moin/moin.cgi/hpipaqh6300gprs)

I am still far from such userspace support :)

>
> Mika
>
>


2006-09-26 19:45:57

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

Hi!

> >1) As we do not yet have any kind of multiplexing
> >support to gsm module
> >(currently directly accesing dev/ttyS1 for at commands)
> >our phone app is not able to run simultaneously with
> >the ppp. I am not
> >sure should I resolve this in the kernel space or user
> >space.
> >
>
> I work on getting linux running on Siemens SX1 mobile
> phone.

Do you have web pages with current state somewhere? SX1 should be
*cheap* toy for experiments...
Pavel
--
Thanks for all the (sleeping) penguins.

2006-09-26 20:25:45

by Vladimir

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

>> >
>>
>> I work on getting linux running on Siemens SX1 mobile
>> phone.
>
> Do you have web pages with current state somewhere? SX1 should be
> *cheap* toy for experiments...
> Pavel

Sure:
http://www.handhelds.org/moin/moin.cgi/SiemensSX1

2006-09-26 20:48:32

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 5/5] Add gsm phone support for the mixer in tsc2101 alsa driver.

Hi!

> >>I work on getting linux running on Siemens SX1 mobile
> >>phone.
> >
> >Do you have web pages with current state somewhere? SX1 should be
> >*cheap* toy for experiments...

I googled a bit, and its price in czech republic is ~$100..$140.

> Sure:
> http://www.handhelds.org/moin/moin.cgi/SiemensSX1

Thanks! ...so you were able to get most of stuff working, but do not
have qt/gpe working, and probably do not have suspend working so
battery life is really bad, right?

OTOH you can dual boot with symbian... so battery life is not _as_ bad
problem. Do you need windows machine to apply patch allowing you to
run uboot? Is there easy way to tell difference between 32MB and 24MB
sx1's? Getting 24MB part would spoil all the fun, I'm afraid...

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html