[Gta04-owner] QtMoko v44

Radek Polak psonek2 at seznam.cz
Sun Apr 15 12:09:46 CEST 2012


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

> 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
> 	fi
> 	done
> nok

Hi,
i have now attached scripts for QtMoko - they dont need lsusb installed. Can 
someone with A4 please test if they work (preferrably on QtMoko rootfs)?

Thanks

Radek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modem-poweroff.sh
Type: application/x-shellscript
Size: 336 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120415/171b8813/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modem-poweron.sh
Type: application/x-shellscript
Size: 334 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120415/171b8813/attachment-0001.bin>


More information about the Gta04-owner mailing list