Re: Problem with Messages Dialer and Contacts app

2010-03-24 Thread Christ van Willegen
On Wed, Mar 24, 2010 at 6:45 AM, Chuck Norris norris.ch...@mail.ru wrote:
 After this morning update Messages and Contacts shows white screen.
 Dialer shows white screen and bottom half  of  Contactlist string in
 left upper corner. Before checking phone apps I tried to delete
 /etc/freesmartphone/opim/pim.db to empty contacts and resync. Later I've
 restored pim.db. It doesn't help. Why is it so?

I've noticed that phoneuid doesn't start on my phone. Perhaps this is related?

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: sim card detection

2010-03-24 Thread Christ van Willegen
On Wed, Mar 24, 2010 at 4:19 AM, Kai-Martin k...@familieknaak.de wrote:
 My freerunner seems to have an issue with my sim card after boot. More
 often than not the phone seems to be ignorant to the sim card. Consequently,
 it doesn't attach to the GSM net, SMS messages on the card are not readable
 and it can't receive calls. But sometimes, the card is detected fine about
 three minutes after boot. If so, it the sim card stays known to the system
 after wake-up from suspend.

 There is a suspicion, though. If I remember correctly, all the successful
 boots were done with a cable attached -- either USB from my desktop, or the
 connection to the charger. Could this be a hint? Maybe the system power is
 raised above some critical value to make the communication work? Is this a
 known issue?

What I've been doing lately is:
- Reboot my phone (whenever I need to)
- Keep it from suspending by touching the screen once in a while
- Wait for the SIM-PIN dialog to appear
- Enter my PIN

After that, the GSM is registered, and functions without any hardware problems.

HTH!

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: Problem with Messages Dialer and Contacts app

2010-03-24 Thread Klaus 'mrmoku' Kurzmann
Am Mittwoch, 24. März 2010 06:45:13 schrieb Chuck Norris:
 After this morning update Messages and Contacts shows white screen.
 Dialer shows white screen and bottom half  of  Contactlist string in
 left upper corner. Before checking phone apps I tried to delete
 /etc/freesmartphone/opim/pim.db to empty contacts and resync. Later I've
 restored pim.db. It doesn't help. Why is it so?

my fault... and easy fixable. Add a configuration for libphone-ui-shr in 
/usr/share/libphone-ui-shr/config with the following content:

[global]
theme = default

After that (and probably a reboot or at least x restart) whiteness should be 
gone.
-- 
Klaus 'mrmoku' Kurzmann

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


Re: cannot run phonelog.

2010-03-24 Thread Chuck Norris
sam tygier пишет:
 On 14/03/10 10:09, Chuck Norris wrote:
   
 $ phonelog
 

 sounds similar to
 http://shr-project.org/trac/ticket/1004

 but in #1004 there was an int that should have been a float, and you have 
 something that should have been an int.

 sam


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


   
Problem was in PISI. When I converted contacts from sim to opimd through
Settings-Other-Sim-Manager my phonelog starts works.

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


Re: getting started with wlan

2010-03-24 Thread Paul Fertser
Kai-Martin k...@familieknaak.de writes:
 In SHR WiFi is powered on and off through FSO's Resource handling.This is
 usually set to 'auto' so it will be powered up if an app requests the WiFi
 resource, and shut down when nothing is requesting it.

 Does wmiconfig -i eth0 --power maxperf interfere with this setting?

When the device is turned off you obviously can't change its
parameters.

 and I have to use 'wmiconfig -i eth0 --power maxperf' to get a
 reliable connection when setting up with wpa_supplicant.

 Great tip! 
 With maxperf wlan connection is finally solid :-)
 I reckon, this also means increased power consumption. Is there an option to 
 get back to normal, too? Or more broadly: Where can I look up the features I 
 can adjust with wmiconfig? (Did I mention, I miss access to man
 pages?)

--power=rec

There's no decent man page unfortunately, just info returned by
wmiconfig itself.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


[Debian,QtMoko] X server and rotation

2010-03-24 Thread Radek Polak
Hi,
i have been struggling for some time to get X server working in landscape 
mode. I was trying:

- Xglamo with xrandr - screen always goes white, reboot needed
- Xglamo -screen 480x...@90 - does not work either, screen is somehow shifted
- Xorg with fbdev driver and CCW option in xorg.conf - seems to have no effect
- Xfbdev - does not support tslib in debian

Yesterday i recompiled Xfbdev package with tslib support and now it seems to 
be working. For running the X server i do:

Xfbdev -retro -screen 480x...@90 -mouse tslib,,device=/dev/input/event1

But still it's not perfect. I am trying to run scummvm on this Xserver:

export DISPLAY=:0
scummvm

but the Xserver segfaults. But I have found out that if start matchbox window 
manager before scummvm it works. So i have now this script:

neo:~# cat /bin/scummvm.sh 
#!/bin/sh
matchbox-window-manager 
sleep 5
scummvm

I am doing this on debian testing. My Xfbdev with tslib support is here [1]. I 
build it with:

apt-get build-dep xserver-xfbdev
apt-get source xserver-xfbdev
edited debina/rules and replaced disable-tslib with enable-tslib
dpkg-buildpackage -b


Hope this helps someone. Anyone has better way how to do this?

Regards

Radek


[1] http://activationrecord.net/radekp/pub/xserver-xfbdev_1.7.5-1_armel.deb

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


AW: [QTMOKO] Started to write FAQ

2010-03-24 Thread Jörg König
Thank you Radek! That's very helpful!

Greetings 
Joerg




- Ursprüngliche Mail 
Von: Radek Polak pson...@seznam.cz
An: List for Openmoko community discussion community@lists.openmoko.org
Gesendet: Mittwoch, den 24. März 2010, 6:47:27 Uhr
Betreff: Re: [QTMOKO] Started to write FAQ

On Sunday 21 March 2010 14:33:25 Tha_Man wrote:

 Great work! Since I'm quite new to QtMoko I was hoping to find some other
 answers as well, like where to put pictures and music files to make the
 builtin apps see them automatically. I guess that's more QtE related, but
 is there anywhere I can find that kind of information or am I overlooking
 something?

I have just added it to FAQ:

http://qtmoko.org/wiki/FAQ#How_to_transfer_media_from_my_PC.3F

It now reads:

Easiest way is to use bluetooth to send files to your phone. But you can also 
transfer files manually. QtMoko searches documents in following dirs:

/media/card/Documents/audio/ogg/
/media/card/Documents/audio/x-wav/
/media/card/Documents/image/jpeg/
/media/card/Documents/image/png/

MP3 files should go to x-wav folder. If you don't have SD card you can use 
folders in /home/root instead of /media/sdcard


Regards

Radek

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


__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 


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


Re: [Debian,QtMoko] X server and rotation

2010-03-24 Thread Timo Jyrinki
2010/3/24 Radek Polak pson...@seznam.cz:
 i have been struggling for some time to get X server working in landscape
 mode. I was trying:

 - Xglamo with xrandr - screen always goes white, reboot needed
 - Xglamo -screen 480x...@90 - does not work either, screen is somehow shifted
 - Xorg with fbdev driver and CCW option in xorg.conf - seems to have no effect
 - Xfbdev - does not support tslib in debian

Hmm. Why use long-dead Xglamo or dummy fbdev instead of
xserver-xorg-video-glamo?
http://wiki.debian.org/DebianOnFreeRunner#Graphics.28SmediaGlamo3362.29

I have (had) a button (for a year) in my Debian that switches between
xrandr -o right and xrandr -o normal without problems.

-Timo

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


Re: [GTA02] headphone socket issues

2010-03-24 Thread Davide Scaini
On Wed, Mar 24, 2010 at 5:28 AM, Paul Wise pa...@bonedaddy.net wrote:

 On Wed, 2010-03-24 at 03:08 +0300, Paul Fertser wrote:

  Hey, this looks very much like you used an ordinary 2.5-3.5mm plug
  converter which doesn't work due to wrong pinout. Just use correct
  wiring for the converter (check the wiki), it should work out of the
  box.

 I did use a plug converter in this case. Which wiki page can I find the
 correct converter wiring information on? I guess I'll need to butcher
 the current converter and rewire it?


yes!
here you are an example:
http://wiki.openmoko.org/wiki/Analog_wired_Headset_Nokia
but i'm sure there was something describing more in detail the neo cable
displacement.
d



 Earlier I used Nokia headphones with a 2.5mm plug and had the same
 one-bud sound issue. At that time I hadn't yet figured out the
 workaround of pulling it out a little bit, I'll test that later today.

 --
 bye,
 pabs

 http://bonedaddy.net/pabs3/

 ___
 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: getting started with wlan

2010-03-24 Thread Al Johnson
For the bits Paul didn't cover:

On Wednesday 24 March 2010, Kai-Martin wrote:
 On 03/22/2010 01:40:06 PM, Al Johnson wrote:
  Connectivity, or direct through dbus with mdbus2, dbus-send or similar.
 
 How would I do this? ( I miss man pages on my freerunner ;-)

mdbus2 -s org.freesmartphone.ousaged /org/freesmartphone/Usage 
org.freesmartphone.Usage.SetResourcePolicy WiFi enabled

More generally check http://docs.freesmartphone.org for how the API is 
supposed to work. You can also use mdbus2 to show you what dbus interfaces are 
available at a given level by omitting arguments. So to see what Usage 
provides you could use:

mdbus2 -s org.freesmartphone.ousaged /org/freesmartphone/Usage

btw the -s switch is for the session bus. the -h switch can be helpful too ;-)

  See above. I saw 'linksys' in your scan results. Mokonnect never sees my
  wrt54g,
 
 Same here.
 I wonder, why mokonnect can't see my wlan while iwlist reliably does.

I guess it (or connman, which I think it's using) is filtering the results by 
some set of criteria. I've not checked the source.

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


Re: [Debian,QtMoko] X server and rotation

2010-03-24 Thread Chuck Norris
Radek Polak пишет:
 Hi,
 i have been struggling for some time to get X server working in landscape 
 mode. I was trying:

 - Xglamo with xrandr - screen always goes white, reboot needed
 - Xglamo -screen 480x...@90 - does not work either, screen is somehow shifted
 - Xorg with fbdev driver and CCW option in xorg.conf - seems to have no effect
 - Xfbdev - does not support tslib in debian

 Yesterday i recompiled Xfbdev package with tslib support and now it seems to 
 be working. For running the X server i do:

 Xfbdev -retro -screen 480x...@90 -mouse tslib,,device=/dev/input/event1

 But still it's not perfect. I am trying to run scummvm on this Xserver:

 export DISPLAY=:0
 scummvm

 but the Xserver segfaults. But I have found out that if start matchbox window 
 manager before scummvm it works. So i have now this script:

 neo:~# cat /bin/scummvm.sh 
 #!/bin/sh
 matchbox-window-manager 
 sleep 5
 scummvm

 I am doing this on debian testing. My Xfbdev with tslib support is here [1]. 
 I 
 build it with:

 apt-get build-dep xserver-xfbdev
 apt-get source xserver-xfbdev
 edited debina/rules and replaced disable-tslib with enable-tslib
 dpkg-buildpackage -b


 Hope this helps someone. Anyone has better way how to do this?

 Regards

 Radek


 [1] http://activationrecord.net/radekp/pub/xserver-xfbdev_1.7.5-1_armel.deb

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


   
with this kernel from
http://lists.openmoko.org/nabble.html#nabble-td4274107|a4274107
http://lists.openmoko.org/nabble.html#nabble-td4274107%7Ca4274107

shr and hackable:1 begin toggle rotation with xrandr(shr) and swap
rotation option under hackable:1. Also graphics became faster.

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


where is russian illume keyboard

2010-03-24 Thread Chuck Norris
I've installed it via
opkg install illume-keyboard-russian illume-keyboard-russian-terminal

but now I cannot find it. Why?

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


Re: [GTA02] headphone socket issues

2010-03-24 Thread Paul Wise
On Wed, 2010-03-24 at 12:28 +0800, Paul Wise wrote:

 Earlier I used Nokia headphones with a 2.5mm plug and had the same
 one-bud sound issue. At that time I hadn't yet figured out the
 workaround of pulling it out a little bit, I'll test that later today.

I confirm that the workaround of pulling the plug out just a little bit
also works with the Nokia headphones with 2.5mm plug.

-- 
bye,
pabs

http://bonedaddy.net/pabs3/


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: [GTA02] headphone socket issues

2010-03-24 Thread Tiago Bortoletto Vaz
Hi,

On Wed, Mar 24, 2010 at 12:28:53PM +0800, Paul Wise wrote:
 On Wed, 2010-03-24 at 03:08 +0300, Paul Fertser wrote:
 
  Hey, this looks very much like you used an ordinary 2.5-3.5mm plug
  converter which doesn't work due to wrong pinout. Just use correct
  wiring for the converter (check the wiki), it should work out of the
  box.
 
 I did use a plug converter in this case. Which wiki page can I find the
 correct converter wiring information on? I guess I'll need to butcher
 the current converter and rewire it?
 
 Earlier I used Nokia headphones with a 2.5mm plug and had the same
 one-bud sound issue. At that time I hadn't yet figured out the
 workaround of pulling it out a little bit, I'll test that later today.

That ugly workaround has been working for me, although it's far from being a
good solution. I guess the problem is the output has L + R + Mic, while
standard headphones (and adapters) have only L + R. So, you have to figure out
the position where L + R meets L + R. Btw, it's just my newbie theory for this
issue.

Regards,

-- 

  .''`.  Tiago Bortoletto Vaz GPG  :  1024D/A504FECA
 : :' :  http://tiagovaz.org  XMPP : tiago at jabber.org
 `. `'   tiago at {tiagovaz,debian}.org   IRC  :   tiago at OFTC
   `-Debian GNU/Linux - The Universal OS   http://www.debian.org


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


Re: pisi cannot fetch contacts from sim in shr. please help

2010-03-24 Thread David Reyes Samblas Martinez
To temporally solve the issue until pisi or opim the solve the
unexisting method GetUsedBackends
you can safely comment lines 131 and 132 of the
/opt/pisi/modules/contacts_opimd.py

Regards

2010/3/14 Chuck Norris norris.ch...@mail.ru:
 Robin Paulson пишет:
 On 13 March 2010 18:24, Chuck Norris norris.ch...@mail.ru wrote:

 ok. that does the trick. Now pisi have another problem:


 snip


    raise UnknownMethodException('%s is not a valid method of interface
 %s' % (method_name, dbus_interface))
 UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod:
 Unknown method: GetUsedBackends is not a valid method of interface
 org.freesmartphone.PIM.Contact

 this problem with opimd I suppose. It converts contacts from sim to
 local vcf succesfully.
 So is it possible to tell opimd use vcf?


 i got this error, and mistakenly hit yes when it asked to continue
 processing. my contacts are all visible now, so i guess it worked
 ok.at your risk, though

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



 I used console app pisi - it doesn't asks, just breaks. But through gui
 it synced my contacts successfully. thanx.

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




-- 
David Reyes Samblas Martinez
http://www.tuxbrain.com
Open ultraportable  embedded solutions
Ben NanoNote, Arduino, Openmoko
Hey, watch out!!! There's a linux in your pocket!!!

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


[Android] linphone SIP client released for Android

2010-03-24 Thread Al Johnson
It uses the NDK to make a native liblinphone.so to handle the SIP side of 
things. Unfortunately for us the NDK produces armv5te binaries. Does anyone 
know how to get it to make armv4t binaries so we could use it?

Re: [Linphone-users] [Release] Linphone on Android
 From: Simon Morlat simon.mor...@linphone.org
 To: linphone-us...@nongnu.org linphone-us...@nongnu.org
 CC: linphone-develop...@nongnu.org linphone-develop...@nongnu.org
 
Many of you legitimely asked for the source of the linphone-android
frontend.
Here is the git url:

git clone git://git.linphone.org/linphone-android.git

git clone http://git.linphone.org/git/linphone-android.git 

Of course it is GPL.
This git tree contains a liblinphone.so for ARM EABI built over NDK 1.6.

As the source code is evolving fast, we think git access is probably the
most efficient way to have up to date sources.

Simon

Le lundi 22 mars 2010 à 21:07 +0100, Simon Morlat a écrit :
 Hi,
 
 Since today it is now possible to run linphone on its Android mobile
 phone !
 We've just released a version for Google Android. We have tested it on
 G1 and Nexus 1 with success.
 If you are subscribed to a VoIP to PSTN service, you can then make wifi
 or 3G audio calls (make sure it is permitted by your 3G operator first).
 See the full news:
 http://www.linphone.org/index.php/eng/linphone_on_android
 
 It's a first release, so bugs are possible... You can use this mailing
 list to report them. An adb logcat dump can help in solving it.
 
 Simon
 
 
 
 ___
 Linphone-users mailing list
 linphone-us...@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/linphone-users

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


Re: 3D in EFL (Rolling dices on OpenMoko)

2010-03-24 Thread The Rasterman
On Wed, 24 Mar 2010 11:56:50 +0100 Xavier Cremaschi omega.xav...@gmail.com
said:

 Le 24/03/2010 01:22, Carsten Haitzler (The Rasterman) a écrit :
  On Mon, 22 Mar 2010 10:00:56 +0100
  Xavier Cremaschiomega.xav...@gmail.comsaid:
 
  EFL can use opengl for its rendering (not on openmoko, because it seems
  we don't have an opengl-es driver). What do you mean by 3d ? Can I
  modelize cube, sphere, and do some projective geometry ?
 
  In elementary I cannot find an equivalent of an opengl context
  (QGLWidget in qt4), if someone has an idea ?
   
  see evas_map stuff - u can apply a map (a (texture)map). you define 4
  points in space (3d), 4 texture u,v co-ordinates (that map the given object
  geometry to these 4 points - just like opengl). you cat rotate these points
  around the 3 axes (x, y and z) by  number of degrees and you now can apply
  a perspective transform + lighting to this map (the 4 points). see expedite
  or elementary - they use this. the elm flip widget does just this to flip
  in 3d between a front and back side of a card. expedite crates its
  spinning cubes this way.
 
  it's not intended for full 3d - like making complex 3d apps/games. it's
  meant for 3d effects in 2d ui's. like spinning, rotating and flipping. it
  can be used a bit more extensively to do single geometric stuff like cubes
  - it could do spheres given enough faces made out of multiple objects, but
  that's pushing it. it could do simple 3d needed for things like
  mapping/navigation apps.
 
  but no - there is no qglwidget thing in evas - this imho is throwing in
  the towel and just do it all in opengl which is a very different api
  concept to evas - it means you NEEED opengl or it just doesnt work. evas
  provides its map feature with or without opengl present. it works (fast) in
  software as well as opengl. it's an always-on and always-working feature.
 
 
 
 Thanks for you answer.
 
 I just need to modelize simple dices I think (d4,6,8,10,12,20... I could 
 see later to add the exotic ones), so if I understand what you wrote and 
 how evas_map works, I need to :
 - use many evas_map to describe a dice (evas_map being 4 points, it's 
 easy for d4...for d6 with 8 vertexes I could use 2 maps)
 - use available rotate functions (and own translate functions) to 
 animate that
 
 For a d4, something like :
 - Evas_Map *m = evas_map_new(4);
 - I give my four 3d points, using evas_map_point_coord_set(..)
 - I do myself a projection to determine where these points are in the 2d 
 texture (if I want a top view for example)
 - I set these four 2d points with evas_map_point_image_uv_set(..)
 - Now I can use rotate/translate to move the dice
 ?

look at expedite and its cubes - u dont need to do the projection etc. evas has
these for you - move your stuff in 2d space as u please (the 4 point x, y
coords) and set z as u like. u can use the map util funcs to rotate around any
point/axis. you can use the perspective call to do the projection (if you
want 3d perspective) and lighting too. if you want. with a point lightsource.
when done u set the map for the obj (well enable it too). you can free it now
as the obj has its own copy of that map - u want to make a new one and modify
it for the next frame/change


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


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


Re: no-cap bass fix

2010-03-24 Thread Joerg Reisenweber
This is *STRONGLY DISCOURAGED* and will break quite a couple of things. 
Details see inline below

[Stefano Cavallari Di  23. März 2010]:
 Yesterday night I was going to fix the poor audio response of the 
Freerunner.
 Just before starting to solder (having opened the phone and the metallic 
 plate) I discovered the caps I got were the wrong ones.
 So I looked at the scheme for an alternative solution, and I decided to try 
to 
 replace the audio caps with 0R, thus losing DC blocking.

You're not only losing the DC-decoupling, you're also losing the negative half 
of the sine wave, when amp is basically shorting output to GND to create the 
negative current by discharging the coupling capacitor. See operation 
principles of analog bridge amp outputs in some good book about electronics. 
This is NOT a class-A amp 
(http://en.wikipedia.org/wiki/Electronic_amplifier#Class_A ), means it never 
opens both the pullup and pulldown transistor concurrently. The LM4853 is a 
class-B push-pull bridge.


 The plan was to measure the DC component and if low enough, leave it as it.
 If not, putting the DC filter in the minijack adapter.

This is basically feasible, but will most surely break JACK_INSERT logic, by 
applying a voltage 0V to the GPIO detecting if a jack is inserted or not.
Each time you enable the amp to output some sound the headphones, it will 
latch up and not detect jack removal. And it's quite unlikely jack insertion 
is correctly detected each time as well, there also might be both false 
positives and false negatives.


 So I did that, and it seem to work. I tried first with a multimeter. It 
reads 
 0.2 V DC, but I have to confirm it with an oscilloscope.

This reading probably is with headset amp disabled. Correct reading should be 
Vmid, i.e. ~1.6V


 I tried the audio with very cheap headphones first (I was afraid of burning 
 them), 

Chances are you actually will end up with broken headset speakers, just 
because of this


 then with decent ones. It seems to work way better!
 Now I just need a better adapter cable (mine need to be inserted middle way, 
 it's not the right one), and then I have usable audio :)


Don't you think, if this was a viable workaround for the problem, we at OM 
(particularly me in this case) came up with this suggestion some 1.5 .. 2 
years ago?


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


[Debian] Timo's Debian instructions available for Neo FreeRunner

2010-03-24 Thread Timo Jyrinki
Hi,

Setting up my second FreeRunner, I took time to find out and document
how I ended up with my current Debian setup in use (or close to
something like it) and cleaned up my configs while at it. This
information might be interesting to beginning Debian / Neo users, who
may find the default Debian installation a bit lacking or empty.
Nothing earth-shattering to see here, but it works for me and I
haven't tweaked any big stuff lately so I might as well publish it.

So here goes, images included: http://wiki.openmoko.org/wiki/User:TimoJyrinki

It's divided in Good, Ugly and Bad parts, for obvious reasons. Main
ideas are that phone + GPS + keyboard + music playing are finger
usable, and then for more fancy stuff a stylus can be brought to help.

-Timo

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


Re: [Debian] Timo's Debian instructions available for Neo FreeRunner

2010-03-24 Thread Neil Jerram
On 24 March 2010 19:22, Timo Jyrinki timo.jyri...@gmail.com wrote:

 So here goes, images included: http://wiki.openmoko.org/wiki/User:TimoJyrinki

That looks very useful.  Thank you!

Neil

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


Re: no-cap bass fix

2010-03-24 Thread Stefano Cavallari
On Wednesday 24 March 2010 16:22:15 Joerg Reisenweber wrote:
 This is *STRONGLY DISCOURAGED* and will break quite a couple of things.
 Details see inline below
 
 [Stefano Cavallari Di  23. März 2010]:
  Yesterday night I was going to fix the poor audio response of the
 
 Freerunner.
 
  Just before starting to solder (having opened the phone and the metallic
  plate) I discovered the caps I got were the wrong ones.
  So I looked at the scheme for an alternative solution, and I decided to
  try
 
 to
 
  replace the audio caps with 0R, thus losing DC blocking.
 
 You're not only losing the DC-decoupling, you're also losing the negative
 half of the sine wave, when amp is basically shorting output to GND to
 create the negative current by discharging the coupling capacitor. See
 operation principles of analog bridge amp outputs in some good book about
 electronics. This is NOT a class-A amp
 (http://en.wikipedia.org/wiki/Electronic_amplifier#Class_A ), means it
 never opens both the pullup and pulldown transistor concurrently. The
 LM4853 is a class-B push-pull bridge.
I should have read the data sheet. 
Audio does not seem distorted though, except at high gains. 
There is a some white noise in the background, not noticeable when music is 
running though.
Anyway I was ready to use external capacitors in the adapter cable. 
  The plan was to measure the DC component and if low enough, leave it as
  it. If not, putting the DC filter in the minijack adapter.
 
 This is basically feasible, but will most surely break JACK_INSERT logic,
 by applying a voltage 0V to the GPIO detecting if a jack is inserted or
 not. Each time you enable the amp to output some sound the headphones, it
 will latch up and not detect jack removal. And it's quite unlikely jack
 insertion is correctly detected each time as well, there also might be
 both false positives and false negatives.
Jack sensing still works and seems reliable. Anyway if it stop working or it 
proves to be not reliable I can just disable it. 
I'll never use an headset, just headphones for playing music. I can force the 
output to the jack when starting the player. 
  So I did that, and it seem to work. I tried first with a multimeter. It
 
 reads
 
  0.2 V DC, but I have to confirm it with an oscilloscope.
 
 This reading probably is with headset amp disabled. Correct reading should
 be Vmid, i.e. ~1.6V
 
  I tried the audio with very cheap headphones first (I was afraid of
  burning them),
 
 Chances are you actually will end up with broken headset speakers, just
 because of this

  then with decent ones. It seems to work way better!
  Now I just need a better adapter cable (mine need to be inserted middle
  way, it's not the right one), and then I have usable audio :)
 
 Don't you think, if this was a viable workaround for the problem, we at OM
 (particularly me in this case) came up with this suggestion some 1.5 .. 2
 years ago?

It depends on what you mean for viable. 
It is not something correct, and I was aware of that.
Building a custom cable with non-SMD capacitors is easier than finding right 
capacitors. 
Risking some cheap headphones that will sound way better than good headphones 
on a unfixed phone is even easier.
I just wanted to share my experience, maybe someone finds this compromise 
useful.

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


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


transparency in gtk

2010-03-24 Thread Chuck Norris
I need transparency in gtk under freerunner. So I compiled this code

#include gtk/gtk.h

gint main(gint argc, gchar **argv)
{
GtkWidget *window;

gtk_init(argc, argv);

window = gtk_window_new(GTK_WINDOW_TOPLEVEL);

gtk_window_set_opacity(GTK_WINDOW(window), 0.1);

gtk_widget_show_all(window);

gtk_main();
}

under my desktop and it shows transparent window. Then I compiled it for
shr-u with crosscompiler from tmp/cross folder of shr-u sources. And on
freerunner it shows not transparent window. So Is it possible to create
transparent gtk apps in shr or other distribs for freerunner? And how if
it possible?

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


Re: transparency in gtk

2010-03-24 Thread Timo Juhani Lindfors
Chuck Norris norris.ch...@mail.ru writes:
 under my desktop and it shows transparent window. Then I compiled it for
 shr-u with crosscompiler from tmp/cross folder of shr-u sources. And on
 freerunner it shows not transparent window. So Is it possible to create
 transparent gtk apps in shr or other distribs for freerunner? And how if
 it possible?

Run xcompmgr?


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


Re: transparency in gtk

2010-03-24 Thread Neil Brown
On Thu, 25 Mar 2010 11:02:43 +0600
Chuck Norris norris.ch...@mail.ru wrote:

 I need transparency in gtk under freerunner. So I compiled this code
 
 #include gtk/gtk.h
 
 gint main(gint argc, gchar **argv)
 {
 GtkWidget *window;
 
 gtk_init(argc, argv);
 
 window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
 
 gtk_window_set_opacity(GTK_WINDOW(window), 0.1);
 
 gtk_widget_show_all(window);
 
 gtk_main();
 }
 
 under my desktop and it shows transparent window. Then I compiled it for
 shr-u with crosscompiler from tmp/cross folder of shr-u sources. And on
 freerunner it shows not transparent window. So Is it possible to create
 transparent gtk apps in shr or other distribs for freerunner? And how if
 it possible?

Make sure your X server has the compositing extension loaded and run
xcompmgr.

I don't know how this works on shr exactly.  On Debian using nodm I
have

NODM_X_OPTIONS='-nolisten tcp -pn +extension Composite -dpi 150'

in /etc/defauilt/nodm

NeilBrown

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


Re: transparency in gtk

2010-03-24 Thread Sebastian Reichel
On Thu, Mar 25, 2010 at 11:02:43AM +0600, Chuck Norris wrote:
 I need transparency in gtk under freerunner. So I compiled this code
 
 #include gtk/gtk.h
 
 gint main(gint argc, gchar **argv)
 {
 GtkWidget *window;
 
 gtk_init(argc, argv);
 
 window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
 
 gtk_window_set_opacity(GTK_WINDOW(window), 0.1);
 
 gtk_widget_show_all(window);
 
 gtk_main();
 }
 
 under my desktop and it shows transparent window. Then I compiled it for
 shr-u with crosscompiler from tmp/cross folder of shr-u sources. And on
 freerunner it shows not transparent window. So Is it possible to create
 transparent gtk apps in shr or other distribs for freerunner? And how if
 it possible?

Hi,

Please read the documentation [1] first next time. You need a
compositing manager on X11. You can read more about them in
the Wikipedia [2]. Last but not least let me say it probably
won't work well on Freerunner, but  I haven't tried.

[1] 
http://library.gnome.org/devel/gtk/unstable/GtkWindow.html#gtk-window-set-opacity
[2] http://en.wikipedia.org/wiki/Compositing_window_manager

-- Sebastian


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian,QtMoko] X server and rotation

2010-03-24 Thread Radek Polak
On Wednesday 24 March 2010 09:56:15 Timo Jyrinki wrote:

 Hmm. Why use long-dead Xglamo or dummy fbdev instead of
 xserver-xorg-video-glamo?

I tried xserver-xorg-video-glamo, but no success either.

 http://wiki.debian.org/DebianOnFreeRunner#Graphics.28SmediaGlamo3362.29
 
 I have (had) a button (for a year) in my Debian that switches between
 xrandr -o right and xrandr -o normal without problems.

Can you please tell, which kernel are you using and how did you install 
xserver-xorg-video-glamo? Is it from regular debian testing repos?

Thanks,

Radek

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