Re: dictator crashes

2010-10-05 Thread Matthias Felsche
I experienced the same on current shr:

r...@om-gta02 ~ # cat /etc/shr-version 
SHR -20101002
Built from branch: org.openembedded.dev
Revision: 5788b22be688b7c2dd2ee9aca853aaff81b75d22

Something seems to go wrong while the window and its widgets is being
displayed.
It's Xorg that receives an Segfault:
Here's the output from /var/log/Xorg.0.log:

[2108227.079] 
Backtrace:
[2108227.080] Segmentation fault at address 0x4e1742
[2108227.080] 
Fatal server error:
[2108227.080] Caught signal 11 (Segmentation fault). Server aborting
[2108227.081] 
[2108227.082] 
Please consult the The X.Org Foundation support 
at http://wiki.x.org
for help. 
[2108227.082] Please also check the log file at /var/log/Xorg.0.log
for additional information.
[2108227.082] 
[2108227.085] (II) Power Button: Close
[2108227.086] (II) UnloadModule: evdev
[2108227.087] (II) AUX Button: Close
[2108227.088] (II) UnloadModule: evdev
[2108227.089] (II) Touchscreen: Close
[2108227.090] (II) UnloadModule: evdev
[2108227.091] (II) UnloadModule: kbd
[2108227.093] (II) AIGLX: Suspending AIGLX clients for VT switch


Nothing more.
I guess it has something to do with pygtk and it's displaying of images
or widgets. Displaying the dictator window without making the widgets
(buttons...) visible works. I have do find out what exactly causes X to
crash. Seems strange.

Thanks for your report.

Does anyone have an idea about what changed during shr-updgrades and
could have possibly caused the error?

Matthias

Am Dienstag, den 05.10.2010, 19:14 +0200 schrieb Alexander Lehner: 
 Hi,
 
 after I successfully installed 'dictator' it now crashes my X-server upon 
 startup.
 I have the latest SHR from Oct/2.
 
 Any ideas?
 
 Alex.
 



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Experiment: better sound on remote end

2009-12-03 Thread Matthias Felsche


Am Mittwoch, den 02.12.2009, 22:04 +0100 schrieb Davide Scaini:
 uhm it seems that dictator uses this scenario
 /usr/share/scenarios/dictator/dictator_rec.state
 so...buh... is there a way to let dictator use standard scenarios?

Recording is done via this state cause with it Dictator can record
gsm-sound too. You could backup dictator_rec.state and overwrite it.
If not, try arecord.
A new version of dictator will be out soon, I hope this year but I
cannot promise anything cause I'm developing it all alone.

cheers 
Matthias

 (just to test this damn alsastate).
 But the question still remains: if i find a nice regulation with
 alsamixer, how do i revert this in the gsmhandset file?
 thanks again
 d
 
 
 r...@1407.org ha scritto:
  Experiment: better sound on remote end
  http://blog.1407.org/2009/12/02/experiment-better-sound-on-remote-end/
  
  One of the problems people complain about my calls from the Freerunner is 
  *bad*sound*.
  Lot's of background noise, static, etc. I'm not talking about the familiar 
  buzz problem,
  as I've had the buzz fix applied to my phone.
  
  http://picasaweb.google.com/RuiMSeabra/DebConf9OpenMokoBuzzFixParty#
  
  However what I found to fix this problem on
  my phone model (GTA02v5 + buzz fix) goes totally against the official 
  information.
  
  http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem#Alsamixer_channel_controls
  
  So much so that there's at least one person who, from his very good 
  knowledge about this
  subject (Really! This is *not* sarcasm!), thinks this fix is as good as 
  putting some peanut
  butter over the microphone :)
  
  http://wiki.openmoko.org/index.php?title=Talk:Neo_Freerunner_audio_subsystemoldid=77886
  
  I know of at least one other person who claims to have better sound on 
  remote end from this fix,
  but I think I need to drop the challenge. Can you try the current SHR 
  Unstable, apply this fix
  and then report on the mailing lists your results?
  
  You can? Good! So here's the fix:
  
  1. call someone who noticed your bad sound and check whether the sound 
  is still bad, then
 finish the call
  2. edit /etc/freesmartphone/alsa/default/gsmhandset
  3. change control 63 (it's also on line 63), so that it ends in 3 
  rather than in 2:
   * Old value: 63:'Mic Sidetone Mux':1:2
   * New value: 63:'Mic Sidetone Mux':1:3
  4. call that person again and check the result
  
  Alternatively, in one call, you can ssh into your phone and use alsamixer 
  to change the same
  control, but this change will not be persistent until you do the steps 
  above.
  
  http://blog.1407.org/wp-content/uploads/2009/12/oldValue.png
  
  http://blog.1407.org/wp-content/uploads/2009/12/newValue.png
  
  So let's hear your results, nothing like a good empirical experiment.
  
  In the following recordings (complete set here),
  
  http://files.1407.org/openmoko/mic_sidemux_test/
  
  I said «The quick brown fox jumps over the lazy dog» starting with Mic2, 
  then Right PGA, then Left PGA.
  
  1. in perfect conditions;
 
  http://files.1407.org/openmoko/mic_sidemux_test/test1-perfect-conditions.wav
  2. with tv making background noise (news);
 http://files.1407.org/openmoko/mic_sidemux_test/test2-with-tv.wav
  3. 2. + computer playing loud music («Te Quiero Puta» from Rammstein) 
  at the same time.
 
  http://files.1407.org/openmoko/mic_sidemux_test/test3-with-tv-and-music.wav
  
  ___
  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: Experiment: better sound on remote end

2009-12-03 Thread Matthias Felsche


Am Donnerstag, den 03.12.2009, 12:51 +0100 schrieb Dr. Michael Lauer:
 It'd be helpful for the rest of the stack, if dictator would just use FSO's 
 Push/Pull scenario methods instead.
 

Ah ok! Did not know about them. This looks more convenient and tidy.
Will be done like that.

Besides:
I've implemented Dictator 0.3 as Dbus-Service and -Client. Will be
released soon. Don't know lot about fso-progress of the last months. Do
you already have something for recording sound I should rather use than
to have another dbus-service next to fso? Would it be worth to integrate
it into fso?
I mean every smartphone has a microphone and taking voicenotes or do
audio-happy-slapping ;-) is a nice feature. One could make up  local
answer-machine or so.
Are you guys working one somewhat like this?

Matthias



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


Re: Record call.

2009-07-10 Thread Matthias Felsche
Actually Dictator does not manipulate any state-file.
It provides its own. One for playing files that has been recorded, one for 
recording.
It loads the recording-state and changes two switches, depending on what you'd 
like to record.
It backups the previous state and reloads it when it is done.

You have to change the state of alsa if you want to record a phonecall. I think 
there is no alternative!
It's easier to do with a ready state-file than by manipulating every single 
switch!

At all, if you want something working automatically, you just have to listen 
for incoming calls (via dbus?) and when one is coming, you have to start (e.g.) 
a script 
which loads a state with which you can record a call simultaneously and start 
arecord and end when you hang up.

Matthias

-Ursprüngliche Nachricht-
Von: The Digital Pioneer digitalpion...@gmail.com
Gesendet: 10.07.09 15:03:31
An: List for Openmoko community discussion community@lists.openmoko.org
Betreff: Re: Record call.

I would think it would be easy, but given how many people have tried 
to do it and ended up with rather unsatisfactory solutions (sorry 
Dictator folks, but manipulating the statefiles just doesn't feel 
like a clean solution...), I think it is not as easy as it sounds. 
But then, what in the Freerunner is?... Apparently, no-one has 
figured out how to reliably do bluetooth calls yet either. :(

Also beware, if you're in the US, it's illegal to record calls 
without warning the other party.
___ Openmoko community 
mailing list community@lists.openmoko.org http://lists.openmoko.org/

mailman/listinfo/community



Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/


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


Re: SHR annoyances (+ a few workarounds)

2009-06-25 Thread matthias felsche



 Wifi
 =
 It seems reliable with the WPA2 networks I use it with but I can't
 seem to turn it off in SHR-settings and once I've connected to a network 
 I  can't reconnect to any network without rebooting. (I
 know there's work going on in the kernel relating to this).
 Workaround: After I've finished using wifi, I always reboot the
 phone so that next time I want to connect, it works


 Dictator
 
 The version in the repositories seems to just record crackling
 if I try and record my voice - this used to work.
   
I just tested both version (shr-unstable and opkg.org) here on a former 
shr-testing. works lika a charm! I  guess it's a change in 
python-pyalsaaudio or a kernel-(module?)-related issue.

Matthias


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


Re: [All?] Dictator - the most undemocratic recordin g and dictation software ever

2009-04-21 Thread Matthias Felsche
 anyone with some more knowledge of the alsa-switches and -mixers and -muxers 
 etc. please have a look at /usr/share/scenarios/dictator/dictator.state

It's actually  /usr/share/scenarios/dictator/dictator_rec.state
Sorry!

Matthias

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



__
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


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


[All?] Dictator - the most undemocratic recording an d dictation software ever

2009-04-21 Thread Matthias Felsche
Dear list,
a new application has been released at opkg.org:

http://www.opkg.org/package_207.html

http://wiki.openmoko.org/wiki/Dictator

It's a recording application which records your speech via mic, the incoming 
gsm-sound only or both -- a whole phonecall.
I hope you will enjoy it!

Please gimme feedback on errors etc.
I already know it's recording volume is quite low.
anyone with some more knowledge of the alsa-switches and -mixers and -muxers 
etc. please have a look at /usr/share/scenarios/dictator/dictator.state
I'm going to improve this but maybe one of you is faster than me. (hope so ;-))

cheers
Matthias
__
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele 
ausländische Netze zum gleichen Preis! 
https://produkte.web.de/webde_sms/sms




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


Re: How to record calls

2009-03-16 Thread matthias felsche
Hello,
I'd prefer speex-encoding. If you'd like to record voice, this codec is 
the most appropriate choice, I think. As I read throughout my search for 
an alternative to wav-recording, ogg encoding is quite slow. But I 
haven't tried out the performance of speex-encoding. Any experiences?

Matthias


Pander schrieb:
 Hi all,

 Someone has created a dictaphone application, but is it also possible to
 record directly from (within) the (SHR=FSO?) dailer?

 Use cases would be:
 1) record received sound only
 2) record transmitting sound only (dictaphone)
 3) record conversation, both receiving and transmitting sound

 Would it be viable to add this functionality to dailer, then a
 dictaphone will be provided by dailer and an external dictaphone
 application would not be needed or the functionality could be shared.

 Secondly, what format would be desirable to record into? OGG?

 Thanks,

 Pander

 ___
 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: How to record calls

2009-03-16 Thread matthias felsche

 Nope but you can give it a try via:
   http://www.freenet.org.nz/python/pySpeex/

   
Well I tried to get this extension compiled, but it did not work since 
you need Pyrex for this. And I somehow didn't get it working after all.
When I have the time I'll increase my C-abilities and try writing 
something using only the native libraries, not these python-wrappers.
But any help preventing me from this step (i.e. compiling this stuff and 
delivering an ipk) would be much more preferred! ;-)

Matthias



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


Re: Voicenote - new software

2009-02-20 Thread Matthias Felsche
Oh, you guys are talking about something concerning me in a special way!!!
I can't wait any longer!
The last few days i was working on an dictation- oder 
voice-recording-application as well. It is not ready yet, but basically 
functionable.
I began with a python-gtk-gui and by now it is only recording and playing wavs. 
I didn't want to use arecord and aplay, but python-tools.
I was just about implementing real-time-ogg-conversion.
I've attached my work up to now, maybe it's helpful.
It's in need of a little improvement but works.
just untar the content into / , get all the dependency-stuff (just read 
/usr/local/dictator/readme), change the saving-folder to the folder you like, 
then start by typing:

python /usr/local/dictator/diktator.py

enjoy! :)

Well, let's work together if you like. Or let this be a help for you.
For example up to now i don't know how to package things as ipk!

Matthias


-Ursprüngliche Nachricht-
Von: kimaidou kimai...@gmail.com
Gesendet: 20.02.09 16:37:25
An: List for Openmoko community discussion community@lists.openmoko.org
Betreff: Re: Voicenote - new software

One suggestion: why do not try to make a more user-friendly interface
which is big as the whole screen space, with big buttons (useful for
bikers) and a traffic light[1] showing:
- - red -- message of the 1st window
- - orange -- message of the 2nd window
- - green -- recorded and saved

... or something like that ;) In PyGtk it's very simple and immediate 
to
realize that, but before summer I've no time :(

Greetings :D

[1] http://upload.wikimedia.org/wikipedia/commons/1/1c/Ampel.svg

- --
Francesco de Virgilio

Francesco, this is a great idea, which I called replace zenity by a 
real frontend as EFL ? in my to-do list. I will think about it and 
try it. I am not sure yet if I must use python + pygtk or python + EFL
___ Openmoko community 
mailing list community@lists.openmoko.org http://lists.openmoko.org/

mailman/listinfo/community


___
Jetzt 1 Monat kostenlos! WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 17,95 EURO/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K15039B7069a



dictator.tar.gz
Description: application/tgz
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Voicenote - new software

2009-02-20 Thread Matthias Felsche
Please, don't you cry!!!
I haven't tried your application by now, but when I'll be home, I'll do 
immediately! :)))

So let's work together:
* we need some python-ogg and python-vorbis packages for OM and SHR, i think 
they exist in debian
(sources: http://ekyo.nerim.net/software/pyogg/index.html)
* How to achieve the same sound-quality produced by arecord with the same 
properties? -- ALSA-State-Tweakings?
* ...
* ...
* Drink a Beer! :)

Greetings
Matthias

-Ursprüngliche Nachricht-
Von: kimaidou kimai...@gmail.com
Gesendet: 20.02.09 17:05:42
An: List for Openmoko community discussion community@lists.openmoko.org
Betreff: Re: Voicenote - new software

I am just crying so noisily right now :(

Ok, I have been beaten :D . But:
* I am happy someone has the same need
* I was trying to find doc on pygtk, so I will stop :D
* I will try your application
* I am sure it is what I intended to do at first. If not I will help 
you with ideas and code 
* I can help you to package it

conclusion : I don't know yet if I must kill my opkg page and wiki 
page about Voicenote, or if I should let the user choose ?

Anyway I wil be happy to work with you as a team.

Kimaidou

2009/2/20 Matthias Felsche matthiasfels...@web.de
Oh, you guys are talking about something concerning me in a special 
way!!!
I can't wait any longer!
The last few days i was working on an dictation- oder voice-recording-
application as well. It is not ready yet, but basically functionable.
I began with a python-gtk-gui and by now it is only recording and 
playing wavs.
I didn't want to use arecord and aplay, but python-tools.
I was just about implementing real-time-ogg-conversion.
I've attached my work up to now, maybe it's helpful.
It's in need of a little improvement but works.
just untar the content into / , get all the dependency-stuff (just 
read /usr/local/dictator/readme), change the saving-folder to the 
folder you like, then start by typing:

python /usr/local/dictator/diktator.py

enjoy! :)

Well, let's work together if you like. Or let this be a help for you.
For example up to now i don't know how to package things as ipk!

Matthias

-Ursprüngliche Nachricht-
Von: kimaidou kimai...@gmail.com
Gesendet: 20.02.09 16:37:25
An: List for Openmoko community discussion commun...@lists.openmoko.
org
Betreff: Re: Voicenote - new software

One suggestion: why do not try to make a more user-friendly interface
which is big as the whole screen space, with big buttons (useful for
bikers) and a traffic light[1] showing:
- - red -- message of the 1st window
- - orange -- message of the 2nd window
- - green -- recorded and saved

... or something like that ;) In PyGtk it's very simple and immediate
to
realize that, but before summer I've no time :(

Greetings :D

[1] http://upload.wikimedia.org/wikipedia/commons/1/1c/Ampel.svg

- --
Francesco de Virgilio

Francesco, this is a great idea, which I called replace zenity by a
real frontend as EFL ? in my to-do list. I will think about it and
try it. I am not sure yet if I must use python + pygtk or python + EFL
___ Openmoko community

mailing list commun...@lists.openmoko.orghttp://lists.openmoko.org/

mailman/listinfo/community

__
_
Jetzt 1 Monat kostenlos! WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 17,95 EURO/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K15039B7069a


___
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


___
DSL zum Nulltarif + 20 Euro Extraprämie bei Online-Bestellung über die
DSL Freundschaftswerbung! http://dsl.web.de/?ac=OM.AD.AD008K15279B7069a


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


Re: connect freerunner with debian to a windows-PC

2009-02-18 Thread matthias felsche


Daniel Spies schrieb:
 On Wed, 07 Jan 2009 07:42:56 +0100, matthias
 felsc...@student.hu-berlin.de
 wrote:
   
 Bastian Muck schrieb:
 
 Gothnet schrieb:
   
 This isn't going to help you but...
 
 The windows driver seems dodgy. The 5th of december Android image made
 windows bluescreen when you plugged the FR into a machine with the
 
 driver
   
 installed.
 
 Linux is your friend, though of course that's not always possible.
 
 I don't know what your problem is. I conected my fr often to my
 Windows XP and never had problems. I tried 2007.X, 2008.X and Qt
 Extended.

 Greetings Bastian
   
 But is there anyone who tried it with debian?
 

 Yes, me (have only Windows at work). I got a bluescreen once, but it never
 happened again... But somehow I can't get a internet connection (network
 works only between FR and Host), so I created a debian VMWare, and pass the
 USB device to the VMWare. Then I enable NAT network for the VMWare and
 enable USB networking _IN_ the VmWare. This works pretty well :) Network is
 now WAN-Windows-VMwareDebian-Freerunner. 

 Daniel


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


   
An interesting method.
I was able to manage this by doing:
http://wiki.openmoko.org/wiki/Talk:Neo_1973_and_Windows#Another_maybe_quite_unsecure_method_.28WinXP_Professional_32_Bit.29

Hope you understand what I wrote there.
It worked for me with SHR, Om2008.8, Om2008.12, Debian.
The Neos in here http://wiki.openmoko.org/wiki/Dhmoko do that all day 
long! :)

Matthias



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


Re: connect freerunner with debian to a windows-PC

2009-02-18 Thread Matthias Felsche

Can you please check your kernel version and give us know?
If it's 2.6.24 then this one known to work.


Ok, you caught me!
It's really 2.6.24. damn!
this would have been too easy, i think!

matthias






Pt! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123


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


disable power-button

2009-01-09 Thread matthias felsche
Hello dear list,
can anyone tell me how to disable the functions of the poewer button of 
gta02?
It starts a reboot after 4 or 5 seconds pressing it and powers off the 
device after some 6 or 8 seconds. How to disable both?

Please help!

Best regards
Matthias


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


Re: disable power-button

2009-01-09 Thread matthias felsche
ok, excuse me:
we are using the official debian installed by the official script in the 
flash!
I know we shouldnt touch it, but we are to disable the button for we 
will use the freerunners in an exhibition. And we dont wanna let 
visitors switch this thing off. (http://wiki.openmoko.org/wiki/Dhmoko)
we use kernel 2.6.24, the one the FR were shipped with!
is there any sysfs-file i could use with echo 0 or so?
thanx!

arne anka schrieb:
 device after some 6 or 8 seconds. How to disable both?
 
 don't touch it.
 for any more in-depth information you could at least tell us, what  
 distribution you are using ...
 
 ___
 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