r4489 - in developers/tony_tu: . certification certification/testcmds certification/testcmds/gsm_call

tony_tu at docs.openmoko.org tony_tu at docs.openmoko.org
Wed Jun 18 12:52:47 CEST 2008


Author: tony_tu
Date: 2008-06-18 12:52:46 +0200 (Wed, 18 Jun 2008)
New Revision: 4489

Added:
   developers/tony_tu/certification/
   developers/tony_tu/certification/testcmds/
   developers/tony_tu/certification/testcmds/audioloop
   developers/tony_tu/certification/testcmds/audiooff
   developers/tony_tu/certification/testcmds/audioon
   developers/tony_tu/certification/testcmds/gprsoff
   developers/tony_tu/certification/testcmds/gprson
   developers/tony_tu/certification/testcmds/gpsoff
   developers/tony_tu/certification/testcmds/gpson
   developers/tony_tu/certification/testcmds/gsm-acept
   developers/tony_tu/certification/testcmds/gsm_call/
   developers/tony_tu/certification/testcmds/gsm_call/chap-secrets
   developers/tony_tu/certification/testcmds/gsm_call/gprs-connect
   developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-acept
   developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-cops
   developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-gsm
   developers/tony_tu/certification/testcmds/gsm_call/gprs-disconnect
   developers/tony_tu/certification/testcmds/gsm_call/gprs-options
   developers/tony_tu/certification/testcmds/gsm_call/gprs-options-acept
   developers/tony_tu/certification/testcmds/gsm_call/gprs-options-cops
   developers/tony_tu/certification/testcmds/gsm_call/gprs-options-gsm
   developers/tony_tu/certification/testcmds/gsm_call/gprs-options-vs
   developers/tony_tu/certification/testcmds/gsm_call/gprs-version
   developers/tony_tu/certification/testcmds/gsm_call/options
   developers/tony_tu/certification/testcmds/gsm_call/pap-secrets
   developers/tony_tu/certification/testcmds/gsm_call/ppp-start
   developers/tony_tu/certification/testcmds/gsm_call/ppp-start-acept
   developers/tony_tu/certification/testcmds/gsm_call/ppp-start-cops
   developers/tony_tu/certification/testcmds/gsm_call/ppp-start-gsm
   developers/tony_tu/certification/testcmds/gsmon
   developers/tony_tu/certification/testcmds/gsmvs
   developers/tony_tu/certification/testcmds/lcmoff
   developers/tony_tu/certification/testcmds/lcmon
   developers/tony_tu/certification/testcmds/lsoff
   developers/tony_tu/certification/testcmds/lson
   developers/tony_tu/certification/testcmds/rcoff
   developers/tony_tu/certification/testcmds/rcon
   developers/tony_tu/certification/testcmds/tpadoff
   developers/tony_tu/certification/testcmds/tpadon
   developers/tony_tu/certification/testcmds/wifioff
   developers/tony_tu/certification/testcmds/wifion
Log:
hxd8/gta certification test command

Added: developers/tony_tu/certification/testcmds/audioloop
===================================================================
--- developers/tony_tu/certification/testcmds/audioloop	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/audioloop	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+
+while :; do
+aplay /home/root/win.wav
+sleep 2
+done
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/audioloop
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/audiooff
===================================================================
--- developers/tony_tu/certification/testcmds/audiooff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/audiooff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+kill -9  `ps | grep aplay | awk '{print $1}'`
+kill -9  `ps | grep audioloop | awk '{print $1}'`


Property changes on: developers/tony_tu/certification/testcmds/audiooff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/audioon
===================================================================
--- developers/tony_tu/certification/testcmds/audioon	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/audioon	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+audioloop &
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/audioon
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gprsoff
===================================================================
--- developers/tony_tu/certification/testcmds/gprsoff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gprsoff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+
+echo 0 > /sys/devices/platform/gta01-pm-gsm.0/power_on


Property changes on: developers/tony_tu/certification/testcmds/gprsoff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gprson
===================================================================
--- developers/tony_tu/certification/testcmds/gprson	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gprson	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+
+echo 1 > /sys/devices/platform/gta01-pm-gsm.0/power_on
+sleep 2
+ /home/testcmds/gsm_call/ppp-start-cops
+sleep 2
+ /home/testcmds/gsm_call/ppp-start


Property changes on: developers/tony_tu/certification/testcmds/gprson
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gpsoff
===================================================================
--- developers/tony_tu/certification/testcmds/gpsoff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gpsoff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+#GPS
+echo 0 > /sys/devices/platform/hxd8-pm-gps.0/gps_power
+


Property changes on: developers/tony_tu/certification/testcmds/gpsoff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gpson
===================================================================
--- developers/tony_tu/certification/testcmds/gpson	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gpson	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+#GPS
+/home/root/set_uart1_bautrate 4800
+echo 1 > /sys/devices/platform/hxd8-pm-gps.0/gps_power
+sleep 1
+cat /dev/ttySAC1
+


Property changes on: developers/tony_tu/certification/testcmds/gpson
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm-acept
===================================================================
--- developers/tony_tu/certification/testcmds/gsm-acept	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm-acept	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ /home/testcmds/gsm_call/ppp-start-acept 


Property changes on: developers/tony_tu/certification/testcmds/gsm-acept
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/chap-secrets
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/chap-secrets	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/chap-secrets	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,3 @@
+# Secrets for authentication using CHAP
+# client	server	secret			IP addresses
+fiwin	*	fiwin 


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/chap-secrets
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-connect	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-connect	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,7 @@
+TIMEOUT         40
+ABORT           'BUSY'
+ABORT           'ERROR'
+ABORT           'NO CARRIER'
+''              'AT'
+OK		'AT+CGATT=1'
+CONNECT		''


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-acept
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-acept	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-acept	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,7 @@
+TIMEOUT         40
+ABORT           'BUSY'
+ABORT           'ERROR'
+ABORT           'NO CARRIER'
+RING		'ATA'
+CONNECT		''
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-acept
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-cops
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-cops	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-cops	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,9 @@
+TIMEOUT         30
+ABORT           'BUSY'
+ABORT           'ERROR'
+ABORT           'NO CARRIER'
+''              'AT'
+OK		'AT+CFUN=1'
+OK		'AT+COPS=0'
+CONNECT 	''
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-cops
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-gsm
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-gsm	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-gsm	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,10 @@
+TIMEOUT         40
+ABORT           'BUSY'
+ABORT           'ERROR'
+ABORT           'NO CARRIER'
+''              'AT'
+OK		'AT+CFUN=1'
+OK		'AT+COPS=0'
+OK		'ATD123'
+CONNECT 	''
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-connect-gsm
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-disconnect
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-disconnect	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-disconnect	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,12 @@
+#ABORT           'BUSY'
+#ABORT           'ERROR'
+#ABORT           'NO DIALTONE'
+#TIMEOUT         30
+''              '+++\c'
+SAY             " + sending break"
+''              'ATH'
+SAY             "\n + dropping data connection"
+OK              'AT+CGATT=0'
+SAY             "\n + disconnecting from GPRS"
+OK              '\c'
+SAY             "\n + disconnected."


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-disconnect
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-options
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-options	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-options	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,7 @@
+/dev/ttySAC0
+115200
+defaultroute
+user "fiwin"
+file /home/testcmds/gsm_call/options
+connect "chat -e -v -f /home/testcmds/gsm_call/gprs-connect"
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-options
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-acept
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-options-acept	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-options-acept	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,6 @@
+/dev/ttySAC0
+115200
+defaultroute
+user "fiwin"
+file /home/testcmds/gsm_call/options
+connect "chat -e -v -f /home/testcmds/gsm_call/gprs-connect-acept"


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-acept
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-cops
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-options-cops	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-options-cops	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,6 @@
+/dev/ttySAC0
+115200
+defaultroute
+user "fiwin"
+file /home/testcmds/gsm_call/options
+connect "chat -e -v -f /home/testcmds/gsm_call/gprs-connect-cops"


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-cops
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-gsm
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-options-gsm	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-options-gsm	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,6 @@
+/dev/ttySAC0
+115200
+defaultroute
+user "fiwin"
+file /home/testcmds/gsm_call/options
+connect "chat -e -v -f /home/testcmds/gsm_call/gprs-connect-gsm"


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-gsm
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-vs
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-options-vs	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-options-vs	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,6 @@
+/dev/ttySAC0
+115200
+defaultroute
+user "fiwin"
+file /home/testcmds/gsm_call/options
+connect "chat -e -v -f /home/testcmds/gsm_call/gprs-version"


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-options-vs
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/gprs-version
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/gprs-version	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/gprs-version	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,8 @@
+TIMEOUT         40
+ABORT           'BUSY'
+ABORT           'ERROR'
+ABORT           'NO CARRIER'
+''              'AT'
+OK		'AT+CGMR'
+CONNECT 	''
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/gprs-version
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/options
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/options	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/options	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,10 @@
+defaultroute
+nodetach
+mtu 1500
+crtscts
+noipdefault
+ipcp-accept-local
+ipcp-accept-remote
+novj
+novjccomp
+lock


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/options
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/pap-secrets
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/pap-secrets	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/pap-secrets	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,3 @@
+# Secrets for authentication using PAP
+# client	server	secret			IP addresses
+fiwin	*	fiwin


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/pap-secrets
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/ppp-start
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/ppp-start	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/ppp-start	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,2 @@
+pppd file /home/testcmds/gsm_call/gprs-options
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/ppp-start
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/ppp-start-acept
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/ppp-start-acept	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/ppp-start-acept	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,2 @@
+pppd file /home/testcmds/gsm_call/gprs-options-acept
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/ppp-start-acept
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/ppp-start-cops
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/ppp-start-cops	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/ppp-start-cops	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,2 @@
+pppd file /home/testcmds/gsm_call/gprs-options-cops
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/ppp-start-cops
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsm_call/ppp-start-gsm
===================================================================
--- developers/tony_tu/certification/testcmds/gsm_call/ppp-start-gsm	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsm_call/ppp-start-gsm	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,2 @@
+pppd file /home/testcmds/gsm_call/gprs-options-gsm
+


Property changes on: developers/tony_tu/certification/testcmds/gsm_call/ppp-start-gsm
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsmon
===================================================================
--- developers/tony_tu/certification/testcmds/gsmon	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsmon	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo 1 > /sys/devices/platform/gta01-pm-gsm.0/power_on
+sleep 2
+ /home/testcmds/gsm_call/ppp-start-gsm 


Property changes on: developers/tony_tu/certification/testcmds/gsmon
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/gsmvs
===================================================================
--- developers/tony_tu/certification/testcmds/gsmvs	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/gsmvs	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo 1 > /sys/devices/platform/gta01-pm-gsm.0/power_on
+sleep 2
+pppd file /home/testcmds/gsm_call/gprs-options-vs


Property changes on: developers/tony_tu/certification/testcmds/gsmvs
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/lcmoff
===================================================================
--- developers/tony_tu/certification/testcmds/lcmoff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/lcmoff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/home/root/show/lcm_test  /c:000000 > /dev/null &
+sleep 
+kill -9  `ps | grep lcm_test | awk '{print $1}'`
+kill -9  `ps | grep lcmon | awk '{print $1}'`
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/lcmoff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/lcmon
===================================================================
--- developers/tony_tu/certification/testcmds/lcmon	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/lcmon	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+LCM_TEST=/home/root/show/lcm_test
+$LCM_TEST /f:/home/root/show/test.bmp > /dev/null &
+ 


Property changes on: developers/tony_tu/certification/testcmds/lcmon
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/lsoff
===================================================================
--- developers/tony_tu/certification/testcmds/lsoff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/lsoff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+#/home/root/backlight_daemon &
+#/home/root/show/lcm_test /f:/home/root/show/test.bmp  > /dev/null &
+kill -9  `ps | grep backlight_daemon | awk '{print $1}'`
+kill -9  `ps | grep lson | awk '{print $1}'`                 
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/lsoff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/lson
===================================================================
--- developers/tony_tu/certification/testcmds/lson	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/lson	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+/home/root/backlight_daemon &
+/home/root/show/lcm_test /f:/home/root/show/test.bmp  > /dev/null &
+#kill -9  `ps | grep home/root/show/lcm_test | awk '{print $1}'`
+#kill -9  `ps | grep $LS_DAEMON | awk '{print $1}'`
+                 
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/lson
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/rcoff
===================================================================
--- developers/tony_tu/certification/testcmds/rcoff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/rcoff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+kill -9  `ps | grep /dev/input/event3 | awk '{print $1}'`
+kill -9  `ps | grep rcon | awk '{print $1}'`
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/rcoff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/rcon
===================================================================
--- developers/tony_tu/certification/testcmds/rcon	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/rcon	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Remote Controller
+/home/root/input_event_test /dev/input/event3 &
+
+


Property changes on: developers/tony_tu/certification/testcmds/rcon
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/tpadoff
===================================================================
--- developers/tony_tu/certification/testcmds/tpadoff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/tpadoff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Touch Pad
+#/home/root/input_event_test /dev/input/event1 &
+
+kill -9  `ps | grep /dev/input/event1 | awk '{print $1}'`
+kill -9  `ps | grep tpadon | awk '{print $1}'`
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/tpadoff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/tpadon
===================================================================
--- developers/tony_tu/certification/testcmds/tpadon	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/tpadon	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Touch Pad
+/home/root/input_event_test /dev/input/event1 &
+


Property changes on: developers/tony_tu/certification/testcmds/tpadon
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/wifioff
===================================================================
--- developers/tony_tu/certification/testcmds/wifioff	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/wifioff	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+ifconfig eth0 down
+rmmod gspi8xxx
+rmmod gspi
+kill -9  `ps | grep wlan | awk '{print $1}'`
+kill -9  `ps | grep iwlist | awk '{print $1}'`
+kill -9  `ps | grep iperf | awk '{print $1}'`
+kill -9  `ps | grep dhcp | awk '{print $1}'`
+


Property changes on: developers/tony_tu/certification/testcmds/wifioff
___________________________________________________________________
Name: svn:executable
   + *

Added: developers/tony_tu/certification/testcmds/wifion
===================================================================
--- developers/tony_tu/certification/testcmds/wifion	                        (rev 0)
+++ developers/tony_tu/certification/testcmds/wifion	2008-06-18 10:52:46 UTC (rev 4489)
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+LOADED=0
+lsmod | grep  gspi8686.ko && LOADED=1
+
+cd /home/root
+if [ $LOADED == 0 ]; then
+ insmod gspi.ko
+ insmod gspi8686.ko
+ echo $LOADED
+fi
+
+sleep 1
+
+cd -
+iwconfig
+iwlist eth0 scan
+
+## read ssid 
+echo "Input your SSID:"
+read SSID
+echo "SSID: $SSID"
+
+iwconfig eth0 essid $SSID
+udhcpc --interface=eth0
+
+iperf -c 192.168.1.22 -i 2 -b 11M -u -n 6M  
\ No newline at end of file


Property changes on: developers/tony_tu/certification/testcmds/wifion
___________________________________________________________________
Name: svn:executable
   + *





More information about the commitlog mailing list