echo 1 >/sys/module/s3cmci/parameters/persist sudo wmiconfig -i wlan --setwowmode enable # enable wow function sudo wmiconfig -i wlan --addwowpattern 0 1 33 01 ff # add packet filter pattern, this is the ICMP filter pattern sudo wmiconfig -i wlan --sethostmode asleep # to tell ar6k what host's current is v3 source format gpio pmu om rtc om rtc wake # set RTC wake up at given time om rtc wake # print current RTC wakeup time # why not use rtcwake? (forgot the reason but it exists!) # is there a way to simply disable touchscreen? # shouldn't touchscreen-lock also be included in the package? # om touschreen lock can not be unlocked with a gesture # om ubx /dev/gps lower-power-state # stty -F /dev/ttySAC1 -echo # stty -F /dev/ttySAC1 igncr # cat /dev/ttySAC1 # cat /dev/ttySAC1 | perl -e 'use Time::HiRes; $| = 1; my $t2 = 0; while (<>) { if (/GPGGA/) { my $t = Time::HiRes::time(); printf("%f\n", $t - $t2); $t2 = $t; } }' # disable extra messages, 4Hz report rate: # http://wiki.openmoko.org/wiki/Neo_FreeRunner_GPS # pedestrian mode: # http://www.mail-archive.com/community@lists.openmoko.org/msg37868.html # aid data. # http://article.gmane.org/gmane.comp.handhelds.openmoko.community/23985 #0: Continuous Tracking Mode, about 3.5 mA #1: Fix Now -- sleep mode about 130 uA # http://lists.openmoko.org/nabble.html#nabble-td2476690 # http://downloads.openmoko.org/developer/sources/svn/omgps.googlecode.com/svn/trunk/omgps/src/ubx.c # at least 'ubxgen.py B5 62 06 11 02 00 03 01 00 00 > /dev/ttySAC1' does not stop 'cat /dev/ttySAC1' from working ogpsd forked to e.g. https://open.grcnz.com/svn/albatross/branches/groundstation/groundstation/gs/gps/gpsdevice.py "make ubx.py widely usable" http://trac.freesmartphone.org/ticket/167 # om accelerometer get-position?