[Gta04-owner] QtMoko v44

Radek Polak psonek2 at seznam.cz
Sun Apr 15 10:10:11 CEST 2012


On Saturday 14 April 2012 14:18:38 Dr. H. Nikolaus Schaller wrote:

> testing "GTM601-USB" "check internal USB port"
> for repeat in 1 2 3 4 5
> 	do
> 	if lsusb | fgrep '0af0:8800 Option' >/dev/null
> 		then # found
> 		ok
> 		break
> 	fi
> 	if [ -w /sys/devices/virtual/gpio/gpio186/value ]
> 	then # wake up modem in GTA04A4
> 		echo 1 >/sys/devices/virtual/gpio/gpio186/value
> 		sleep 1
> 		echo 0 >/sys/devices/virtual/gpio/gpio186/value
> 		sleep 5

Hi,
i can add the script to QtMoko, no problem here. But to me it looks like it 
will boot 6s slower. Can't this be done better way? E.g. power the modem on in 
kernel while it boots?

Regards

Radek


More information about the Gta04-owner mailing list