Denis 'GNUtoo' Carikli | 21 Jan 20:16 2012

nexus S(crespo/herring) status

hi,
Today I gave a new try with the nexus S, here's the status:

On the stock SHR image:
---------------------------------
 * The sound is currently broken( fsodeviced occupy the sound card,doen't work 
after killing fsodeviced either)
 * The networking is broken too(I think it's because 
CONFIG_ANDROID_PARANOID_NETWORK is set): for instance eve is always offline
 * Also a minor thing(since the sound is broken): the alsa scenario are still 
missing...I think we should add them when the sound is repaired.

On the 3.0 kenrel side:
------------------------------
 * I booted with serial (only for userspace) and could login after creating a 
non-root user(with root it said invalid "invalid username").
 * sound was still broken
 * touchscreen was broken too, evtest reports the events but xorg seem to only 
accept the very first touch/click, we must look with xev
 * I fixed locally usbnet compilation but still it didn't work, which is a 
problem if other people not having serial want to try it.

3.0 is interesting because it contains the runtime PM API needed to make wifi 
work.
if we migrate to 3.0 we will have to fix the touchscreen, I wonder what 
changed between 3.0 and 2.6.35 which broke our touchscreen xorg driver(xf86-
input-mtev).

On the modem side:
----------------------------
(Continue reading)

Denis 'GNUtoo' Carikli | 21 Jan 23:16 2012

upgrade fsoaudiod from LGPL to GPL

Hi Simon ,

Since you're the maintainer of fsoaudiod,
could you upgrade fsoaudiod to GPL so I could merge the work on the alsa 
forwarder fot the GTA04 that include alsaloop.c(GPL).

Or should I do it?

Denis.
Simon Busch | 22 Jan 12:37 2012
Picon

Re: nexus S(crespo/herring) status

On 21.01.2012 20:16, Denis 'GNUtoo' Carikli wrote:
> hi,
> Today I gave a new try with the nexus S, here's the status:
>
> On the stock SHR image:
> ---------------------------------
>   * The sound is currently broken( fsodeviced occupy the sound card,doen't work
> after killing fsodeviced either)

You mean the AlsaStreamKeeper thing in the fsodeviced herring_quirks 
plugin, right?

>   * The networking is broken too(I think it's because
> CONFIG_ANDROID_PARANOID_NETWORK is set): for instance eve is always offline

What do you mean with "networking"? GPRS? USB-Network?

>   * Also a minor thing(since the sound is broken): the alsa scenario are still
> missing...I think we should add them when the sound is repaired.

No, they are not missing. They are already part of fsodeviced: 
http://git.freesmartphone.org/?p=cornucopia.git;a=tree;f=fsodeviced/conf/herring/alsa-default;h=6f9607f9e3521f1cd9a9f894e570865c03f88eb5;hb=HEAD

>
> On the 3.0 kenrel side:
> ------------------------------
>   * I booted with serial (only for userspace) and could login after creating a
> non-root user(with root it said invalid "invalid username").
>   * sound was still broken

(Continue reading)

Denis 'GNUtoo' Carikli | 22 Jan 13:45 2012

Re: nexus S(crespo/herring) status

>You mean the AlsaStreamKeeper thing in the fsodeviced herring_quirks 
>plugin, right?
I didn't know about it, I'll look.

>What do you mean with "networking"? GPRS? USB-Network?
USB network but it should be broken with wifi and GPRS too.

>>   * sound was still broken
>Can you describe more in detail what this means?
Same issue as before, mplayer playing was blocked.

>You mean the network names for the 
>org.freesmartphone.GSM.Network.ListProviders method?
I mean the shr widget in the top bar with the name of the provider and a 
strength bar describing the GSM connection strength.

>In general replicant implemented some more features like SMS in there 
>ril plugin which I am already working on and it will be available in the 
>next two weeks I think.
Nice, thanks a lot

>Happily the android guys fixed the wrong multi-touch behaviour they 
>implemented in the 2.6.35 kernel so we can use the upstream version of 
>xf86-input-mtev again.
Nice.

>Why not using the android gadget thing?
If we could have used g_ether it would have been better, so that was worth a 
try.

(Continue reading)

Denis 'GNUtoo' Carikli | 22 Jan 16:53 2012

Re: nexus S(crespo/herring) status

For the sound, thanks to a remark by DocScrutinizer on #openmoko-cdevel I 
found out how to make the sound work again:
When fsoaudiod was removed /etc/asound.conf was removed too.
Adding back fsoaudiod but disabling it in it's device config made it work 
again.

I guess that's a problem for all devices...since multiplexing won't work 
without asound.conf

Denis.
Denis 'GNUtoo' Carikli | 31 Jan 19:00 2012

Re: [Gta04-owner] QtMoko v38 for GTA04 with suspend and GSM calls

hi, 
how did you get suspend working reliabily?
personally I've that:
[  406.115966] platform l3_main.0: LATE power domain suspend                                                       
[  406.121612] platform iva.0: LATE power domain suspend                                                           
[  406.126892] platform mpu.0: LATE power domain suspend                                                           
[  406.132171] omap_l3_smx omap_l3_smx.0: LATE power domain suspend                                                
[  406.138458] reg-dummy reg-dummy: LATE suspend                                                                   
[  406.143035] PM: late suspend of devices complete after 682.739 msecs                                            
[  406.149688] Checking wakeup interrupts                                                                          
[  406.876373] Successfully put all powerdomains to target state                                                   
[  406.882507] reg-dummy reg-dummy: EARLY resume                                                                   
[  406.887115] omap_l3_smx omap_l3_smx.0: EARLY power domain resume                                                
[  406.893402] platform mpu.0: EARLY power domain resume                                                    
[  406.898681] platform iva.0: EARLY power domain resume                                                   
[  406.903961] platform l3_main.0: EARLY power domain resume  

Should the userspace suspend/resume work in a way that is similar to 
android(but in userspace):
The display would be powered off etc and the phone would try to suspend all 
the time and would fully resume when he get a good reason to do so(like a 
phone call or an user pressing the resume button).

Denis.
Radek Polak | 31 Jan 21:00 2012
Picon

Re: [Gta04-owner] QtMoko v38 for GTA04 with suspend and GSM calls

On Tuesday 31 January 2012 18:00:13 Denis 'GNUtoo' Carikli wrote:

> hi,
> how did you get suspend working reliabily?
> personally I've that:
> [  406.115966] platform l3_main.0: LATE power domain suspend
> [  406.121612] platform iva.0: LATE power domain suspend
> [  406.126892] platform mpu.0: LATE power domain suspend
> [  406.132171] omap_l3_smx omap_l3_smx.0: LATE power domain suspend
> [  406.138458] reg-dummy reg-dummy: LATE suspend
> [  406.143035] PM: late suspend of devices complete after 682.739 msecs
> [  406.149688] Checking wakeup interrupts
> [  406.876373] Successfully put all powerdomains to target state
> [  406.882507] reg-dummy reg-dummy: EARLY resume
> [  406.887115] omap_l3_smx omap_l3_smx.0: EARLY power domain resume
> [  406.893402] platform mpu.0: EARLY power domain resume
> [  406.898681] platform iva.0: EARLY power domain resume
> [  406.903961] platform l3_main.0: EARLY power domain resume

I think i saw something similar too, but in last few days suspend/resume 
worked fine.

One reason could be that the phone wakes because of signal strength change. Do 
you disable signal strength modem reports before suspend? I always send 
"AT_OSQI=0" before suspend.

Another thing is that i use QtMoko's feature which suspends phone after 20s 
when screen is locked, so it can save power on random wakeups.

> Should the userspace suspend/resume work in a way that is similar to
(Continue reading)

NeilBrown | 31 Jan 20:55 2012
Picon

Re: [Gta04-owner] QtMoko v38 for GTA04 with suspend and GSM calls

On Tue, 31 Jan 2012 19:00:13 +0100 "Denis 'GNUtoo' Carikli"
<GNUtoo <at> no-log.org> wrote:

> hi, 
> how did you get suspend working reliabily?
> personally I've that:
> [  406.115966] platform l3_main.0: LATE power domain suspend                                                       
> [  406.121612] platform iva.0: LATE power domain suspend                                                           
> [  406.126892] platform mpu.0: LATE power domain suspend                                                           
> [  406.132171] omap_l3_smx omap_l3_smx.0: LATE power domain suspend                                                
> [  406.138458] reg-dummy reg-dummy: LATE suspend                                                                   
> [  406.143035] PM: late suspend of devices complete after 682.739 msecs                                            
> [  406.149688] Checking wakeup interrupts                                                                          
> [  406.876373] Successfully put all powerdomains to target state                                                   
> [  406.882507] reg-dummy reg-dummy: EARLY resume                                                                   
> [  406.887115] omap_l3_smx omap_l3_smx.0: EARLY power domain resume                                                
> [  406.893402] platform mpu.0: EARLY power domain resume                                                    
> [  406.898681] platform iva.0: EARLY power domain resume                                                   
> [  406.903961] platform l3_main.0: EARLY power domain resume  
> 
> Should the userspace suspend/resume work in a way that is similar to 
> android(but in userspace):
> The display would be powered off etc and the phone would try to suspend all 
> the time and would fully resume when he get a good reason to do so(like a 
> phone call or an user pressing the resume button).
=

There are lots of things that can wake up the phone.
So are:
 - 3G chip signalling that something important happened
(Continue reading)


Gmane