Re: Car Mode Application...

2008-05-28 Thread Joerg Reisenweber
Am Mi  28. Mai 2008 schrieb Staley, Daniel L:
> One question I still have though: Is it possible to catch the incoming call 
> signal from the GSM modem before the dialer app gets it, and handle all the 
> call stuff in my app?  Will I need to rework all of the call taking code?  
> Or is there an interface into the current call taking code that I can talk 
> to, possibly over dbus?

The way I understand it (I'm *NO* OM-sw-guy!) the gsmd will start the dialer 
app on inbound call, then communicate with it over dbus. probably you 
can "kick out" the original dialer and have gsmd start your app instead. I 
think it shouldn't be rocket science to have this even configurable to switch 
profiles on the fly. Not sure anyway if the original dialer has some methods 
to talk to via dbus, but in the end it's called "bus", so probably you even 
can register for the same events like dialer and talk to gsmd concurrently to 
dialer, which shouldn't have to say much as long as it's not triggered by 
user-interaction.
Again, please note: I have not the slightest idea yet of all this, just doing 
hw for gta03+, no time for recent sw ;-)

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Car Mode Application...

2008-05-28 Thread Staley, Daniel L
Bluetooth headset is not bad.  It's certainly still useable.
Hmmmso it isnt advised to use the headset jack and the external speakers at 
the same timeI'm wondering, do all sounds get routed to the headset device 
when it is plugged in?  If it doesnt do this, surely we can configure 
pulseaudio to?

As for the FM transmitter, I was just going have something like this: 
http://www.google.com/products/catalog?hl=en&rls=com.microsoft:en-us&q=FM+transmitter&um=1&cid=8369282666750210988

So ideally, I'm going to have the car charger plugged into the usb port, the FM 
transmitter plugged into the headphone jack, a GPS antenna connected to the 
antenna port, and a bluetooth headset paired with it via bluetooth.  Haha!

It's good to hear there are no feasable problems initially.  I'm finishing up a 
different project I'm working on right now, and will start drawing up code flow 
diagrams etc soon.

One question I still have though: Is it possible to catch the incoming call 
signal from the GSM modem before the dialer app gets it, and handle all the 
call stuff in my app?  Will I need to rework all of the call taking code?  Or 
is there an interface into the current call taking code that I can talk to, 
possibly over dbus?

-Dan Staley


From: Joerg Reisenweber [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2008 12:53 AM
To: community@lists.openmoko.org
Cc: Staley, Daniel L
Subject: Re: Car Mode Application...

Am Di  27. Mai 2008 schrieb Staley, Daniel L:
> * If someone calls while the program is running, ideally I would like the
> program to pause all music etc and say "Incoming call from Fred" and display
> 2 large buttons "Ignore" and "Accept."  If accept is pressed, I want the
> phone to go into speakerphone mode, but still to route the audio to the car
> speakers.  I'm wondering if it would be possible to cancel out the repeating
> of the caller's audio back into the microphone?  I'm not up to date on my
> noise cancellation techniques ;).   If this doesnt seem plausable, just
> going into speakerphone mode, or talking through a bluetooth headset will be
> acceptable.

I think there's a decent amount of feedback killing in the GSM-module, like in
every cellphone (just has to be setup correctly), as well as in your
GSM-provider's gateway.
Furthermore you may preprocess the sound prior to routing it to the
GSM-module, by some echo-suppressor/echo-canceler.
But I think you won't be happy with the built-in mic, for usage far from
speaker in a noisy car. Probably a BT-headset is the better solution. There
are BT-speaker&mic-devices for integration in your seat's head-support,
probably worth to try.
(just a note: you must not use Freerunner speaker and headset connector
concurrently. At least using the speaker will produce unpredictable volume on
left ear channel of wired headset. Sorry I was to late to stop this for
GTA02 - wonder about ringtones :-/ When I forget to pull out the headphones
when throwing FR on the table; or when I connect FR to my stereo to play
music and a call comes in...)

The rest sounds good to me. Just curious about the FM-connection to your
car-radio... And you will need a car-USB-charger ;-)

cheers
jOERG

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-28 Thread ramsesoriginal
Tadaaa.. the missing piece for the perfect Freerunner..

On Tue, May 27, 2008 at 8:24 PM, "Marco Trevisan (Treviño)"
<[EMAIL PROTECTED]> wrote:
> ramsesoriginal wrote:
>>
>> Sounds all pretty intresting. The only problem I see is that 'till now
>> we only have a location, but not a navigation app (even if that
>> shouldn't be a probelm, when we have reliable maps).
>
> Why not?
> Navit [1] should do the work...!
>
>
> [1] http://www.navit-project.org/
>
> --
> Treviño's World - Life and Linux
> http://www.3v1n0.net/
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
My corner of the web: http://blog.ramsesoriginal.org

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-28 Thread Joerg Reisenweber
Am Di  27. Mai 2008 schrieb Staley, Daniel L:
> * If someone calls while the program is running, ideally I would like the 
> program to pause all music etc and say "Incoming call from Fred" and display 
> 2 large buttons "Ignore" and "Accept."  If accept is pressed, I want the 
> phone to go into speakerphone mode, but still to route the audio to the car 
> speakers.  I'm wondering if it would be possible to cancel out the repeating 
> of the caller's audio back into the microphone?  I'm not up to date on my 
> noise cancellation techniques ;).   If this doesnt seem plausable, just 
> going into speakerphone mode, or talking through a bluetooth headset will be 
> acceptable.

I think there's a decent amount of feedback killing in the GSM-module, like in 
every cellphone (just has to be setup correctly), as well as in your 
GSM-provider's gateway. 
Furthermore you may preprocess the sound prior to routing it to the 
GSM-module, by some echo-suppressor/echo-canceler.
But I think you won't be happy with the built-in mic, for usage far from 
speaker in a noisy car. Probably a BT-headset is the better solution. There 
are BT-speaker&mic-devices for integration in your seat's head-support, 
probably worth to try.
(just a note: you must not use Freerunner speaker and headset connector 
concurrently. At least using the speaker will produce unpredictable volume on 
left ear channel of wired headset. Sorry I was to late to stop this for 
GTA02 - wonder about ringtones :-/ When I forget to pull out the headphones 
when throwing FR on the table; or when I connect FR to my stereo to play 
music and a call comes in...)

The rest sounds good to me. Just curious about the FM-connection to your 
car-radio... And you will need a car-USB-charger ;-)

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-27 Thread Fabian Off
Am Dienstag, 27. Mai 2008 17:08:04 schrieb Staley, Daniel L:
> So now that the freerunner is almost upon us (my friends will be glad when
> it finally comes out after a year of telling them "a couple months from now
> I'll have it!"),  I have thought about what my first project is going to
> be.
>

> If no one says that it would be impossible for some reason, I'll probably
> start drawing up some test cases, examples screens, and basic code flow.
>
> -Dan Staley

Well, why not create a new project on projects.openmoko.org?
I'd really like to see your great ideas organized and well documented, as I 
really can understand what you're planning to do. My goals with the 
Freerunner are as well using it in the car and thus replacing my oldschool, 
navi and radio only 'thing' in my car. 

It would also be great if incoming messages (being SMS, email, MMS, IM or 
whateverelse) were scrolled on the screen in big sized font. (Maybe a 
confirmation: Press AUX to view new message(s))
So, you (or your friends in the car) may read what you got and thus you can 
drive without being disturbed by incoming messages.

-- 
Greetings,
Fabian Off


___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Car Mode Application...

2008-05-27 Thread Staley, Daniel L
Oh I'm not looking to replace TangoGPS.  I've been following his project since 
he first released it on my Neo, and I've been very impressed.  However, I dont 
believe (correct me if I'm wrong Marcus) that it does directions or has a way 
for me to easily interface with it in another application.  The app I'm looking 
to work on will not have anywhere near the overall amount of GPS features that 
TangoGPS has.  Navit will better integrate into what I'm looking at doing 
because of the dbus-interface interaction and it's ability to be integrated 
into other programs.

-Dan Staley


From: Kosa [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 4:27 PM
To: List for Openmoko community discussion
Subject: Re: Car Mode Application...

That looks nice, but what about the TangoGPS?

Marcus? It's been a while since we last heard of it on the list,
Are you still working on it?

Cheers and happy waiting.

Kosa

- Un mundo mejor es posible -


On 27/05/2008, at 01:24 p.m., Marco Trevisan (Treviño) wrote:

> ramsesoriginal wrote:
>> Sounds all pretty intresting. The only problem I see is that 'till
>> now
>> we only have a location, but not a navigation app (even if that
>> shouldn't be a probelm, when we have reliable maps).
>
> Why not?
> Navit [1] should do the work...!
>
>
> [1] http://www.navit-project.org/
>
> --
> Treviño's World - Life and Linux
> http://www.3v1n0.net/
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-27 Thread Vinc Duran
I'm not completely certain but I don't think TangoGPS does routing. I think
Navit was written with cars in mind. TangoGPS will keep track of your
friends.

On Tue, May 27, 2008 at 2:27 PM, Kosa <[EMAIL PROTECTED]> wrote:

> That looks nice, but what about the TangoGPS?
>
> Marcus? It's been a while since we last heard of it on the list,
> Are you still working on it?
>
> Cheers and happy waiting.
>
> Kosa
>
> - Un mundo mejor es posible -
>
>
>
> On 27/05/2008, at 01:24 p.m., Marco Trevisan (Treviño) wrote:
>
>  ramsesoriginal wrote:
>>
>>> Sounds all pretty intresting. The only problem I see is that 'till now
>>> we only have a location, but not a navigation app (even if that
>>> shouldn't be a probelm, when we have reliable maps).
>>>
>>
>> Why not?
>> Navit [1] should do the work...!
>>
>>
>> [1] http://www.navit-project.org/
>>
>> --
>> Treviño's World - Life and Linux
>> http://www.3v1n0.net/
>>
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-27 Thread Kosa

That looks nice, but what about the TangoGPS?

Marcus? It's been a while since we last heard of it on the list,
Are you still working on it?

Cheers and happy waiting.

Kosa

- Un mundo mejor es posible -


On 27/05/2008, at 01:24 p.m., Marco Trevisan (Treviño) wrote:


ramsesoriginal wrote:
Sounds all pretty intresting. The only problem I see is that 'till  
now

we only have a location, but not a navigation app (even if that
shouldn't be a probelm, when we have reliable maps).


Why not?
Navit [1] should do the work...!


[1] http://www.navit-project.org/

--
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Car Mode Application...

2008-05-27 Thread Staley, Daniel L
This project looks to be exactly what I need to integrate with!  It even takes 
commands over dbus!
Well that sounds like a good starting point.  Does anyone know if the media 
player currently implemented takes start/stop commands from dbus?  If not 
(which im assuming from the state it was in last time I tried it on my Neo 1973 
probably not) is it hard to get pulseaudio to play music atm?  I havent messed 
with it much.

-Dan Staley


From: "Marco Trevisan (Treviño)" [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 2:24 PM
To: community@lists.openmoko.org
Subject: Re: Car Mode Application...

ramsesoriginal wrote:
> Sounds all pretty intresting. The only problem I see is that 'till now
> we only have a location, but not a navigation app (even if that
> shouldn't be a probelm, when we have reliable maps).

Why not?
Navit [1] should do the work...!


[1] http://www.navit-project.org/

--
Treviño's World - Life and Linux
http://www.3v1n0.net/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-27 Thread Marco Trevisan (Treviño)

ramsesoriginal wrote:

Sounds all pretty intresting. The only problem I see is that 'till now
we only have a location, but not a navigation app (even if that
shouldn't be a probelm, when we have reliable maps).


Why not?
Navit [1] should do the work...!


[1] http://www.navit-project.org/

--
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-27 Thread Kyle Gordon

Staley, Daniel L wrote:

So now that the freerunner is almost upon us (my friends will be glad when it finally 
comes out after a year of telling them "a couple months from now I'll have 
it!"),  I have thought about what my first project is going to be.

Being the nerd and impulsive buyer I am, I have bought a wireless bluetooth keyboard 
(perfect for the freerunner i think... 
http://www.amazon.com/Stowaway-Ultra-Slim-Bluetooth-Blackberry-Handhelds/dp/B0002OKCXE ) 
for programming on the go, an external GPS antenna with a magnetic end to boost my GPS 
reception in the car, and finally a car "phone/GPS dash holder" to have a place 
to set my freerunner while driving.

  
It all sounds rather fantastic to be honest. I'm no programmer, but I'd 
happily test out revisions for you :-) I need to get a FreeRunner first 
though...


It would be great to have a routing app that integrates with, say, 
OpenStreetMap. One that could also be used to store tracks and upload 
them if the road isn't in their database already. I have this fanciful 
vision of GPS units like FreeRunner (or Dash for that matter) using Open 
Source data from OSM to do routing, whilst load balancing roads and 
routes by the servers being aware of traffic flows and optimal routes 
for that time of day (similar to dash.net really). Where roads aren't 
present, the GPS traces get uploaded on the fly, and one way systems can 
be automatically determined by traffic rates and flow


We can dream, but this certainly sounds like a step there :-)

Kyle

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-27 Thread ramsesoriginal
Sounds all pretty intresting. The only problem I see is that 'till now
we only have a location, but not a navigation app (even if that
shouldn't be a probelm, when we have reliable maps).

In what language/toolkit do you plan to work?

On Tue, May 27, 2008 at 5:08 PM, Staley, Daniel L <[EMAIL PROTECTED]> wrote:
> So now that the freerunner is almost upon us (my friends will be glad when it 
> finally comes out after a year of telling them "a couple months from now I'll 
> have it!"),  I have thought about what my first project is going to be.
>
> Being the nerd and impulsive buyer I am, I have bought a wireless bluetooth 
> keyboard (perfect for the freerunner i think... 
> http://www.amazon.com/Stowaway-Ultra-Slim-Bluetooth-Blackberry-Handhelds/dp/B0002OKCXE
>  ) for programming on the go, an external GPS antenna with a magnetic end to 
> boost my GPS reception in the car, and finally a car "phone/GPS dash holder" 
> to have a place to set my freerunner while driving.
>
> I decided that I am going to try to implement a program that will give me the 
> most functionallity possible while driving...therefore (this may be wishful 
> thinking...so please tell me if something sounds impossible):
>
> (First plug in an FM transmitter to the freerunner's headphone jack to 
> transmit all sounds to the car stereo)
> * Play music and/or podcasts while scrolling the name of the current song 
> across the screen
>
> * Press a rather large button in the bottom right corner of the screen to 
> switch from music mode into direction mode.  In direction mode, the screen 
> displays Either a Large arrow pointing the direction of your location, or 
> displays the next road that needs to be turned on and how close it is in 
> large text. (Music/Voice from other modes should still be played while the 
> GUI displays this).  When the road approaches, the program should cut out the 
> music for a moment and use freeTTS to read something like "Turn right on 
> Lovelaceville Road.".  (The directions would of course have to have been 
> downloaded from wlan or GPRS)
>
> * If someone calls while the program is running, ideally I would like the 
> program to pause all music etc and say "Incoming call from Fred" and display 
> 2 large buttons "Ignore" and "Accept."  If accept is pressed, I want the 
> phone to go into speakerphone mode, but still to route the audio to the car 
> speakers.  I'm wondering if it would be possible to cancel out the repeating 
> of the caller's audio back into the microphone?  I'm not up to date on my 
> noise cancellation techniques ;).   If this doesnt seem plausable, just going 
> into speakerphone mode, or talking through a bluetooth headset will be 
> acceptable.
>
> * Once the voice recognition SoC project is done, I'd also like to interface 
> with that to implement voice commands for the program such as "Moko, next 
> song" or "Moko, take call", or even "Moko, new destination" (followed by the 
> new destination so that typing it in prior to driving would not be nessiary.)
>
> What do you guys think?  Possible?  Are the interrupts sent from the GSM 
> modem on incoming call possible to catch before the dialer app gets them?  
> Would it be possible to get the voice cancellation good enough to implement 
> the phone over car speaker feature?  And finallywould anyone else be 
> interested in joining the project?
>
> If no one says that it would be impossible for some reason, I'll probably 
> start drawing up some test cases, examples screens, and basic code flow.
>
> -Dan Staley
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
My corner of the web: http://blog.ramsesoriginal.org

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Car Mode Application...

2008-05-27 Thread Vinc Duran
Sounds like something I'd enjoy too!
Someone, somewhere in openmoko world wrote something about this and
suggested using a bluetooth headset for instructions receiving instructions
from the gps. This could be a good alternative.
Vinc

On Tue, May 27, 2008 at 9:08 AM, Staley, Daniel L <[EMAIL PROTECTED]> wrote:

> So now that the freerunner is almost upon us (my friends will be glad when
> it finally comes out after a year of telling them "a couple months from now
> I'll have it!"),  I have thought about what my first project is going to be.
>
> Being the nerd and impulsive buyer I am, I have bought a wireless bluetooth
> keyboard (perfect for the freerunner i think...
> http://www.amazon.com/Stowaway-Ultra-Slim-Bluetooth-Blackberry-Handhelds/dp/B0002OKCXE)
>  for programming on the go, an external GPS antenna with a magnetic end to
> boost my GPS reception in the car, and finally a car "phone/GPS dash holder"
> to have a place to set my freerunner while driving.
>
> I decided that I am going to try to implement a program that will give me
> the most functionallity possible while driving...therefore (this may be
> wishful thinking...so please tell me if something sounds impossible):
>
> (First plug in an FM transmitter to the freerunner's headphone jack to
> transmit all sounds to the car stereo)
> * Play music and/or podcasts while scrolling the name of the current song
> across the screen
>
> * Press a rather large button in the bottom right corner of the screen to
> switch from music mode into direction mode.  In direction mode, the screen
> displays Either a Large arrow pointing the direction of your location, or
> displays the next road that needs to be turned on and how close it is in
> large text. (Music/Voice from other modes should still be played while the
> GUI displays this).  When the road approaches, the program should cut out
> the music for a moment and use freeTTS to read something like "Turn right on
> Lovelaceville Road.".  (The directions would of course have to have been
> downloaded from wlan or GPRS)
>
> * If someone calls while the program is running, ideally I would like the
> program to pause all music etc and say "Incoming call from Fred" and display
> 2 large buttons "Ignore" and "Accept."  If accept is pressed, I want the
> phone to go into speakerphone mode, but still to route the audio to the car
> speakers.  I'm wondering if it would be possible to cancel out the repeating
> of the caller's audio back into the microphone?  I'm not up to date on my
> noise cancellation techniques ;).   If this doesnt seem plausable, just
> going into speakerphone mode, or talking through a bluetooth headset will be
> acceptable.
>
> * Once the voice recognition SoC project is done, I'd also like to
> interface with that to implement voice commands for the program such as
> "Moko, next song" or "Moko, take call", or even "Moko, new destination"
> (followed by the new destination so that typing it in prior to driving would
> not be nessiary.)
>
> What do you guys think?  Possible?  Are the interrupts sent from the GSM
> modem on incoming call possible to catch before the dialer app gets them?
>  Would it be possible to get the voice cancellation good enough to implement
> the phone over car speaker feature?  And finallywould anyone else be
> interested in joining the project?
>
> If no one says that it would be impossible for some reason, I'll probably
> start drawing up some test cases, examples screens, and basic code flow.
>
> -Dan Staley
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community