[pkg-fso-maint] fso-config-gta* differences

Luca Capello luca at pca.it
Mon Jun 8 01:14:45 UTC 2009


Hi there!

On Wed, 03 Jun 2009 02:08:18 +0200, Luca Capello wrote:
> On Sun, 17 May 2009 21:02:50 +0200, Luca Capello wrote:
>> On Fri, 15 May 2009 12:36:49 +0200, Luca Capello wrote:
>>> 2) freesmartphone.org core packages
> [...]
>> * openmoko-files (fso-config-gta01, fso-config-gta02)
>>
>>   First question: should we find a better name?  Something like
>>   openmoko-files-config?  I think it could be a safer name and also in
>>   line with openmoko-files-nonfree, i.e. openmoko-files-* sources.
>
> In two days I will rename the source package to openmoko-files-config if
> no one complains before.

  http://git.debian.org/?p=pkg-fso/openmoko-files-config.git

>>   Apart from that, I will merge every common file, in order to minimize
>>   the differences.  This will probably take a bit...
>
> This is what I discovered (useless differences removed):
[...]
> 1) GTA01 /etc/freesmartphone/oevents/rules.yaml is not the one from the
>    official FSO-milestone5.1 images for GTA01, which is exactly the same
>    as the GTA02 version, thus it should be common.

  http://git.debian.org/?p=pkg-fso/openmoko-files-config.git;a=commitdiff;h=fd5c60d64271783fa9088b72bb9dfa46242ab3da

> 2) /etc/freesmartphone/opreferences/conf/phone/default.yaml is managed
>    by the fso-sounds virtual package, which means that it should not be
>    there.  Unfortunately, since this is a conffile, removing it will be
>    for sure a pain :-(

  http://git.debian.org/?p=pkg-fso/openmoko-files-config.git;a=commitdiff;h=55bbe7b23b91154932500f2e1358b3ff7e004ce2

I will prepare the fso-config-gta01.postinst in the following days

> 3) the /etc/freesmartphone/opreferences/conf/profiles/* files are
>    exactly the same for both packages, thus they should be common.

  http://git.debian.org/?p=pkg-fso/openmoko-files-config.git;a=commitdiff;h=6dafcd1b5f4d915f042cce35da2a0b6950183b70

> 4) What are the /etc/freesmartphone/opreferences/conf/rules/* files?
>    Better, why are they present only in the fso-config-gta01 package?  I
>    guess these are general files, thus they should be common.

Even if no one replied, these files are present in upstream FSO images
as well and they are part of frameworkd sources, thus I have installed
them for the fso-config-gta02 package as well:

  http://git.debian.org/?p=pkg-fso/openmoko-files-config.git;a=commitdiff;h=a85c2df1881c846a2577a4bf378a477a384b7728

> 6) the udev rules are mostly the same
[...]
>   a) on Debian there is /lib/udev/firmware.agent, which is never called
>      by any rule, thus I would suspect it is done automatically.  This
>      means that the first lines can be removed.

Removed.

>   b) the touchscreen is the same for both models and indeed the GTA01
>      udev rule is a more general version of the GTA02 one.  Now that
>      xf86-video-glamo is in Debian main, at least I do not support
>      Xglamo anymore, thus the /dev/ts symlink is useless.  Moreover, I
>      prefer by far any symlink in the /dev/input/ folder, where they
>      belongs.  Either we remove these lines altogether or we leave the
>      specific one for the /dev/input/touchscreen0 symlink.

I left the general one.

>   c) I have not checked if the ttySAC symlinks to the s3c2410_serial are
>      not already automatically created, shouldn't they?

They are useful, otherwise you get /dev/s3c2410_serial[0|9] devices
instead of /dev/ttySAC[0|9].  This rule should probably be merged into
the general udev ones, but until then we must provide it.

The udev rules file is now common to both packages:

  http://git.debian.org/?p=pkg-fso/openmoko-files-config.git;a=commitdiff;h=175794754a1c6284a8141996269bab226a241e74

> 7) while it is normal that /etc/frameworkd.conf are different, however
>    they both do not come from the official FSO-milestone5.1 images:
[...]
>   While we should try to follow upstream, I would prefer to keep as many
>   options as possible common to the two packages, e.g. the logging ones.
>   Thus, since WRT frameworkd the only differences should be about the
>   GPS chipset and the accelerometers.

I started from the one provided by the fso-config-general package, which
is the one installed in /usr/share/doc/fso-frameworkd/example/:

  http://git.debian.org/?p=pkg-fso/fso-frameworkd.git;a=commitdiff;h=2a09fef25b11dace665b5cc73941ec5bdaeef5ca

The result is:

  http://git.debian.org/?p=pkg-fso/openmoko-files-config.git;a=commitdiff;h=9d01b6295a7f059227a998599b1108fb77d81125

I tested the GTA01 versions and at least I could send/receive a call.
On my GTA02 the GSM seems not have some problems, but I get them with
the old frameworkd.conf as well, thus I do not consider them related to
the changes I made.  OTOH, the GTA02 can get a GPS fix in Zhone and
TangoGPS (I do not have the binary driver for GTA01 yet).

One major difference is that now frameworkd logs to stderr, instead of
to /var/log/frameworkd.log (for GTA01, too many write cycles for the
microSD) or to nothing (for GTA02).  The best option would be to have it
to log to syslog by default, especially for users like Enrico:

  http://www.enricozini.org/2008/tips/logging-on-the-freerunner/

This should be taken into account for the next uploads.

> I will work to implement/test all of the aboves in the next days, again
> if no one complains before.

The package will land in NEW in the following days :-)

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090608/98066232/attachment.pgp>


More information about the pkg-fso-maint mailing list