[Debian] How do I change the ringtone again?

2009-03-23 Thread Enrico Zini
Hello,

I've changed microSD card and now I can use the FreeRunner as a
phone(ish) a bit more.  However, the default FSO ringtone is not
something that can be acceptably blasted at full volume in any of the
social circles that I associate with[1].

How do I change the ringtone in Debian?

I have installed fso-sounds-yue-base and fso-sounds-yue-full but I still
get Arkanoid_PSID.sid

Neither fso-sounds-yue-base nor fso-sounds-yue-full have any useful
information in /usr/share/doc.

I recall that some time ago I changed the ringtone by editing
frameworkd's source code, and I know that I can dpkg-divert some files
if needed, but what's the clean and easy and suggested way?


Ciao,

Enrico


[1] Nor I would want to be associated with any group that would accept
the practice of suddenly blasting Arkanoid_PSID.sid at full volume
except for scaring aggressive rabid dogs.
-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini 


signature.asc
Description: Digital signature
___
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland


Re: [Debian] How do I change the ringtone again?

2009-03-23 Thread Luca Capello
Hi Enrico!

On Mon, 23 Mar 2009 21:36:33 +0100, Enrico Zini wrote:
> I've changed microSD card and now I can use the FreeRunner as a
> phone(ish) a bit more.  However, the default FSO ringtone is not
> something that can be acceptably blasted at full volume in any of the
> social circles that I associate with[1].

I planned to do this a long time ago, but I have never did:
fso-sounds-yue-base should become the default one any fso-config-*
package depends on, if not at least because of licensing issues.  Done:

http://git.debian.org/?p=pkg-fso/fso-frameworkd.git;a=commitdiff;h=5af215c0a7c426e2fa174846276fd3e6f36aabd9
http://git.debian.org/?p=pkg-fso/openmoko-files.git;a=commitdiff;h=ca801cfaec3645dca833aba82c2b00436781ea5b

Please let me know if I need to upload a new package just for this
change: I would say so, but since we are not in a hurry...

> How do I change the ringtone in Debian?

# update-alternatives --config fso-frameworkd-default-sounds.yaml

> I have installed fso-sounds-yue-base and fso-sounds-yue-full but I
> still get Arkanoid_PSID.sid

This because the priority of every config file is at 20, thus Arkanoid
wins.  Maybe should be set the priority of the yue sounds to higher
levels?

> Neither fso-sounds-yue-base nor fso-sounds-yue-full have any useful
> information in /usr/share/doc.

The documentation is in /usr/share/doc/fso-frameworkd/README.Debian:

--8<---cut here---start->8---
* fso-sounds virtual package

At least two sound files are needed, the ring- and message-tones, to
be placed in /usr/share/sounds.  Each package shipping these two
sounds must provide the virtual package fso-sounds and its name must
be in the form fso-sounds-$ORIGIN.

The default upstream FSO frameworkd profile lists these sounds in
/etc/freesmartphone/opreferences/conf/phone/default.yaml.  However, to
allow an easier customization, each fso-sounds-* package should
provide a phone file named after the $ORIGIN part of the package name,
to be installed into /usr/share/fso-sounds-rules.  This file should
then be registered as an alternative for the upstream default file
through update-alternatives.  The fso-sounds-none package can be used
as an example.

If you want to know a list of all availables fso-sounds-* package,
please use `apt-cache showpkg fso-sounds`, section "Reverse Provides".


--8<---cut here---end--->8---

I would say that this is the correct location for such documentation,
since you want to use it with fso-frameworkd.  However, we can add a
note in the fso-sounds-* packages as well, simply pointing at the
fso-frameworkd README.Debian.

Thx, bye,
Gismo / Luca


pgpsu4SdzS98V.pgp
Description: PGP signature
___
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland


Re: [Debian] How do I change the ringtone again?

2009-03-23 Thread Gilles Filippini
Hi Enrico,

Enrico Zini a écrit :
> Hello,
>
> I've changed microSD card and now I can use the FreeRunner as a
> phone(ish) a bit more.  However, the default FSO ringtone is not
> something that can be acceptably blasted at full volume in any of the
> social circles that I associate with[1].
>
> How do I change the ringtone in Debian?
>
> I have installed fso-sounds-yue-base and fso-sounds-yue-full but I still
> get Arkanoid_PSID.sid
>
> Neither fso-sounds-yue-base nor fso-sounds-yue-full have any useful
> information in /usr/share/doc.
>
> I recall that some time ago I changed the ringtone by editing
> frameworkd's source code, and I know that I can dpkg-divert some files
> if needed, but what's the clean and easy and suggested way?

Everything you need is there: http://wiki.openmoko.org/wiki/FSO_ringtones

Cheers,

_Gilles.

___
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland


Bug#520955: ITP: xserver-xorg-video-glamo -- X.Org X server -- SMedia Glamo display driver

2009-03-23 Thread Luca Capello
Package: wnpp
Owner: Luca Capello 
Severity: wishlist
User: pkg-fso-ma...@lists.alioth.debian.org
Usertags: package-creation

* Package name: xserver-xorg-video-glamo
  Version : MMDD.gitCOMMIT (read below)
  Upstream Author : mainly Lars-Peter Clausen 
* URL or Web page : http://git.openmoko.org/?p=xf86-video-glamo.git;a=summary
* License : multiple, mostly XFree86 (full texts below)
  Description : X.Org X server -- SMedia Glamo display driver
 This package provides the driver for the SMedia Glamo 3362 chipset,
 mostly found on the Openmoko Neo FreeRunner (GTA02).
 .
 More information about X.Org can be found at:
 http://www.X.org>
 http://xorg.freedesktop.org>
 http://lists.freedesktop.org/mailman/listinfo/xorg>
 .
 This package is built from the X.Org xf86-video-glamo driver module.
=

NB, I cc:ed a lot of lists: please refrain to discuss non-Debian issues
on all of them.  Except for general issues, pkg-fso-maint@ is the most
relevant one, which should always be cc:ed, TIA.

This driver is based on the XFree86 fbdev driver, then adapted to the
SMedia Glamo chipset, more information are available at

  http://wiki.openmoko.org/wiki/Smedia_Glamo_3362

In my plan, this supersedes the Xglamo kdrive X11 server, which AFAIK is
not update anymore, ATM available in the pkg-fso repository at

  http://pkg-fso.alioth.debian.org

The xserver-xorg-video-glamo package as well will be maintained under
the pkg-fso umbrella, but I would like to work as close as possible with
the X Strike Force, to be sure the package conforms their standards.  If
the X Strike Force would like to take care of the package, I would more
than glad to "offer" it to them...


In src/glamo-driver.c, GLAMO_VERSION is set to 1000: however, this
driver has not seen any public release yet, thus my intent to use the
date of the last Git commit plus the first 8 letters of the Git commit
itself as upstream version.


The full license texts are:

- from COPYING file
  ==
  Copyright (C) 1994-2003 The XFree86 Project, Inc.  All Rights Reserved.

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is fur- nished to do so, subject
  to the following conditions:

  The above copyright notice and this permission notice shall be
  included in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND
  NONINFRINGEMENT.  IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR
  ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
  CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

  Except as contained in this notice, the name of the XFree86 Project
  shall not be used in advertising or otherwise to promote the sale, use
  or other deal- ings in this Software without prior written
  authorization from the XFree86 Project.
  =


- from C source files
  =
  [copyrights holders mainly Openmoko Inc, Lars-Peter Clausen and Eric
   Anholt]

  Permission to use, copy, modify, distribute, and sell this software
  and its documentation for any purpose is hereby granted without fee,
  provided that the above copyright notice appear in all copies and that
  both that copyright notice and this permission notice appear in
  supporting documentation, and that the name of the copyright holders
  not be used in advertising or publicity pertaining to distribution of
  the software without specific, written prior permission.  The
  copyright holders make no representations about the suitability of
  this software for any purpose.  It is provided "as is" without express
  or implied warranty.

  THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
  SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
  RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
  CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  =


- exceptions
  =
  * src/glamo-driver.c
  no license bits, authors Alan Hourihane and Michale Dänzer

  * src/glamo-regs.h
  GPL-2+, author Harald Welte


I think that not only the two exceptions, but everything about the
license needs further investigation, with for sure advices from
upstream.

I will start to do real works in a few days if there will n

Re: SD fails spectacularly and unpredictably when a SIM card is used

2009-03-23 Thread Luca Capello
Hi there!

On Mon, 16 Mar 2009 01:08:11 +0100, Nicola Mfb wrote:
> 2009/3/16 Enrico Zini 
>
>> On Sun, Mar 15, 2009 at 11:58:51PM +0100, Nicola Mfb wrote:
>>
>> >I'm experiencing the same here.
>> >May you post vendor/model of your SD card and the GSM operator?
>>
>> Exactly this one:
>> http://wiki.openmoko.org/wiki/Supported_microSD_cards/SD-C02G
>>
>> It turns out that the problem is well known, not solved, but with a few
>> work-arounds.  Given the cost of microSD cards nowadays, it's probably
>> cheaper to buy a different one than it is to waste time in testing the
>> work-arounds.
>>
>
> I have problems with a Kingstone SDC4/8GB, that on that wiki page is
> reported as working.
> Are you using a Vodafone SIM?

FWIW, I had problems with the same model, in 4GB size (SDC4/4GB, with
311C3-001.A00LF written on it) and a Swisscom SIM.  It seems that as
reported at [1] the I/O errors are still present.

[1] http://wiki.openmoko.org/wiki/Supported_microSD_cards

In my case, the Debian install.sh script failed two times:


- the first it stopped with the following error
  =
  P: Unpacking package bash
  P: Unpacking package bsdutils
  P: Unpacking package libattr1
  P: Unpacking package libacl1
  P: Unpacking package libselinux1
  P: Unpacking package coreutils
  E: Internal error: install
  =

  dmesg showed the real problem:
  =
  [  467.285000] pcf50633 0-0073: Masking IRQ 6
  [  467.32] pcf50633 0-0073: Unmasking IRQ 6
  [  552.08]  mmcblk0: p1 p2
  [  556.30] FAT: bogus number of reserved sectors
  [  556.30] VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
  [  556.31] VFS: Can't find ext4 filesystem on dev mmcblk0p1.
  [  556.31] EXT4-fs: Update your userspace programs to mount using ext4
  [  556.31] EXT4-fs: ext4dev backwards compatibility will go away by 2.6.31
  [  556.32] VFS: Can't find ext4 filesystem on dev mmcblk0p1.
  [  556.32] FAT: bogus number of reserved sectors
  [  556.32] VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
  [  556.71] FAT: invalid media value (0xbf)
  [  556.715000] VFS: Can't find a valid FAT filesystem on dev mmcblk0p2.
  [  556.725000] VFS: Can't find ext4 filesystem on dev mmcblk0p2.
  [  556.73] EXT4-fs: Update your userspace programs to mount using ext4
  [  556.73] EXT4-fs: ext4dev backwards compatibility will go away by 2.6.31
  [  556.735000] VFS: Can't find ext4 filesystem on dev mmcblk0p2.
  [  556.74] FAT: invalid media value (0xbf)
  [  556.745000] VFS: Can't find a valid FAT filesystem on dev mmcblk0p2.
  [  557.27] FAT: bogus number of reserved sectors
  [  557.27] VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
  [  557.275000] VFS: Can't find ext4 filesystem on dev mmcblk0p1.
  [  557.28] EXT4-fs: Update your userspace programs to mount using ext4
  [  557.28] EXT4-fs: ext4dev backwards compatibility will go away by 2.6.31
  [  557.285000] VFS: Can't find ext4 filesystem on dev mmcblk0p1.
  [  557.29] FAT: bogus number of reserved sectors
  [  557.29] VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
  [  657.82] kjournald starting.  Commit interval 5 seconds
  [  657.83] EXT3 FS on mmcblk0p2, internal journal
  [  657.835000] EXT3-fs: mounted filesystem with ordered data mode.
  [ 1351.10] journal_bmap: journal block not found at offset 5138 on 
mmcblk0p2
  [ 1351.10] Aborting journal on device mmcblk0p2.
  [ 1351.72] journal commit I/O error
  [ 1351.725000] ext3_abort called.
  [ 1351.725000] EXT3-fs error (device mmcblk0p2): ext3_journal_start_sb: 
Detected aborted journal
  [ 1351.725000] Remounting filesystem read-only
  =


- the second time the error was different
  =
  Selecting previously deselected package libxau6.
  Unpacking libxau6 (from .../libxau6_1%3a1.0.4-2_armel.deb) ...
  Selecting previously deselected package libxdmcp6.
  Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.2-3_armel.deb) ...
  dpkg-deb: `/var/cache/apt/archives/libxcb1_1.2-1_armel.deb' is not a debian 
format archive
  dpkg: error processing /var/cache/apt/archives/libxcb1_1.2-1_armel.deb 
(--unpack):
   subprocess dpkg-deb --control returned error exit status 2
  Selecting previously deselected package libx11-data.
  Unpacking libx11-data (from .../libx11-data_2%3a1.2-1_all.deb) ...
  Selecting previously deselected package libx11-6.
  Unpacking libx11-6 (from .../libx11-6_2%3a1.2-1_armel.deb) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libxcb1_1.2-1_armel.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  Command exited with non-zero status 100
  =

  However, this time dmesg was useless:
  =
  [  353.28] jbt6k74 spi2.0:  jbt6k74 powerdown
  [  460.295000]  mmcblk0: p1 p2
  [  463.43] kjournald starting.  Commit interval 5 seconds
  [  463.43] EXT3-fs warning: mounting fs with errors, running e2fsck is 
recommended
  [  463.44] EXT3 FS on m

Re: [Debian] How do I change the ringtone again?

2009-03-23 Thread Luca Capello
Hi Gilles!

On Mon, 23 Mar 2009 22:26:53 +0100, Gilles Filippini wrote:
> Enrico Zini a écrit :
>> I recall that some time ago I changed the ringtone by editing
>> frameworkd's source code, and I know that I can dpkg-divert some files
>> if needed, but what's the clean and easy and suggested way?
>
> Everything you need is there: http://wiki.openmoko.org/wiki/FSO_ringtones

Can someone please remove the information there?  Editing files provided
by packages is *not* the right way on Debian (nor on any other
distribution).

Moreover, upstream FSO (thus not Debian) provides a configuration file
for this purpose, i.e.

  /etc/freesmartphone/opreferences/conf/phone/$PROFILE.yaml

Thx, bye,
Gismo / Luca


pgphbXCZ944Xs.pgp
Description: PGP signature
___
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland