Re: is my GTA02 getting old?

2012-12-11 Thread Al Johnson
On Monday 10 December 2012 23:52:56 Ed Kapitein wrote:
 Are the batteries with the coulomb counter for the GTA02, still
 produced, or are they  of the same age as the original FR's?
 If so, they must be near the end of their shelf life, is a compatible
 battery (with a coulomb counter) available?
 I have one battery that is very dead an two that are getting old and
 have to be recharged more often.

I doubt they're still being made, but you can probably get a definitive answer 
from Pulster or GoldenDelicious. The SANYO UF653450S they contain still seems 
to be available, so sticking the controller board on a new cell should be 
possible. Of course they could be old stock too. My reading of the BQ27000 
datasheet is that it'll get a power-on-reset when the new cell is attached, 
and should then learn the new cell capacity. I may have missed something 
important though.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Community] Is it possible to deactivate the silence suppression on a GTA02 and/or GTA04?

2012-12-11 Thread Radek Polak
On Tuesday, December 11, 2012 12:04:59 PM Wurzer Juergen wrote:

 Hi!
 
 Is there a way to deactivate the silence suppression during a phone call on
 a GTA02 and/or on a GTA04? Maybe like setting the level of the voice
 activity detection (VAD) to a minimum, so that it always stays active
 and continuously transmit the voice.
 
 I need this because we have a research project where we embed
 steganographic informations during a call into the voice stream. The
 current problem is that if the audio signal is very quiet (e.g. the person
 doesn't speak) nothing is transmitted because of the silence suppression -
 this leads to the steganographic informations being discarded.

On GTA04 it's possible to do software voice routing - i think in this case the 
sounds will be under your control. If you want to test it, try make a call and 
then select Speaker from the context menu. The sound will be then routed by 
program /opt/qtmoko/bin/gsm-voice-routing - source code is here [1]. By 
default it uses speex echo cancellation, but these lines can be commented out 
or you can even replace the program with bash script that calls arecord and 
aplay - see here [2]

 Maybe there are AT commands?
 I have tried to set some AT commands like the ones shown at
 http://wiki.openmoko.org/wiki/Manually_using_GSM on GTA02.

You can stop QtMoko with /etc/init.d/qtmoko-gta04 stop and open and use the 
serial port e.g. with minicom.

Regards

Radek

[1] https://github.com/radekp/gta04-gsm-voice-routing
[2] http://projects.goldelico.com/p/gta04-kernel/page/Wireless/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: f2fs on GTA02

2012-12-11 Thread Phil Vandry

On 2012-12-11 02:19, Martin Jansa wrote:

3.2 kernel works pretty good
https://github.com/shr-distribution/linux/tree/om-gta02/3.2/master

there are branches also for 3.5 and GNUtoo is working on it.


Oh, wow. That means that the wiki page
http://wiki.openmoko.org/wiki/Kernel
is way behind. Thanks for the pointer to the more recent stuff.

-v

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: f2fs on GTA02

2012-12-11 Thread Peter Viskup

On 12/06/2012 10:19 PM, Phil Vandry wrote:

Hello Freerunner users,

I am interested in using the new f2fs filesystem created by Kim 
Jaegeuk at Samsung on the µSD cards of a bunch of GTA02s. Right now 
it's undergoing testing in linux-next and there are several fresh 
discussion threads about it on lkml. I intend to wait until the code 
has stabilized a bit before making the attempt.


First, is this a good idea? Also, is anyone else interested?

The problem is that the code only compiles against recent Linux 
kernels and the newest kernel available for GTA02 is 2.6.39. I see two 
options:


1. Get Linux 3.7 working on the GTA02

2. Get f2fs working on Linux 2.6.39

Both options are challenging but I have to go for #2 because I don't 
have the knowledge to do #1.


For #1: There are quite a few differences between upstream 2.6.39 and 
om-gta02-2.6.39 kernels. Some of the patches I understand and could 
re-apply against a more recent kernel, some of them have already been 
integrated upstream, but others are mysterious to me and even if I 
could apply them I can't guess whether or not they ought to still be 
applied. One big issue is that the glamo driver is not present 
upstream (and ar6000 also?).


For #2: I have already prepared a patch to backport f2fs to 
2.6.34/2.6.39 but there have been quite a lot of changes in the vfs 
and other areas in the intervening time. The patch is 817 lines long. 
Most of it is straightforward, though there were one or two tricky 
bits. The only thing I have achieved so far is getting it to compile 
with no errors and no warnings. That's a start, but it's not a 
guarantee that the filesystem will actually work!


A significant problem with #2 is maintenance and bug fixes going 
forward. I would have to backport all future changes to f2fs.


Anyway, for the information of anyone who's interested, I plan to at 
least give option #2 a try and see if I might be lucky :-)


-v

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



Hi Phil,
would be great to see how it performs. I would like to ask you to 
publish outcomes of your performance tests on the openmoko wiki [1] or 
here on the list. I found UBIFS an great filesystem for the OpenMoko 
with great performance and less memory requirements.
QtMoko with UBIFS needed approximately 10MB (don't remember the real 
number - it could be double) less memory than image with JFFS2.
On devices with such small amount of memory as OpenMoko have the 
optimization of memory use is important - not only read/write speed. 
Today's smartphones have much more memory and I am curious if Kim did 
take care of minimization of memory structures of this fs.


Looking forward for your reports.

[1] http://wiki.openmoko.org/wiki/UBIFS#Performance

--
Peter Viskup

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: f2fs on GTA02

2012-12-11 Thread Phil Vandry

On 2012-12-11 13:40, Peter Viskup wrote:

would be great to see how it performs. I would like to ask you to
publish outcomes of your performance tests on the openmoko wiki [1] or
here on the list. I found UBIFS an great filesystem for the OpenMoko


Hi Peter,

Please note that UBIFS, like jffs2, is a filesystem designed to be used 
with flash that you have direct access to (MTD devices). It can be used 
on the Freerunner's internal NAND flash. What I'm talking about here is 
f2fs, a filesystem designed to be used on a block device. In that sense 
it is like ext4 and most other well known filesystems, not like UBIFS. 
It can be used on the Freerunner's µSD card.


I will of course report my experience with f2fs once I try it out.

-v

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community