arne anka | 2 Apr 11:55 2010
Picon

[debian/fso] w/o sim battery empties alarmingly fast

since i did get only half an answer on community <at> om, i re-post here:

well, i have to confess, i fell off the waggon and bought an n900, too --
already got the impression i was one of the last of the mohicans using the
fr as sole phone (or phone at all).

anyway, now the fr doesn't have a sim card anymore, i expected the battery
to last much longer than the usual 3 days -- but, actually, it goes flat
very, very fast!
what does fso do when no sim is detected? imo it should disable everything
related to telephony and thus save a lot of power, but that doesn't seem
to be what happens.

the second best bet would probably be to manually diasble all kind of
stuff in some config files, but which would that be?
but i would very much prefer the first scenario, allowing me to put a sim
back in and use the fr as a phone w/o any changes.

addendum:
on community <at> om was suggested to use a disabled sim, that would stop the  
drain.
i got a 3g sim for the n900 and put the disabled 2g sim in the fr, the fr  
asked for the pin -- and regsitered apparently which scares me a little.
can not make calls as it seems, but provider and bars are shown correctly  
...
Michael 'Mickey' Lauer | 2 Apr 16:00 2010
Picon

Re: HTC Dream status ?

Salut Alain,

> I have recently bought an HTC Dream (a T-Mobile G1).

Congrats and welcome on board!

> What is the situation ? (I have tried the leviathan/gnu-conform kernel with an
> Angstrom image of my IPAQ h2200, to try it quickly)  Can FSO1 be used ?

Yes, FSO1 could be used, but it's in bugfix-only mode since long. I'd
rather use FSO2.

The general state of things is like that: FSO2 is supporting many things
on the dream and I'm right now working on zhone2 (in Vala/C) as a small
smartphone FSO demo application. My current target platforms are HTC
Dream and Palm Pre -- some first screenshots  <at>  linuxtogo.org, page2 or
3.

The good things:

 * keyboard, keys, buttons, switches, touchscreen works fine (no
multitouch though)
 * leds, backlight, power supply reporting works fine
 * telephony works fine (htc_qualcomm_dream plugin)
 * UMTS data connectivity works fine (pdp_qmi plugin)

The bad things:
 * Wifi and BT status unknown
 * resume does not reinit the panel without changing to vt1 and back
(flicker, flicker) -- needs some kernel experts
(Continue reading)

Michael 'Mickey' Lauer | 2 Apr 16:09 2010
Picon

Re: [debian/fso] w/o sim battery empties alarmingly fast

Am Freitag, den 02.04.2010, 11:55 +0200 schrieb arne anka:
> since i did get only half an answer on community <at> om, i re-post here:
> 
> well, i have to confess, i fell off the waggon and bought an n900, too --

Ah, that's too bad... we would rather need help with the HTC dream and
the Palm Pre.

> anyway, now the fr doesn't have a sim card anymore, i expected the battery
> to last much longer than the usual 3 days -- but, actually, it goes flat
> very, very fast!
> what does fso do when no sim is detected? imo it should disable everything
> related to telephony and thus save a lot of power, but that doesn't seem
> to be what happens.

FSO does nothing in particular when it recognizes a missing SIM, which
is the correct thing to do, as you could still do emergency calls or
receive cell broadcasts. FSO-clients should rather shutdown the GSM
resource, if they do not want to use it.

> the second best bet would probably be to manually diasble all kind of
> stuff in some config files, but which would that be?

[ogsmd]
disable = 1

Cheers,

--

-- 
:M:
(Continue reading)

Michael 'Mickey' Lauer | 4 Apr 22:34 2010
Picon

Re: HTC Dream status ?

Am Freitag, den 02.04.2010, 16:00 +0200 schrieb Michael 'Mickey' Lauer:
> As you would expect. echo "mem" >/proc/power/state suspends the dream,
> echo "on" >/proc/power/state resumes it. Apart from the display init on
> resume problem this works great. I have added support for this in
> fsousaged lowlevel plugin lowlevel_htc_qualcomm_dream -- feel free to
> take a look.

I need to take this back, apparantly suspend/resume is completely broken
in our kernel, what we see is only sleep mode, i.e. automatic CPUfreq on
demand. With this we get 7h of runtime, which is ok, but out of question
for day 2 day use.

Someone needs to look into why suspend/resume is broken in our 2.6.32 --
again, kernel experts necessary.

--

-- 
:M:
Alain2210 | 5 Apr 12:01 2010
Picon

Re: HTC Dream status ?

Gutentag Mickey,

Selon Michael 'Mickey' Lauer <mickey <at> vanille-media.de>:

> Salut Alain,
>
> > I have recently bought an HTC Dream (a T-Mobile G1).
>
> Congrats and welcome on board!

Thanks for all your work on this.

>
> > What is the situation ? (I have tried the leviathan/gnu-conform kernel with
> an
> > Angstrom image of my IPAQ h2200, to try it quickly)  Can FSO1 be used ?
>
> Yes, FSO1 could be used, but it's in bugfix-only mode since long. I'd
> rather use FSO2.

So I will try it.

>
> The general state of things is like that: FSO2 is supporting many things
> on the dream and I'm right now working on zhone2 (in Vala/C) as a small
> smartphone FSO demo application. My current target platforms are HTC
> Dream and Palm Pre -- some first screenshots  <at>  linuxtogo.org, page2 or
> 3.

I have seen this. Thanks a lot.
(Continue reading)

Heiko Stübner | 5 Apr 15:38 2010
Picon

vala-dbus-binding-tool stuff

Hi,

two things I noticed while building vdbt:

- the official vdbt-release on downloads.freesmartphone.org is missing the 
config.vapi in it's vapi dir, so it fails to compile, it's in the git so it 
seems to have gone missing during the creation of the release.

- it's throwing high amounts of warnings about signedness issues

This seems to be caused by conversions from xmlChar which is unsigned to char 
(which seems to default to signed) for example in vala-dbus-binding-tool.vala 
line 258 when $(iter->name) is given to string_to_string as simple char.

Heiko
Klaus 'mrmoku' Kurzmann | 5 Apr 21:22 2010
Picon

missing URC handlers for calypso

Hello,

as ordered by the log:

No handler for URC %CPI w/ rhs 
1,9,0,0,0,0,"+49178xyzvxyz",145,"004D006F006B0020",,0, please report to Mickey 
<smartphones-userland <at> linuxtogo.org>

No handler for URC %CPI w/ rhs 
1,3,0,0,0,0,"+49178xyzvxyz",145,"004D006F006B0020",,0, please report to Mickey 
<smartphones-userland <at> linuxtogo.org>

No handler for URC %CCCN w/ rhs 0,0,A10E0201000201103006810128840107, please 
report to Mickey <smartphones-userland <at> linuxtogo.org>

No handler for URC %CPI w/ rhs 
1,4,0,1,0,0,"+49178xyzvxyz",145,"004D006F006B0020",,0, please report to Mickey 
<smartphones-userland <at> linuxtogo.org>

No handler for URC %CPI w/ rhs 
1,1,1,1,0,0,"+49178xyzvxyz",145,"004D006F006B0020",17,0, please report to 
Mickey <smartphones-userland <at> linuxtogo.org>

No handler for URC %CPI w/ rhs 
1,1,1,0,0,0,"+49178xyzvxyz",145,"004D006F006B0020",17,0, please report to 
Mickey <smartphones-userland <at> linuxtogo.org>

No handler for URC BUSY w/ rhs , please report to Mickey <smartphones-
userland <at> linuxtogo.org>

(Continue reading)

Michael 'Mickey' Lauer | 5 Apr 21:53 2010
Picon

Re: missing URC handlers for calypso

Excellent, thanks!

:M:
Michael 'Mickey' Lauer | 5 Apr 22:28 2010
Picon

Re: HTC Dream status ?

Salut,

> > The good things:
> >
> >  * keyboard, keys, buttons, switches, touchscreen works fine (no
> > multitouch though)
> 
> you get all the keyboard keys ? / tab etc ?

Yes, at least from an input device level node, i'm not using X, so I
don't know whether the xmodmap is correct.

> 
> >  * leds, backlight, power supply reporting works fine
> >  * telephony works fine (htc_qualcomm_dream plugin)
> >  * UMTS data connectivity works fine (pdp_qmi plugin)
> 
> Can gprs and phone be used in 2G ? where can it be choose ? (in android, I have
> seen that 3G can be enable or diseable).

GPRS (or EDGE) can be used fine, both works, even in parallel. As for
chosing, a canonical approach is to use the proper +COPS call, there you
can choose as last parameter which access technology you want.
I'm not 100% sure whether there is any other means to "forbid" 3G
networks.

> > echo "on" >/proc/power/state resumes it.
> 
> A very stupid question : how can I do this if the phone is suspended ?

(Continue reading)

Michael 'Mickey' Lauer | 6 Apr 00:54 2010
Picon

HTC Dream Suspend/Resume (was: HTC Dream status ?)

More updates here...

> The truth is, obviously in our 2.6.32 for some reason that is unknown,
> we don't get the "freezing tasks... CPU halted" messages, which probably
> means the earlysuspend (android invention :/) or the wakelocks (android
> invention :/) are giving us problems / aborting the suspend / whatever.

Once I removed the usb vbus wakelock in htc_battery.c, the freezing
tasks started to appear (which is good). The bad thing is it is then
stuck in a suspend/resume loop -- it immediately resumes after suspend.
(Yes, I even removed all wakelocks from the defconfig to make sure they
don't interfere).

I'm lucky I got so far, but now I really need some help from kernel
people.

--

-- 
:M:

Gmane