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

2009-03-24 Thread Enrico Zini
On Mon, Mar 23, 2009 at 10:03:02PM +0100, Luca Capello wrote:

 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...

If you have other uploads planned, you can wait for them, otherwise,
uploading now avoids this patch to linger there for potentially months
until the need for a new upload arises.

  How do I change the ringtone in Debian?
 
 # update-alternatives --config fso-frameworkd-default-sounds.yaml

I did, it's not enough: frameworkd will need to be restarted.

I did /etc/init.d/fso-frameworkd restart and the phone stopped receiving
phone calls.

So I tried this (from ssh):
  # /etc/init.d/nodm stop
  # /etc/init.d/fso-frameworkd stop
  # /etc/init.d/fso-frameworkd start
  # /etc/init.d/nodm start
I got asked for the PIN again and the phone started ringing (finally
with the right ringtone) while at the other end it had started to say
You have dialed an incorrect number, please check the number and
redial. It seems that the phone keeps registering and unregistering
itself, greatly confusing the UK mobile phone network.

I'll reboot it and have a snack in the meantime. Now I can say that I
managed to confuse the UK mobile phone network by changing the ringtone
on my mobile phone.


  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?

At the very least, the non-free ringtones should have a worse priority
than the free ones.


  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---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.

Yes, that would be good.  If I just installed a package and I can't get
it to work, I'd look into /usr/share/doc/thatpackage rather than
somewhere else.  Just a one-liner saying For instructions, look into
/usr/share/doc/fso-frameworkd/README.Debian will be great.


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini enr...@debian.org


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-24 Thread Alastair Johnson

Enrico Zini wrote:

So I tried this (from ssh):
  # /etc/init.d/nodm stop
  # /etc/init.d/fso-frameworkd stop
  # /etc/init.d/fso-frameworkd start
  # /etc/init.d/nodm start
I got asked for the PIN again and the phone started ringing (finally
with the right ringtone) while at the other end it had started to say
You have dialed an incorrect number, please check the number and
redial. It seems that the phone keeps registering and unregistering
itself, greatly confusing the UK mobile phone network.


Are you using O2? Reregistration caused by bug #1024 seems to confuse 
their network sometimes, but t-mobile and orange don't seem to mind. If 
it is #1024 you should be able to work around it by adding a line to 
frameworkd.conf in the [ogsmd] section:

ti_calypso_deep_sleep = never

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


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

2009-03-24 Thread Gilles Filippini
[ forgot to cc the list ; sorry about that ]

Hi Luca,

Luca Capello a écrit :
 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).

Maybe you refer to /usr/share/sounds where soundfiles have to be stored,
but AFAIUI no file has to be edited outside of the /etc tree.

 
 Moreover, upstream FSO (thus not Debian) provides a configuration file
 for this purpose, i.e.
 
   /etc/freesmartphone/opreferences/conf/phone/$PROFILE.yaml

Cheers,

_Gilles.


___
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-24 Thread Enrico Zini
On Tue, Mar 24, 2009 at 05:50:44PM +, Alastair Johnson wrote:
 Enrico Zini wrote:
 So I tried this (from ssh):
   # /etc/init.d/nodm stop
   # /etc/init.d/fso-frameworkd stop
   # /etc/init.d/fso-frameworkd start
   # /etc/init.d/nodm start
 I got asked for the PIN again and the phone started ringing (finally
 with the right ringtone) while at the other end it had started to say
 You have dialed an incorrect number, please check the number and
 redial. It seems that the phone keeps registering and unregistering
 itself, greatly confusing the UK mobile phone network.

 Are you using O2? Reregistration caused by bug #1024 seems to confuse  
 their network sometimes, but t-mobile and orange don't seem to mind. If  
 it is #1024 you should be able to work around it by adding a line to  
 frameworkd.conf in the [ogsmd] section:
   ti_calypso_deep_sleep = never

Vodafone, roaming, with an Italian sim.  But the continuous registering
and unregistering seemed to be an issue with restarting frameworkd and
zhone without rebooting: after rebooting, everything really is fine.


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini enr...@debian.org


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


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