Re: QtMoko v45

2012-07-02 Thread Robin Paulson
On 13 June 2012 10:40, Radek Polak pson...@seznam.cz wrote:
 Hi,
 QtMoko v45 is out now. You can get images for GTA02 (Freerunner) here[1] and
 GTA04 (Phoenux) here[2].

 For more info about QtMoko please visit our homepage [3].

 This is list of changes since previous v44 version:

   * fixed wifi password not saving problem
   * new big transparent keyboard
   * GTA04 has new 3.4 kernel thanks to Neil Brown

great to see qtmoko progressing more, v45-1 installing now. i see that
GTA02 only gets kernel 2.6.34, is there any reason why not a more
recent kernel, like GTA04 has? is there something missing upstream,
radek?

-- 
robin

http://fu.ac.nz - Auckland's Free University

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


Re: [Gta04-owner] QtMoko v45

2012-07-02 Thread Radek Polak
On Monday, July 02, 2012 08:01:55 AM Robin Paulson wrote:

 great to see qtmoko progressing more, v45-1 installing now. i see that
 GTA02 only gets kernel 2.6.34, is there any reason why not a more
 recent kernel, like GTA04 has? is there something missing upstream,
 radek?

I think 2.6.34 is last kernel for Freerunner which works reasonably for daily 
usage. But since my daily phone is GTA04 i have stopped watching GTA02 kernel. 
If someone provides good newer kernel i can integrate it in QtMoko.

Regards

Radek

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


Re: transcoding video for freerunner 240x320 mode

2012-07-02 Thread Christ van Willegen
On Mon, Jul 2, 2012 at 7:17 AM, robin spielr...@web.de wrote:
 but still why can it run a 240x320 scaled to 480x640 but not a native 48x640?

Because the graphic chip does support stretching 240x320 to 480x640
natively, but does not have enough horsepower to drive all pixels
individually.

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: transcoding video for freerunner 240x320 mode

2012-07-02 Thread Ed Kapitein
Hi, could you post the command you used to scale and play the movie?

Kind regards,
Ed

On 07/01/2012 08:59 PM, Timo Juhani Lindfors wrote:
 Radek Polak pson...@seznam.cz writes:
 Freerunne has hardware switch for changing resolution to 240x320. But after 
 switching you will get the strange colors.
 Indeed but after the gamma correction values that I posted the output
 looks much more reasonable.


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




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


Re: transcoding video for freerunner 240x320 mode

2012-07-02 Thread Timo Juhani Lindfors
Ed Kapitein e...@kapitein.org writes:
 Hi, could you post the command you used to scale and play the movie?

http://lists.openmoko.org/pipermail/community/2012-June/067176.html

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


Re: transcoding video for freerunner 240x320 mode

2012-07-02 Thread Ed Kapitein
On 07/02/2012 07:20 PM, Timo Juhani Lindfors wrote:
 Ed Kapitein e...@kapitein.org writes:
 Hi, could you post the command you used to scale and play the movie?
 http://lists.openmoko.org/pipermail/community/2012-June/067176.html

Thanks, i did read that mail, but looking at the command line, the
stream is dumped on stdout right?
i was wondering what you did use to play the movie on the screen.

Kind regards,
Ed



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


Re: transcoding video for freerunner 240x320 mode

2012-07-02 Thread Timo Juhani Lindfors
Ed Kapitein e...@kapitein.org writes:
 Thanks, i did read that mail, but looking at the command line, the
 stream is dumped on stdout right?

Yes. I typically do

mplayer-wrapper (ssh server encode-to-theora http://example.org/foo.mp4)

where mplayer-wrapper is

#!/bin/bash
KILLER_PID=
function cleanup() {
if [ $KILLER_PID !=  ]; then
kill -SIGKILL $KILLER_PID
fi
sudo om screen glamo-bus-timings 4-4-4
sudo fbset 480x640
sudo om screen resolution normal
sudo chvt 7
exit 0
}
trap cleanup 1 2 3 15
sudo chvt 2
# disable blanking
sudo sh -c printf '\033[9;0]'  /dev/tty2
# disable cursor blinking
sudo sh -c printf '\033[?17;0;127c'  /dev/tty2
# hide cursor
sudo sh -c printf '\033[?25l'  /dev/tty2
sudo om screen resolution qvga-normal
sudo fbset 240x320
sudo om screen glamo-bus-timings 2-4-2
sudo renice -2 -p $$ 2 /dev/null
(dd if=/dev/input/power_button of=/dev/null bs=16 count=1 2 /dev/null; killall 
mplayer) 
KILLER_PID=$!
mplayer -framedrop -ac -ffvorbis, -ao alsa -vc -fftheora, -vo fbdev 
-nocorrect-pts $@
cleanup


You need theora 1.2.0 alpha release for decent performance.


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


Re: transcoding video for freerunner 240x320 mode

2012-07-02 Thread EdorFaus

On 07/02/2012 10:24 AM, Christ van Willegen wrote:

On Mon, Jul 2, 2012 at 7:17 AM, robinspielr...@web.de  wrote:

but still why can it run a 240x320 scaled to 480x640 but not a native 48x640?


Because the graphic chip does support stretching 240x320 to 480x640
natively, but does not have enough horsepower to drive all pixels
individually.


If I remember correctly, the main issue is the bus bandwidth - the bus 
is simply too slow to shuffle bits from main memory to the chip fast 
enough to do 480x640 video with a decent frame rate, and this is a 
hardware limitation, so not really fixable in software.


240x320 on the other hand, is only a quarter as many pixels, meaning a 
quarter of the bits, so only a quarter of the bus bandwidth is required 
- and this is within the hardware limitations.


(As for why this limitation exists, well, I seem to recall hearing that 
the makers of the graphics chip were impressed we had gotten as much out 
of it as we had, as it was not really intended to do much at all in 
480x640 in the first place.)


-Frode

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


Re: transcoding video for freerunner 240x320 mode

2012-07-02 Thread Ed Kapitein
Many thanks!
Very helpful commands in that script.
Kind regards,
Ed

On 07/02/2012 07:39 PM, Timo Juhani Lindfors wrote:
 Ed Kapitein e...@kapitein.org writes:
 Thanks, i did read that mail, but looking at the command line, the
 stream is dumped on stdout right?
 Yes. I typically do

 mplayer-wrapper (ssh server encode-to-theora http://example.org/foo.mp4)

 where mplayer-wrapper is

 #!/bin/bash
 KILLER_PID=
 function cleanup() {
 if [ $KILLER_PID !=  ]; then
 kill -SIGKILL $KILLER_PID
 fi
 sudo om screen glamo-bus-timings 4-4-4
 sudo fbset 480x640
 sudo om screen resolution normal
 sudo chvt 7
 exit 0
 }
 trap cleanup 1 2 3 15
 sudo chvt 2
 # disable blanking
 sudo sh -c printf '\033[9;0]'  /dev/tty2
 # disable cursor blinking
 sudo sh -c printf '\033[?17;0;127c'  /dev/tty2
 # hide cursor
 sudo sh -c printf '\033[?25l'  /dev/tty2
 sudo om screen resolution qvga-normal
 sudo fbset 240x320
 sudo om screen glamo-bus-timings 2-4-2
 sudo renice -2 -p $$ 2 /dev/null
 (dd if=/dev/input/power_button of=/dev/null bs=16 count=1 2 /dev/null; 
 killall mplayer) 
 KILLER_PID=$!
 mplayer -framedrop -ac -ffvorbis, -ao alsa -vc -fftheora, -vo fbdev 
 -nocorrect-pts $@
 cleanup


 You need theora 1.2.0 alpha release for decent performance.


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




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


RE: qtmoko v45

2012-07-02 Thread Marc Langlois
Hi,

After execution of Neil Brown's howto for GPRS on the GTA04, I would
conclude as:
+ For the connection to /dev/ttyHS3, I use minicom with the default
settings but the connection does not work consistently.
+ AT+CFUN = 3D1 (set phone functions on), and AT_OWANCALL=3D1,1,1
returns me ERROR.

Here is my log:
AT+COPS
OK
AT+COPS?
+ COPS: 0,0, 004f00720061006e0067006500200046, 0

OK
AT_OWANCALL = 3D1,1,1
ERROR
AT_OWANDATA?
OK

What are the tips for the connection débuger?
Can you used the modem mode multiplexing (neocontrol) with a GTA04A4?
The UMTS signal reception is good in my house.

Best regards,

Marc

Neil Jerram neil at ossau.homelinux.net writes:
 Marc Langlois langlois.marc at gmail.com writes:

 Neil,

 My phone is GTA04A4.

 Ah, thanks.  Has GPRS actually been integrated yet in QtMoko on the
 GTA04?  I'm not sure that it has.

For ease of reference, here's Neil Brown's howto for GPRS on the GTA04
(and which it's well worth creating another copy of):

 0/ connect to /dev/ttyHS3  (others might work)
 1/ make sure you are registered with network.
   e.g.
  AT+CFUN=3D1
  AT+COPS
  AT+COPS?

 2/ establish data connection
  AT_OWANCALL=3D1,1,1

 3/ collect status

AT_OWANDATA?
   My response was
_OWANDATA: 1, 49.179.102.244, 0.0.0.0, 211.29.132.12, 61.88.88.88, 0.0.0=
 .0, 0.0.0.0,144000
  ^IP address   ^  ^DNS-1--^  ^DNS-2^

 4/  configure network

 ifconfig hso0 49.179.102.244 up
 route add default dev hso0

 echo nameserver 211.29.132.12  /etc/resolv.conf
 echo nameserver 61.88.88.88  /etc/resolv.conf




 And you should be set to go.  If you want tethering via USB then add:
  on GTA04:
 echo 1  /proc/sys/net/ipv4/ip_forward=20
 iptables -t nat -A POSTROUTING -s 192.168.0.200 -j MASQUERADE

(here 192.168.0.200 is the IP of my notebook on the USB interface.)

  on notebook/desktop/whatever

 route add default gw 192.168.0.202
 echo nameserver 211.29.132.12  /etc/resolv.conf
 echo nameserver 61.88.88.88  /etc/resolv.conf

(192.168.0.202 is IP of GTA04 of USB link).

 To terminate data call

   AT_OWANDATA=3D1,0,1


 You don't need pppd at all.

But there are no occurrences of OWAN in the qtmoko codebase - so I'm
pretty sure it hasn't been integrated yet.

  Neil

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


Re: qtmoko v45

2012-07-02 Thread NeilBrown
On Mon, 2 Jul 2012 21:57:28 +0200 Marc Langlois langlois.m...@gmail.com
wrote:

 Hi,
 
 After execution of Neil Brown's howto for GPRS on the GTA04, I would
 conclude as:
 + For the connection to /dev/ttyHS3, I use minicom with the default
 settings but the connection does not work consistently.
 + AT+CFUN = 3D1 (set phone functions on), and AT_OWANCALL=3D1,1,1
 returns me ERROR.
 
 Here is my log:
 AT+COPS
 OK
 AT+COPS?
 + COPS: 0,0, 004f00720061006e0067006500200046, 0
 
 OK
 AT_OWANCALL = 3D1,1,1

Try dropping the spaces and the '3D' (which a mime-encoding artefact  - '='
is sometimes encoded in email messages as '=3D').
So:

  AT_OWANCALL=1,1,1

NeilBrown


 ERROR
 AT_OWANDATA?
 OK
 
 What are the tips for the connection débuger?
 Can you used the modem mode multiplexing (neocontrol) with a GTA04A4?
 The UMTS signal reception is good in my house.
 
 Best regards,
 
 Marc
 
 Neil Jerram neil at ossau.homelinux.net writes:
  Marc Langlois langlois.marc at gmail.com writes:
 
  Neil,
 
  My phone is GTA04A4.
 
  Ah, thanks.  Has GPRS actually been integrated yet in QtMoko on the
  GTA04?  I'm not sure that it has.
 
 For ease of reference, here's Neil Brown's howto for GPRS on the GTA04
 (and which it's well worth creating another copy of):
 
  0/ connect to /dev/ttyHS3  (others might work)
  1/ make sure you are registered with network.
e.g.
   AT+CFUN=3D1
   AT+COPS
   AT+COPS?
 
  2/ establish data connection
   AT_OWANCALL=3D1,1,1
 
  3/ collect status
 
 AT_OWANDATA?
My response was
 _OWANDATA: 1, 49.179.102.244, 0.0.0.0, 211.29.132.12, 61.88.88.88, 
  0.0.0=
  .0, 0.0.0.0,144000
   ^IP address   ^  ^DNS-1--^  ^DNS-2^
 
  4/  configure network
 
  ifconfig hso0 49.179.102.244 up
  route add default dev hso0
 
  echo nameserver 211.29.132.12  /etc/resolv.conf
  echo nameserver 61.88.88.88  /etc/resolv.conf
 
 
 
 
  And you should be set to go.  If you want tethering via USB then add:
   on GTA04:
  echo 1  /proc/sys/net/ipv4/ip_forward=20
  iptables -t nat -A POSTROUTING -s 192.168.0.200 -j MASQUERADE
 
 (here 192.168.0.200 is the IP of my notebook on the USB interface.)
 
   on notebook/desktop/whatever
 
  route add default gw 192.168.0.202
  echo nameserver 211.29.132.12  /etc/resolv.conf
  echo nameserver 61.88.88.88  /etc/resolv.conf
 
 (192.168.0.202 is IP of GTA04 of USB link).
 
  To terminate data call
 
AT_OWANDATA=3D1,0,1
 
 
  You don't need pppd at all.
 
 But there are no occurrences of OWAN in the qtmoko codebase - so I'm
 pretty sure it hasn't been integrated yet.
 
   Neil
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



signature.asc
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community