Re: Launcher Release svn r89

2009-12-06 Thread Ali
On Sat, 2009-12-05 at 10:04 -0800, c_c wrote:
 Hi,
   Here's the latest release of launcher to work on shr-u. Enjoy!
 
 http://n2.nabble.com/file/n4118565/shr-launcher_local-r0.4_armv4t.ipk
 shr-launcher_local-r0.4_armv4t.ipk 
 ...

On shr-u with latest opkg update/upgrade there are a bunch of new
libraries. After symlinking the ones launcher looks for, launcher runs
for a few secs (usually untill updating sms data) then segfaults :(


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


Re: Launcher Release svn r89

2009-12-06 Thread c_c

Hi,

Alishams Hassam-2 wrote:
 
 On shr-u with latest opkg update/upgrade there are a bunch of new
 libraries. After symlinking the ones launcher looks for, launcher runs
 for a few secs (usually untill updating sms data) then segfaults :(
 
  Well, there have been some changes to data returned over the dbus from
opim. I've fixed the bugs (hopefully) but the changes to the elementary/e
files has thrown my bitbake config off. Trying to get it working. 
  I'll upload a fixed version soon.
 Thanks for the feedback.
-- 
View this message in context: 
http://n2.nabble.com/Launcher-Release-svn-r89-tp4118565p4120997.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Is sharing sound of mplayer output and speech-dispatcher to bluetooth device possible?

2009-12-06 Thread Lothar Behrens
Hi,

I would again ask if there has been any success to let navit speak to  
bluetooth headset?

Or if anyone has got speech-dispatcher to use bluetooth device.

I am able to play sound (mplayer + pm3 files) to A2DP. But I am not  
sure if both would work (when navit will speak, mplayer should pause).

Below, you will see how I start playing mp3 files over A2DP.

May it only missing something to do the same for navit?
Could I share playing mp3 and navit speech?
Can I extend the setup to also support redirecting speech-dispatcher  
output to bluetooth?

Is eventually kill -STOP mplayer, spd-say ..., kill -CONT mplayer  
an option to recognize navit saying something?

Start playing my playlist (random)

#!/bin/sh
killall -SIGQUIT mplayer

/home/root/setup-bluetooth-audio.sh
rm playlist-sorted.m3u
rm playlist.m3u
find /media/card/Musik -name *.mp3  /home/root/playlist-sorted.m3u
/home/root/scramble.py /home/root/playlist-sorted.m3u  /home/root/ 
playlist.m3u

mplayer -ao alsa:device=bluetooth -playlist /home/root/playlist.m3u 

sleep 3
# Helps a little bit to avoid 'gaps' in the voice. But not all  
problems are gone. Especially in car (when it is very hot) the 'gaps'  
reappear??
renice -19 `ps ax | grep mplayer | grep -Ev grep|Unknown | awk --  
'BEGIN {}{ print $1;}'`
renice -19 `ps ax | grep kmmcd | grep -Ev grep|Unknown | awk --  
'BEGIN {}{ print $1;}'`
renice -19 `ps ax | grep -E SDIO Helper | grep -Ev grep|Unknown |  
awk -- 'BEGIN {}{ print $1;}'`


#scramble.py
#!/usr/bin/env python
import sys, random
filename = sys.argv[1]
a = open(filename).read().strip().split(\n)
random.shuffle(a)
for i in a:
 print i


#/home/root/setup-bluetooth-audio.sh
!/bin/sh

export DEVICE=00:1D:82:04:AA:40

/etc/init.d/bluetooth stop
/etc/init.d/bluetooth start

sleep 1
passkey-agent --default  

/home/root/SetHeadSetDefault.py

#/home/root/SetHeadSetDefault.py
!/usr/bin/python
import dbus
bus = dbus.SystemBus()
manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'),  
'org.bluez.Manager')
conn = manager.ActivateService('audio')
audio = dbus.Interface(bus.get_object(conn, '/org/bluez/audio'),  
'org.bluez.audio.Manager')
path = audio.CreateDevice('00:1D:82:04:AA:40')
audio.ChangeDefaultDevice(path)
print path
sink = dbus.Interface(bus.get_object(conn, path),  
'org.bluez.audio.Sink')
sink.Connect()

It would be a nice feature :-)

Thanks

Lothar

Am 18.02.2009 um 14:18 schrieb Lothar Behrens:

 See below...

 Am 15.02.2009 um 22:45 schrieb Rask Ingemann Lambertsen:

 On Thu, Jan 22, 2009 at 09:38:41PM +0100, Lothar Behrens wrote:
 Has no one got the output of speech-dispatcher into a bouetooth  
 headset ?

 Using mplayer -ao alsa:device=bluetooth works, but not spd-say. It
 always comes out of the speaker.

   What does the speech-dispatcher documentation say about selecting  
 a sound
 card for output?

 I havent found anyting usefull in the documentation or in the  
 configuration files.



   Also try some of the stuff from the wiki:
 http://wiki.openmoko.org/wiki/ 
 Neo_1973_audio_subsystem#Driver_Status_3

   Specifically these:

 http://wiki.openmoko.org/images/3/3d/Btcpu_gta02.state.txt
 http://handheldshell.com/bluetooth_pcm
 http://opensource.wolfsonmicro.com/~gg/bluetooth-pcm/bluetooth_pcm.c

   Usage would be something like this:

 $ alsactl restore -f Btcpu_gta02.state.txt
 $ ./bluetooth_pcm 
 [play some sound here]

 using 'spd-say Hello' doesn't plays anything on my BT device.


 $ killall bluetooth_pcm


 Here it plays again on the internal speaker.

   The interesting controls of the state file are these:

 20 'Sidetone Capture Volume' - 0 (increase as needed).
 64 'Capture Right Mux' - 'Sidetone' to route playback mixer sound  
 into right ADC.
 66 'Capture Right Mixer' - 'Analogue Mix Right' to record right  
 channel
   from right ADC.
 67 'Capture Left Mixer' - 'Analogue Mix Right' to record left  
 channel
   also from right ADC.
 68 'Playback Mixer Voice Capture Sw' - false to not mix GSM output  
 into the
   sidetone.
 69 'Playback Mixer Left Capture Swi' - true to mix left output  
 into the
   sidetone.
 70 'Playback Mixer Right Capture Sw' - true to mix right output  
 into the
   sidetone.

 (Maybe look at control 22 'Capture Volume' too?)


 Are the settings for the state file above working for you playing  
 'spd-say Hello' without modifying the contents from that link ?

 After looking into the code, is there a need for modifying the  
 device respect to my neo ?

 This is because I call the following python script before I start  
 mplayer with bt support.

 #!/usr/bin/python
 import dbus
 bus = dbus.SystemBus()
 manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'),  
 'org.bluez.Manager')
 conn = manager.ActivateService('audio')
 audio = dbus.Interface(bus.get_object(conn, '/org/bluez/audio'),  
 'org.bluez.audio.Manager')
 path = audio.CreateDevice('00:1D:82:04:AA:40')
 audio.ChangeDefaultDevice(path)
 print path
 sink = 

Re: Newbie - Installing SHR on FreeRunner

2009-12-06 Thread arne anka
 After a reboot, it stucks, saying:
 Unknown boot option `g-ether.host_addr=00:1F:11:01:0B:A3`: ignoring

that messages i of no importance. usually you don't see it or it flashes  
only through.
it looks like the kernel or rather the root filesystem is not found,  
making the bootloader unable to proceed.

- how did you start the first tim? pressed any buttons?
- what bootloader is installed?
- do any leds blink?

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


[shr-latest] fso or phonefsod borked (?) no resume

2009-12-06 Thread Davide Scaini
Hi,
i'm experiencing a strange problem with latest shr-u (with latest
upgrades): after few suspend/resumes (with calipso deep sleep=never) i
have no more gsm connection, and shr settings says that phonefsod is not
running (or in power tab couldn't connect to fso of phonefsod). Even if
I restart both frameworkd and phonefsod i get no gsm connection anymore...
any ideas? (do you want some logs?)
d

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


Re: [Shr-User] [shr-latest] fso or phonefsod borked (?) no resume

2009-12-06 Thread David Vermeille
2009/12/6 Davide Scaini dsca...@gmail.com

 Hi,
 i'm experiencing a strange problem with latest shr-u (with latest
 upgrades): after few suspend/resumes (with calipso deep sleep=never) i
 have no more gsm connection, and shr settings says that phonefsod is not
 running (or in power tab couldn't connect to fso of phonefsod). Even if
 I restart both frameworkd and phonefsod i get no gsm connection anymore...
 any ideas? (do you want some logs?)
 d
 ___
 Shr-User mailing list
 shr-u...@lists.shr-project.org
 http://lists.shr-project.org/mailman/listinfo/shr-user



Hi,

Same problem here.

And sometimes, the PIN dialog don't even show up just after boot.

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


[SHR-U] Navit crash?

2009-12-06 Thread Christ van Willegen
Hi,

Navit on latest SHR-U keeps crashing when I touch the screen. No error
messages are given to the bash prompt. Only 'gdb: not found'.

Does anyone experience the same?

Christ van Willegen

-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: [SHR-U] Navit crash?

2009-12-06 Thread Martin Jansa
On Sun, Dec 06, 2009 at 08:17:13PM +0100, Christ van Willegen wrote:
 Hi,
 
 Navit on latest SHR-U keeps crashing when I touch the screen. No error
 messages are given to the bash prompt. Only 'gdb: not found'.
 
 Does anyone experience the same?
 
 Christ van Willegen

Use navit.xml config from package, if you're using your own, then you
need to update it.. or better use provided configs and you can modify
them directly in /usr/share/navit now they won't be overwritten with
navit update without your ack.

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

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


[SHR-U] BT Keyboard

2009-12-06 Thread Christ van Willegen
Hi everyone,

I'm using a BT keyboard (right now! Yeah!).

During this e-mail, the SHR today screen keeps popping up. Also, the
Illume keyboard keeps popping up (I thought Raster fixed this...).

Is there something I missed?

Christ van Willegen

-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: Launcher Release svn r89

2009-12-06 Thread c_c

Hi,
  Try this.

  http://n2.nabble.com/file/n4123905/shr-launcher_local-r0.4_armv4t.ipk
shr-launcher_local-r0.4_armv4t.ipk 
-- 
View this message in context: 
http://n2.nabble.com/Launcher-Release-svn-r89-tp4118565p4123905.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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