Re: DIY Audioadaptor

2008-10-28 Thread Thomas Köckerbauer
> I was about to solder myself an adaptor to use my headphones with the
> FreeRunner as an ogg/flac player. I have found some jacks, which seem to
> good for this task (german website):
> http://www.reichelt.de/?;ACTION=3;LA=2;GROUP=C161;GROUPID=3237;ARTICLE=4778
>4
> http://www.reichelt.de/?;ACTION=3;LA=2;GROUP=C161;GROUPID=3237;ARTICLE=4778
>5
> http://www.reichelt.de/?;ACTION=3;LA=2;GROUP=C161;GROUPID=3237;ARTICLE=9410
>
> Now I wonder, whether
> a) the jack inside the fr is compatible to the ones of reichelt?

I bought this connector: 
http://www1.at.conrad.com/scripts/wgate/zcop_at/~flN0YXRlPTM5NzYwMDU3MjU=?~template=pcat_product_details_document&product_show_id=730520&no_brotkrumennavi=1&zhmmh_area_kz=LN
It does not fit very well. The metal-base of the connector has a to large 
diameter. Since the headset socket of the Freerunner is a bit inside of the 
case the connector has only full contact if I press in the connector really 
hard (the case caves in a bit). As soon as I stop pressing the plug goes back 
outside a bit again and looses contact again. So you have to make sure that 
the base of the connector is not to large (this is somewhat similar to the 
headset connector problem that was there at the first iPhone).
Maybe as a suggestion for improvement for further OpenMoko phones would be 
that the headset socket should be not be to far in the device.
I'm now thinking about buying a Nokia headset and making an adapter out of it, 
since those have plugs that are normally smaller than those for 
self-soldering.

> b) I just need to connect the jacks with a proper cable or do I have to
> solder some resistor, capacitor or sth, different in between to work around
> the bad sound quality some people have noticed?

I did not add anything in between. I can't complain about the audio quality 
(I've also read those reports about bad sound quality, but I did not really 
notice anything).

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


Re: rcp works, konqueror+fish not

2008-10-24 Thread Thomas Köckerbauer
Just a guess, but could it have something to with that that dropbear is used 
as ssh server and not openssh (maybe different behaviour)?
If I remember correctly also browsing using a "Shell link" in midnight 
commander does not work, this could be the same issue.

Am Friday 24 October 2008 09:28:57 schrieb Aapo Rantalainen:
> Fish document says, that perl is used if it installed on target.
> Freerunner Debian has perl 5.10.0
> I installed perl to my FDOM from repository, it is version 5.8.8. Do not
> work.
>
> -Aapo Rantalainen

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


Dual SIM Card Adapter / SIM Toolkit

2008-10-15 Thread Thomas Köckerbauer
I was thinking about getting one of these Dual SIM Card Adapters (since I will 
have to move a lot between two countries in the next months): 
http://www.simore.ch/en/ but they require the SIM Toolkit (STK) to work. I've 
read a post in April about STK and it seems that I'm out of luck:
http://lists.openmoko.org/pipermail/community/2008-April/015762.html

Did the situation change in the meantime?

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


Re: [Om2008.9] Using Freerunner as a digital audio player

2008-10-14 Thread Thomas Köckerbauer
I'm using debian. Since epeg is still not in the debian repository so I 
compiled it from the source package I got from 
http://debian.alphagemini.org/dists/unstable/main/source/libs/
(First I wanted to use epsilon instead of epeg but the version I had always 
produced a strange error, it always wanted to write the thumbnail 
to "/(null).png")

Here are the compiled packages:
http://www.gup.uni-linz.ac.at/~tkoeck/audioplayer/libepeg-bin_0.9.1.042-0cvs20080608_armel.deb
http://www.gup.uni-linz.ac.at/~tkoeck/audioplayer/libepeg-dev_0.9.1.042-0cvs20080608_armel.deb
http://www.gup.uni-linz.ac.at/~tkoeck/audioplayer/libepeg0_0.9.1.042-0cvs20080608_armel.deb


Am Tuesday 14 October 2008 23:46:46 schrieb Max Giesbert:
> hi just tried to build your app. how did you get epeg into your
> toolchain? can't find it in the repos...
>
> i get the following when running: $om-conf audioplayer
>
> checking for E... configure: error: Package requirements (
>   evas
>   ecore
>   ecore-evas
>   edje
>   eet
>   epeg
> ) were not met:
>
> No package 'epeg' found
>
>
> thx
>
> p.s. the screenshots look promising!
>
> Thomas Köckerbauer schrieb:
> > I was also searching for an audioplayer meeting my requirements (which
> > are quite basic), but none of those I found really fullfilled them. So I
> > started to make a new one, which is not really finished yet (I wanted to
> > make it a bit more complete before I announce it, but I thought it might
> > fit to the discussion). I did not invest a lot of time because I did not
> > find a working headset to 3,5mm plug adapter yet (now I'm planing to
> > build one myself), but since I read now that the audio quality should be
> > that good I have to admit that I got a bit dismotivated.
> >
> > If somebody is interested it looks like this:
> >
> > http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer1.png
> > http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer2.png
> > http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer3.png
> > http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer4.png
> >
> > The source can be found here (be warned its a bit of a hack right now):
> > http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer.tar.gz
> >
> > You have to place the binary and the edj file into the same directory
> > (the edj file has to be in the working directory) and start it with:
> > audioplayer 
> >
> > It uses libmad and requires about 15% cpu for decoding an average mp3
> > file. I'm thinking about to remove libmad and making a gui plugin for
> > mplayer from it, which would support more file formats (but from what
> > I've seen in the mplayer source this would be quite some work).
> >
> > Comments and contributions are welcome :)
> >
> > Am Tuesday 14 October 2008 20:42:32 schrieb Clemens Kirchgatterer:
> >> Xavier Cremaschi <[EMAIL PROTECTED]> wrote:
> >>> I just want a single view named "Folders" (which would be a file
> >>> explorer) instead of the existing "Albums", "Artists", "Genre".
> >>>
> >>> I totally understand that a tag-based player could be interesting for
> >>> some people, but I *know* where my files are in my collection.
> >>
> >> FULL ACK!
> >>
> >> i allways find it strange if i can't make a playlist by simply
> >> selecting a directory from the filebrowser view.
> >>
> >> clemens
> >
> > ___
> > 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: [Om2008.9] Using Freerunner as a digital audio player

2008-10-14 Thread Thomas Köckerbauer
I was also searching for an audioplayer meeting my requirements (which are 
quite basic), but none of those I found really fullfilled them. So I started 
to make a new one, which is not really finished yet (I wanted to make it a 
bit more complete before I announce it, but I thought it might fit to the 
discussion). I did not invest a lot of time because I did not find a working 
headset to 3,5mm plug adapter yet (now I'm planing to build one myself), but 
since I read now that the audio quality should be that good I have to admit 
that I got a bit dismotivated.

If somebody is interested it looks like this:

http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer1.png
http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer2.png
http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer3.png
http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer4.png

The source can be found here (be warned its a bit of a hack right now):
http://www.gup.jku.at/~tkoeck/audioplayer/audioplayer.tar.gz

You have to place the binary and the edj file into the same directory (the edj 
file has to be in the working directory) and start it with:
audioplayer 

It uses libmad and requires about 15% cpu for decoding an average mp3 file. 
I'm thinking about to remove libmad and making a gui plugin for mplayer from 
it, which would support more file formats (but from what I've seen in the 
mplayer source this would be quite some work).

Comments and contributions are welcome :)


Am Tuesday 14 October 2008 20:42:32 schrieb Clemens Kirchgatterer:
> Xavier Cremaschi <[EMAIL PROTECTED]> wrote:
> > I just want a single view named "Folders" (which would be a file
> > explorer) instead of the existing "Albums", "Artists", "Genre".
> >
> > I totally understand that a tag-based player could be interesting for
> > some people, but I *know* where my files are in my collection.
>
> FULL ACK!
>
> i allways find it strange if i can't make a playlist by simply
> selecting a directory from the filebrowser view.
>
> clemens

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


Scrolling in EVAS

2008-09-17 Thread Thomas Köckerbauer
I'm currently working on an evas/edje based audioplayer, and have a few 
questions (which go to raster ;) about scrolling in evas. I've been searching 
around and found this post about the topic: 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg15233.html

Is this or something similar already in evas? (I guess no, because scrolling 
objects had the same "speed" on X using framebuffer and on Xglamo when I 
tested it).

Is it still planed implement something like this? (It sounds like something 
that would make much sense with glamo).

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


Using a vcard address book on debian/zhone

2008-09-03 Thread Thomas Köckerbauer
I've just installed debian on my freerunner and the thing I was missing most 
was the possibility to import contacts since I do not store my contacts on 
the SIM card. If anybody also has the same problem here is a very quick and 
dirty hack which allows to use a vcard address book as source for the phone 
book. I've tested it with a vcard 3.0 address book exported from "kontact". 
Please note that things like editing entries do NOT work with this hack.

Just replace the function "prepare" in the class pyphone_contacts in the 
file /usr/bin/zhone by the following:

def prepare( self ):
if not self.ready and not self.busy:
file = open("/root/addressbook.vcf", "r")
entries = []
entry_nr = 1
name = None
number = None
for line in file:
if line.startswith("END:VCARD"):
if name and number:
entry = entry_nr, name, number
entries.append(entry)
entry_nr = entry_nr + 1
name = None
number = None
if line.startswith("FN:"):
name = unicode(line.partition(":")
[2].strip(), "utf8", "utf8")
if line.startswith("TEL;TYPE=CELL:"):
number = unicode(line.partition(":")[2].strip())
file.close()
self.cbPhonebookReply(entries)

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


Re: 2008.8: Enlightenment crashing at bootup after upgrade

2008-08-31 Thread Thomas Köckerbauer
Am Montag, 1. September 2008 06:26:26 schrieb Thomas Bertani:
> In you case when does it crash?For me it crashes when startx occcurres...
> but I don't know if it is the same problem...


Just before the icons should appear, I still could see the boots and the 
progress indicator in the background and got the SIGSEGV message in front. 
When I pressed recover in that window the X-server restarted and no 
boots/progress indicator showed up but I could see the gadget icons of illume 
(not the application icons) when the message appeared again.

You can check if you have the same problem I got by doing a
opkg list|grep libefreet0
If you have an entry saying
libefreet0 - 1:0.5.0.043+cvs20080702-r0 - The Enlightenment freedesktop.org 
library
you should get rid of this version.

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


Re: 2008.8: Enlightenment crashing at bootup after upgrade

2008-08-31 Thread Thomas Köckerbauer
Ok, I've found the problem.

It seems that the opkg upgrade did not update the efreet library since the 
version number of the new version in svn is lower then the version number of 
the old version in cvs (which I think got from the scaredycat repository):

libefreet0 - 1:0.0.3.043+svnr35579-r2 - The Enlightenment freedesktop.org 
library
libefreet0 - 1:0.5.0.043+cvs20080702-r0 - The Enlightenment freedesktop.org 
library

The API of the efreet library also seem to have changed, see: 
http://trac.enlightenment.org/e/changeset/35492

This explains following lines in the stacktrace:
#3  0x404b9fd0 in __snprintf (s=0x30 , maxlen=48, 
format=0x19aaf8 "battery") at snprintf.c:35
#4  0x400ea264 in efreet_icon_path_find (theme_name=0x11a248 "hicolor", 
icon=0x19aaf8 "battery", size=0x30 )
at efreet_icon.c:342

The efreet library I had installed still expected a string as size argument 
but got an integer which was used as address.

Solution: manually install the new libefreet0 package, which is actually quite 
difficult since the -force-downgrade does not really work.
I did the following:
Add a '#' in front of all entries that provide the library 
in /etc/opkg/armv4t-feed.conf
Download 
http://downloads.openmoko.org/repository/Om2008.8/armv4t/libefreet0_0.0.3.043+svnr35579-r2_armv4t.opk
Since opkg does not seem to work with the .okg file extension I had to rename 
it end with .ipk
Remove the old version: opkg remove -force-depends libefreet0
Install the new version: opkg install 
libefreet0_0.0.3.043+svnr35579-r2_armv4t.ipk


Cheers,
Thomas



Am Sonntag, 31. August 2008 20:43:58 schrieb Thomas Köckerbauer:
> Hi
>
> Sorry that I'm not replying in the thread, but I don't have the original
> mail anymore.
>
> I have the same problem, since I updated today enlightenment crashes with
> SIGSEV every time when it starts (I can see the gadget icons, but the
> application icons do not yet show up).
> I've installed the debug version, attached a debugger and got the backtrace
> of the segfault, here it is:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x404e1ce4 in strlen () from /lib/libc.so.6
> (gdb) bt
> #0  0x404e1ce4 in strlen () from /lib/libc.so.6
> #1  0x404b3400 in _IO_vfprintf_internal (s=0xbe9ece80,
> format=0x400f6488 "%s %s %s", ap=) at vfprintf.c:1568
> #2  0x404d43d8 in _IO_vsnprintf (string=0xbe9ecfa8 "hicolor battery ",
> maxlen=4096, format=0x400f6488 "%s %s %s", args=0xbe9ecf9c)
> at vsnprintf.c:120
> #3  0x404b9fd0 in __snprintf (s=0x30 ,
> maxlen=48, format=0x19aaf8 "battery") at snprintf.c:35
> #4  0x400ea264 in efreet_icon_path_find (theme_name=0x11a248 "hicolor",
> icon=0x19aaf8 "battery", size=0x30 )
> at efreet_icon.c:342
> #5  0x0005f060 in e_util_icon_theme_icon_add ()
> #6  0x000ad018 in e_fm2_icon_get ()
> #7  0x000ad5d4 in _e_fm2_icon_icon_direct_set ()
> #8  0x000adc44 in _e_fm2_icon_realize ()
> #9  0x000addac in _e_fm2_regions_eval ()
> #10 0x000ae008 in _e_fm2_regions_populate ()
> #11 0x000ae158 in _e_fm2_cb_resize_job ()
> #12 0x400947f8 in _ecore_job_event_handler () from
> /usr/lib/libecore_job.so.0 #13 0x404204a0 in _ecore_event_call () from
> /usr/lib/libecore.so.0 #14 0x40426fa8 in _ecore_main_loop_iterate_internal
> ()
> from /usr/lib/libecore.so.0
> #15 0x4042701c in ecore_main_loop_begin () from /usr/lib/libecore.so.0
> #16 0x00029b78 in main ()
>
> I did not have a closer look yet, but maybe raster already has an idea ;)
>
>
> Cheers,
> Thomas

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


2008.8: Enlightenment crashing at bootup after upgrade

2008-08-31 Thread Thomas Köckerbauer
Hi

Sorry that I'm not replying in the thread, but I don't have the original mail 
anymore.

I have the same problem, since I updated today enlightenment crashes with 
SIGSEV every time when it starts (I can see the gadget icons, but the 
application icons do not yet show up).
I've installed the debug version, attached a debugger and got the backtrace of 
the segfault, here it is:

Program received signal SIGSEGV, Segmentation fault.
0x404e1ce4 in strlen () from /lib/libc.so.6
(gdb) bt
#0  0x404e1ce4 in strlen () from /lib/libc.so.6
#1  0x404b3400 in _IO_vfprintf_internal (s=0xbe9ece80, 
format=0x400f6488 "%s %s %s", ap=) at vfprintf.c:1568
#2  0x404d43d8 in _IO_vsnprintf (string=0xbe9ecfa8 "hicolor battery ", 
maxlen=4096, format=0x400f6488 "%s %s %s", args=0xbe9ecf9c)
at vsnprintf.c:120
#3  0x404b9fd0 in __snprintf (s=0x30 , maxlen=48, 
format=0x19aaf8 "battery") at snprintf.c:35
#4  0x400ea264 in efreet_icon_path_find (theme_name=0x11a248 "hicolor", 
icon=0x19aaf8 "battery", size=0x30 )
at efreet_icon.c:342
#5  0x0005f060 in e_util_icon_theme_icon_add ()
#6  0x000ad018 in e_fm2_icon_get ()
#7  0x000ad5d4 in _e_fm2_icon_icon_direct_set ()
#8  0x000adc44 in _e_fm2_icon_realize ()
#9  0x000addac in _e_fm2_regions_eval ()
#10 0x000ae008 in _e_fm2_regions_populate ()
#11 0x000ae158 in _e_fm2_cb_resize_job ()
#12 0x400947f8 in _ecore_job_event_handler () from /usr/lib/libecore_job.so.0
#13 0x404204a0 in _ecore_event_call () from /usr/lib/libecore.so.0
#14 0x40426fa8 in _ecore_main_loop_iterate_internal () 
from /usr/lib/libecore.so.0
#15 0x4042701c in ecore_main_loop_begin () from /usr/lib/libecore.so.0
#16 0x00029b78 in main ()

I did not have a closer look yet, but maybe raster already has an idea ;)


Cheers,
Thomas

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


Illume patch/question

2008-08-13 Thread Thomas Köckerbauer
Hi

As mentioned a few days ago I tried to add the operator name into the illume 
gsm gadget. I've created two patch files, one for the source and one for the 
freerunner.edc file which is used for illume.edj. The thing where I'm still 
struggling is the placement of the operator name label. I did not manage to 
place the label next to the gsm icon so that it does not overlap anything 
else or it allocates lots of space it does not use. I've now only added the 
label without any ref1 and ref2 entries. Does anyone have a hint how to get 
that right?

Here are the patches:
source: http://www.gup.jku.at/~tkoeck/illume/illume_operator_name.patch
freerunner.edc: http://www.gup.jku.at/~tkoeck/illume/freerunner_edc.patch

Btw, how should patches be submitted (trac entry, posting on the project page, 
mail, ...)?


Cheers,
Thomas

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


Re: Illume GSM widget question

2008-08-10 Thread Thomas Köckerbauer
Am Montag, 11. August 2008 00:26:49 schrieb Holger Freyther:
> On Sunday 10 August 2008 23:19:46 Thomas Köckerbauer wrote:
> > Hi
> >
> > I guess the question goes mainly to raster but I'm happy about replys
> > from others too :)
> >
> > I'm living near the German border in Austria and sometimes get a signal
> > from an Austrian network operator and sometimes from a German network
> > operator. If I'm connected to an German network operator calls are way
> > more expensive then they would be when I'm connected to my home operator.
> > The problem I have now is that there is nothing in the ASU UI where I can
> > see which operator I'm connected to.
>
> The Ad-Hoc DBUS interface also exports the registration status. It should
> say Home or Roaming if you ask for it.

This won't really work with my operator (yesss), it always reports that I am 
roaming even if I am in my home network (They have their own net-code for 
their sim cards (232-12) but use the "one" network (232-05)). This is also a 
bit annoying for me because I also might get another useable (German) network 
even if my "home" network would be available since both use roaming. For 
something like that an option so select a preferred network would be nice.

> > (svn://svn.projects.openmoko.org/svnroot/illume) seems not to be the
> > right one (in misc-data/illume.edj there are references to the gsm icons
> > in illume.edc there are none). Where is the file misc-data/illume.edj was
> > created from? Is it missing in the repository or did I just look at the
> > wrong place?
>
> there is no illume.edc in svn. You can use edje_decc to decompile the .edj
> file and then work on that.

I did not know that, I will try that. Thanks.


Cheers,
Thomas

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


Illume GSM widget question

2008-08-10 Thread Thomas Köckerbauer
Hi

I guess the question goes mainly to raster but I'm happy about replys from 
others too :)

I'm living near the German border in Austria and sometimes get a signal from 
an Austrian network operator and sometimes from a German network operator. If 
I'm connected to an German network operator calls are way more expensive then 
they would be when I'm connected to my home operator. The problem I have now 
is that there is nothing in the ASU UI where I can see which operator I'm 
connected to.

I had a look into the Illume GSM gadget and added the dbus calls to gsmget.c 
to get the operator name. Now I wanted to add a label to the GSM gadget 
itself. The problem I have now is that I can not find the edj file which was 
used to generate  misc-data/illume.edj, the illume.edc in the root directory 
of the repository (svn://svn.projects.openmoko.org/svnroot/illume) seems not 
to be the right one (in misc-data/illume.edj there are references to the gsm 
icons in illume.edc there are none). Where is the file misc-data/illume.edj 
was created from? Is it missing in the repository or did I just look at the 
wrong place?


Cheers,
Thomas

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