Christian Adams | 4 Jun 2009 10:30
Picon

Re: [debian] fso+openmoko-panel-plugin: lost of errors


moinmoin,
Am 03.06.2009 um 23:29 schrieb arne anka:

> hi,
> i just upgraded to the latest fso-frameworkd available and now opp  
> has fits of eating enormous amounts of cpu.
> starting manually printed in a few minutes that lot of errors below.
>
> the objects in question are
>
> self.gsmNetworkIface = self.parentObject.tryGetInterface 
> ('org.freesmartphone.ogsmd',
>                                                                  '/ 
> org/freesmartphone/GSM/Device',
>                                                                   
> 'org.freesmartphone.GSM.Network')
>
>
> self.gsmPDPIface = self.parentObject.tryGetInterface 
> ('org.freesmartphone.ogsmd',
>                                                              '/org/ 
> freesmartphone/GSM/Device',
>                                                               
> 'org.freesmartphone.GSM.PDP')
>
> and the methods listed as "has no attribute" (GetContextStatus,  
> GetNetworkStatus, GetStatus) are listed with mdbus -s.
> in my tests manually with mdbus they all simply fail with NoReply.
>
(Continue reading)

arne anka | 11 Jun 2009 18:48
Picon
Favicon

Re: [debian] fso+openmoko-panel-plugin: lost of errors

> at first sight this looks like frameworkd gets no connection to the  
> gsmmodem

seems indeed like an fso issue -- when the problem occurs, i can't call  
anymore.
loooks like some kind of timeout, or being related to supend/resume.

nevertheless should opp handle that more gracefully, i just noticed it  
being at 83% cpu constantly.
while trying to disable gsm to prevent that cpu load, i noticed that it is  
not possible to disable gms in the config file. where does that kind of  
information live?

latest opp i tried is 20090607_20_ms5.
Luca Capello | 4 Jun 2009 17:52
Picon
Favicon

Re: [debian] fso+openmoko-panel-plugin: lost of errors

Hi there!

On Thu, 04 Jun 2009 10:30:57 +0200, Christian Adams wrote:
> Am 03.06.2009 um 23:29 schrieb arne anka:
>
>> hi,
>> i just upgraded to the latest fso-frameworkd available and now opp
>> has fits of eating enormous amounts of cpu.
[...]
>> is this an opp bug or rather due to some changes in fso-frameworkd?
>> and how do i fix that?
[...]
> at first sight this looks like frameworkd gets no connection to the
> gsmmodem
> and thus is unable to setup the corresponding dbus-interface opp
> wants to
> connect to .. repeatedly .. endlesly ..

Well, this is quite strange since I used it without any problem on my
GTA01 and technically speaking the last fso-* versions uploaded to main
should be no different from the previous ones, except for some details
regarding the Debian packaging.

Thx, bye,
Gismo / Luca
_______________________________________________
Smartphones-userland mailing list
Smartphones-userland <at> linuxtogo.org
(Continue reading)

Juan Cañete | 4 Jun 2009 20:44
Picon

Re: [debian] fso+openmoko-panel-plugin: lost of errors

Hi, 

Does OPP show your battery level on the Neo1973? On mine doesn't work. if yes, what kernel do you use? and
finally,  does anybody know if the neo1973 kernel is going to be supported as a debian package?

bye.

El Thu, 04 Jun 2009 17:52:12 +0200
Luca Capello <luca <at> pca.it> escribió:

> Hi there!
> 
> On Thu, 04 Jun 2009 10:30:57 +0200, Christian Adams wrote:
> > Am 03.06.2009 um 23:29 schrieb arne anka:
> >
> >> hi,
> >> i just upgraded to the latest fso-frameworkd available and now opp
> >> has fits of eating enormous amounts of cpu.
> [...]
> >> is this an opp bug or rather due to some changes in fso-frameworkd?
> >> and how do i fix that?
> [...]
> > at first sight this looks like frameworkd gets no connection to the
> > gsmmodem
> > and thus is unable to setup the corresponding dbus-interface opp
> > wants to
> > connect to .. repeatedly .. endlesly ..
> 
> Well, this is quite strange since I used it without any problem on my
> GTA01 and technically speaking the last fso-* versions uploaded to main
(Continue reading)

Luca Capello | 5 Jun 2009 04:09
Picon
Favicon

[debian] openmoko-panel-plugin and GTA01 battery (was Re: [debian] fso+openmoko-panel-plugin: lost of errors)

Hi Juan!

Please do not hijack threads and while we are at it do not top-post
either <http://en.wikipedia.org/wiki/Top_posting>, TIA.

On Thu, 04 Jun 2009 20:44:25 +0200, Juan Cañete wrote:
> Does OPP show your battery level on the Neo1973? On mine doesn't
> work. if yes, what kernel do you use?

It does not work with kernel 2.6.24 from FSO-milestone5.1

  uImage-2.6.24-oe5+gitrfb42ce6724576fc173faf8abfb04aa2c36d213b7-r1-om-gta01.bin

However, apm shows the battery status as expected and the battery is
indeed present in sysfs:
=====
debian-gta01:~# apm
On-line, battery charging

debian-gta01:~# cat /proc/apm
1.13 1.2 0x02 0x01 0x03 0x08 -1% -1 ?

[USB cable removed]

debian-gta01:~# apm
Off-line: 62%

debian-gta01:~# cat /proc/apm
1.13 1.2 0x02 0x00 0xff 0xff 60% -1 ?

(Continue reading)

Christian Adams | 5 Jun 2009 09:33
Picon

Re: [debian] openmoko-panel-plugin and GTA01 battery (was Re: [debian] fso+openmoko-panel-plugin: lost of errors)


moinmoin,

Am 05.06.2009 um 04:09 schrieb Luca Capello:

> Hi Juan!
>
> Please do not hijack threads and while we are at it do not top-post
> either <http://en.wikipedia.org/wiki/Top_posting>, TIA.
>
> On Thu, 04 Jun 2009 20:44:25 +0200, Juan Cañete wrote:
>> Does OPP show your battery level on the Neo1973? On mine doesn't
>> work. if yes, what kernel do you use?
>
> It does not work with kernel 2.6.24 from FSO-milestone5.1
>
>   uImage-2.6.24-oe5+gitrfb42ce6724576fc173faf8abfb04aa2c36d213b7-r1- 
> om-gta01.bin
>
> However, apm shows the battery status as expected and the battery is
> indeed present in sysfs:
> =====
> debian-gta01:~# apm
> On-line, battery charging
>
> debian-gta01:~# cat /proc/apm
> 1.13 1.2 0x02 0x01 0x03 0x08 -1% -1 ?
>
> [USB cable removed]
>
(Continue reading)

Luca Capello | 6 Jun 2009 11:56
Picon
Favicon

[debian] frameworkd upgrade (was Re: [debian] openmoko-panel-plugin and GTA01 battery)

Hi Christian!

On Fri, 05 Jun 2009 09:33:09 +0200, Christian Adams wrote:
> i also think there are some things missing in current debian-
> frameworkd (usb-plugin currently can't
> function (on my GTA02) the way it should because the dbus-object is
> missing some functions)

Do you mean that frameworkd from FSO-milestone5.1 behaves differently
From the Debian version 0.8.4.9-20090130-4?  I just discovered this
version is FSO-milestone5 and not the 5.1, thus this is expected.  I
will update it during the week-end.

> i would be glad if we could get newer frameworkd on debian .. is
> there an estimate when this could happen?

As I said above, this week-end for FSO-milestone5.1.  For everything
more recent, the major problem is that we need fso-abyss, which Heiko
Stübner started to package back in April 2009:

  http://projects.linuxtogo.org/pipermail/smartphones-userland/2009-April/001427.html
  http://lists.alioth.debian.org/pipermail/pkg-fso-maint/2009-April/000976.html

I should admit that I am a bit lost in this respect, but I am ready to
review any package needed for new frameworkd versions.  My idea was to
wait for FSO-milestone5.5 (and thus in the meantime focus on other
stuff, kernel and so on), but it seems that the bug number is rising
instead of decreasing:

  http://trac.freesmartphone.org/milestone/milestone5.5
(Continue reading)

Luca Capello | 6 Jun 2009 20:40
Picon
Favicon

Re: [debian] frameworkd upgrade

Hi there!

On Sat, 06 Jun 2009 11:56:56 +0200, Luca Capello wrote:
> On Fri, 05 Jun 2009 09:33:09 +0200, Christian Adams wrote:
>> i also think there are some things missing in current debian-
>> frameworkd (usb-plugin currently can't
>> function (on my GTA02) the way it should because the dbus-object is
>> missing some functions)
>
> Do you mean that frameworkd from FSO-milestone5.1 behaves differently
> From the Debian version 0.8.4.9-20090130-4?  I just discovered this
> version is FSO-milestone5 and not the 5.1, thus this is expected.  I
> will update it during the week-end.

I just uploaded the frameworkd from FSO-milestone5.1 to Debian, it
should be available shortly: I successfully sent/received both a call
and an SMS, so it should be OK.

Thx, bye,
Gismo / Luca
_______________________________________________
Smartphones-userland mailing list
Smartphones-userland <at> linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Christian Adams | 6 Jun 2009 14:53
Picon

Re: [debian] frameworkd upgrade (was Re: [debian] openmoko-panel-plugin and GTA01 battery)


hi luca,

could you please test current version of opp available at
http://projects.openmoko.org/projects/panel-plugin/

and could you please give me some hints how to properly build the .deb
and upload it to alioth?

cheers,
	christian (morlac) adams
--
-----BEGIN CONTACT BLOCK-----
   eMail:	morlac <at> morlac.de
   Jabber:	morlac <at> skavaer.homelinux.org
------END CONTACT BLOCK------

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++)>++++;UL++++;P++(+++)>++++;
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++;
D++(+++)>++++;G(+)>++;e+>+++;h-()>++;r++;y++;
------END GEEK CODE BLOCK------

Luca Capello | 7 Jun 2009 12:24
Picon
Favicon

openmoko-panel-plugin, batteries and kernel (was Re: [debian] frameworkd upgrade)

Hi Christian!

Please do not hijack threads, we were talking about frameworkd upgrades
before, I changed again the subject ;-)

On Sat, 06 Jun 2009 14:53:53 +0200, Christian Adams wrote:
> could you please test current version of opp available at
> http://projects.openmoko.org/projects/panel-plugin/

On my GTA01:

- 2.6.24 from FSO-milestone5.1 has bat_th_gta01
    oe5+gitrfb42ce6724576fc173faf8abfb04aa2c36d213b7-r1

  Your patch it not enough and it complains:
=====
INFO:root:entering init for battery
INFO:root:error on setting up and probing dbus-interface
        (org.freedesktop.DBus.Error.UnknownMethod: Method "GetInfo" with \
 signature "" on interface "org.freesmartphone.Device.PowerSupply" doesn't exist)
INFO:root:assuming hardware is GTA01 ..
ERROR:root:error: no valid dbus-interface found ..
        (tryGetInterface() takes exactly 4 arguments (3 given))
INFO:root:entering deferred init for battery
=====

  The easiest way to fix it is the following patch on top of yours:
--8<---------------cut here---------------start------------->8---
--- BatteryIcon.py.ORG	2009-06-07 11:02:18.000000000 +0200
+++ BatteryIcon.py	2009-06-07 11:27:37.000000000 +0200
(Continue reading)

Christian Adams | 7 Jun 2009 19:54
Picon

Re: openmoko-panel-plugin, batteries and kernel (was Re: [debian] frameworkd upgrade)


hi luca,

Am 07.06.2009 um 12:24 schrieb Luca Capello:

> Hi Christian!
>
> Please do not hijack threads, we were talking about frameworkd  
> upgrades
> before, I changed again the subject ;-)

sorry - hijack was not intentional =]

> On Sat, 06 Jun 2009 14:53:53 +0200, Christian Adams wrote:
>> could you please test current version of opp available at
>> http://projects.openmoko.org/projects/panel-plugin/
>
> On my GTA01:
>
> - 2.6.24 from FSO-milestone5.1 has bat_th_gta01
>     oe5+gitrfb42ce6724576fc173faf8abfb04aa2c36d213b7-r1

[..]

i applied your patch to our svn and will upload current version to
projects.OM in a few minutes
(thx for your test - due to a lack of a gta01 i was not able to test  
myself)

> - 2.6.29 from Openmoko unstable (different kernel than yesterday)
(Continue reading)

Heiko Stübner | 6 Jun 2009 14:01
Picon

Re: [debian] frameworkd upgrade (was Re: [debian] openmoko-panel-plugin and GTA01 battery)

Hi Luca,

Am Samstag 06 Juni 2009 11:56:56 schrieb Luca Capello:
> As I said above, this week-end for FSO-milestone5.1.  For everything
> more recent, the major problem is that we need fso-abyss, which Heiko
> Stübner started to package back in April 2009:
abyss is not strictly necessary for newer framework-versions. On the contrary 
current framework supports both abyss and fso-gsm0710muxd. So, no problem 
there :-). Instead abyss needs a more current framework-version to work.

> http://projects.linuxtogo.org/pipermail/smartphones-userland/2009-April/001
>427.html
> http://lists.alioth.debian.org/pipermail/pkg-fso-maint/2009-April/000976.ht
>ml
>
> I should admit that I am a bit lost in this respect, but I am ready to
> review any package needed for new frameworkd versions.  My idea was to
> wait for FSO-milestone5.5 (and thus in the meantime focus on other
> stuff, kernel and so on), but it seems that the bug number is rising
> instead of decreasing:
I use only abyss since my announcement in April and don't have more hickups 
than with the previous muxer. Last weekend I updated the needed packages to 
current git-snapshots and was only waiting for vala 0.7.3 to enter debian.
The only problem right now is the needed abyss-configuration which was 
discussed on pkg-fso in April. 

I would be happy about some review on my packaging attempts. You can get the 
sources on http://git.sntech.de and built versions from these source from my 
deb-pool on http://debian.sntech.de/debian/ sid main .
You will need libfsoframework, libfsotransport, libgsm0710, libgsm0710mux and 
(Continue reading)

Luca Capello | 7 Jun 2009 15:08
Picon
Favicon

Re: [debian] frameworkd upgrade

Hi Heiko!

On Sat, 06 Jun 2009 14:01:05 +0200, Heiko Stübner wrote:
> Am Samstag 06 Juni 2009 11:56:56 schrieb Luca Capello:
>> As I said above, this week-end for FSO-milestone5.1.  For everything
>> more recent, the major problem is that we need fso-abyss, which Heiko
>> Stübner started to package back in April 2009:
> abyss is not strictly necessary for newer framework-versions. On the contrary 
> current framework supports both abyss and fso-gsm0710muxd. So, no problem 
> there :-). Instead abyss needs a more current framework-version to work.

Thank you for the detailed explanation!

>> I should admit that I am a bit lost in this respect, but I am ready to
>> review any package needed for new frameworkd versions.  My idea was to
>> wait for FSO-milestone5.5 (and thus in the meantime focus on other
>> stuff, kernel and so on), but it seems that the bug number is rising
>> instead of decreasing:
> I use only abyss since my announcement in April and don't have more hickups 
> than with the previous muxer. Last weekend I updated the needed packages to 
> current git-snapshots and was only waiting for vala 0.7.3 to enter debian.
> The only problem right now is the needed abyss-configuration which was 
> discussed on pkg-fso in April. 

Yeap, I remember that one and I fully agree with Timo for the udev
solution.

> I would be happy about some review on my packaging attempts. You can get the 
> sources on http://git.sntech.de and built versions from these source from my 
> deb-pool on http://debian.sntech.de/debian/ sid main .
(Continue reading)

Luca Capello | 5 Jun 2009 14:44
Picon
Favicon

Re: [debian] openmoko-panel-plugin and GTA01 battery

Hi Christian!

Please quote only the relevant part of previous messages, TIA.

On Fri, 05 Jun 2009 09:33:09 +0200, Christian Adams wrote:
> Am 05.06.2009 um 04:09 schrieb Luca Capello:
>> 1) on 2.6.24, since the sysfs battery name is bat-th-gta01, frameworkd's
>>    D-Bus object one is bat_th_gta01, while o-p-p expects bat.  2.6.29
>>    has battery, thus this error is not present, but the next one is
>>    related to temperature, not provided by the gta01_battery driver.
>>
>>    BTW, I still fail to understand why the sysfs name is not BAT0, and
>>    this still applies to the GTA02 battery: AFAIK this is the name
>>    mostly used by laptop battery drivers and it is the most sensible one
>>    (since this is the first battery available).
>>
>> 2) o-p-p wants to access a sysfs file which is not present
[...]
>> Michael, am I right if I say that all these information should be
>> provided by frameworkd, but they are not yet available?
[...]
>
> luca, which changes to OPP would you suppose me to make? i don't
> really like do depend on the sysfs-paths but for now i don't see a
> better way to get these infos or do i oversee some dbus objects which
> could handle these?

Actually, I think we should split the problem into small parts...

1) Identify the battery
(Continue reading)

Luca Capello | 5 Jun 2009 02:27
Picon
Favicon

[debian] Kernel package for GTA01 (was Re: [debian] fso+openmoko-panel-plugin: lost of errors)

Hi Juan!

Please do not hijack threads and while we are at it do not top-post
either <http://en.wikipedia.org/wiki/Top_posting>, TIA.

On Thu, 04 Jun 2009 20:44:25 +0200, Juan Cañete wrote:
> and finally,  does anybody know if the neo1973 kernel is going to be
> supported as a debian package?

I have not found the time yet to minimize the differences between the
GTA01 and GTA02 kernels, even if as Tim Niemeyer suggested there are
some incompatible options which would probably oblige separate kernel
packages:

  http://lists.linuxtogo.org/pipermail/smartphones-userland/2009-April/001400.html
  http://bugs.debian.org/503292

If anyone wants to help, here my roadmap in this respect:

1) get a minimal kernel .config which can boot and give SSH access, thus
   no support for other "accessory" features (sound, video, etc.)

2) remove any GTA01-specific option and check if it still boots and give
   SSH access

3) try this "general" S3C kernel on GTA02, always with the same checks

4) add every GTA01/GTA02 driver as module and document which modules
   should be loaded at boot to have *full* support

(Continue reading)


Gmane