User:Kd8ikt

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(dont forget)
 
(44 intermediate revisions by one user not shown)
Line 1: Line 1:
much <3 openmoko
+
==Current Projects==
  
James Lutz
+
===streaming music browser icecast/shoutcast (mplayer frontend)===
Cincinnati, Ohio USA
+
  
 +
=== dont forget===
 +
*damnit i forgot
 +
**something about wifi bluetooth and networking and automated search, connect and routeing mesh crap, olsr, etc a smart daemon that once enabled will try misc configs/network setups to establish anytype of link be it client adhoc etc (easier said than done)
  
my useless home hosted webserver ipv6+ipv4
+
===demon daemon===
<br>http://we.trekbeyond.org/
+
randomly toggles all the lights on/off at a random times
 +
<br> vibrator stuff has been commented out
  
 +
<pre>
 +
#!/bin/bash
 +
#/hacker/kd8ikt
 +
#this could be a neat silent ringer
 +
#
 +
# REQUIRES BASH  $RANDOM
 +
e=echo
 +
aux_r=/sys/class/leds/gta02-aux\:red/brightness
 +
pow_b=/sys/class/leds/gta02-power\:blue/brightness
 +
pow_o=/sys/class/leds/gta02-power\:orange/brightness
 +
vib=/sys/class/leds/neo1973\:vibrator/brightness
  
*projects i'd like to see in the near future and will fight for
+
 
**wifi frontend to iw-tools
+
get_rand_sleep() {
*** does the wifi have autoconnect to any open net? 'iwconfig ath0 essid any'
+
        rand_time=$RANDOM
**accelerometer activity bindings to home , webbrowser etc guess thats an X11 in general thing
+
        RANGE=5
*** I like the idea of a shake or recorded motion to lock/unlock the keypad quickly
+
                let "rand_time %= $RANGE"
**IRC client and/or IM clent?
+
sleep $rand_time
**Email
+
}
**flite txt to speech engine sound off CID info ? eh prolly get in the way of the ring but still cool to have
+
 
**keyboard tab/option for finger board (bigger buttons) instead of stylus, or if there is a way to make the finger press goto the center or roughly of the finger? cant wait to get mine and tinker never played with linux+touchscreen before 
+
get_rand() {
***like it can tell its a fat finger pressing but still focus it to a fine point like the stylus
+
randy=$RANDOM
 +
RANGE=2
 +
let "randy %= $RANGE"
 +
}
 +
 
 +
#get_rand_vib() {
 +
# randy_vib=$RANDOM
 +
# RANGE=250
 +
# let "randy_vib %= $RANGE"
 +
#}
 +
 
 +
while [ 1 == 1 ]; do
 +
        get_rand_sleep
 +
get_rand
 +
$e $randy > $aux_r
 +
        get_rand_sleep
 +
get_rand
 +
$e $randy > $pow_b
 +
        get_rand_sleep
 +
get_rand
 +
$e $randy > $pow_o
 +
# get_rand_vib
 +
# $e $randy_vib > $vib
 +
done
 +
</PRE>
 +
#killscipt
 +
<PRE>
 +
e=echo
 +
#cleanupSCIPT
 +
aux_r=/sys/class/leds/gta02-aux\:red/brightness
 +
pow_b=/sys/class/leds/gta02-power\:blue/brightness
 +
pow_o=/sys/class/leds/gta02-power\:orange/brightness
 +
vib=/sys/class/leds/neo1973\:vibrator/brightness
 +
 
 +
 
 +
        killall abovescriptname
 +
$e 0 > $aux_r
 +
$e 0 > $pow_b
 +
$e 0 > $pow_o
 +
$e 0 > $vib
 +
 
 +
 
 +
 
 +
</pre>

Latest revision as of 16:27, 3 March 2009

Contents

[edit] Current Projects

[edit] streaming music browser icecast/shoutcast (mplayer frontend)

[edit] dont forget

  • damnit i forgot
    • something about wifi bluetooth and networking and automated search, connect and routeing mesh crap, olsr, etc a smart daemon that once enabled will try misc configs/network setups to establish anytype of link be it client adhoc etc (easier said than done)

[edit] demon daemon

randomly toggles all the lights on/off at a random times
vibrator stuff has been commented out

#!/bin/bash
#/hacker/kd8ikt
#this could be a neat silent ringer 
# 
#		REQUIRES BASH  $RANDOM
e=echo
aux_r=/sys/class/leds/gta02-aux\:red/brightness
pow_b=/sys/class/leds/gta02-power\:blue/brightness
pow_o=/sys/class/leds/gta02-power\:orange/brightness
vib=/sys/class/leds/neo1973\:vibrator/brightness


get_rand_sleep() {
        rand_time=$RANDOM
        RANGE=5
                let "rand_time %= $RANGE"
sleep $rand_time
}

get_rand() {
	randy=$RANDOM
	RANGE=2
		let "randy %= $RANGE"
}

#get_rand_vib() {
#	randy_vib=$RANDOM
#	RANGE=250
#	let "randy_vib %= $RANGE"
#}

	while [ 1 == 1 ]; do
        get_rand_sleep
	get_rand
		$e $randy > $aux_r
        get_rand_sleep
	get_rand
		$e $randy > $pow_b
        get_rand_sleep
	get_rand
		$e $randy > $pow_o
#			get_rand_vib
#		$e $randy_vib > $vib
	done
  1. killscipt
e=echo
#cleanupSCIPT
aux_r=/sys/class/leds/gta02-aux\:red/brightness
pow_b=/sys/class/leds/gta02-power\:blue/brightness
pow_o=/sys/class/leds/gta02-power\:orange/brightness
vib=/sys/class/leds/neo1973\:vibrator/brightness


        killall abovescriptname
	$e 0 > $aux_r
	$e 0 > $pow_b
	$e 0 > $pow_o
	$e 0 > $vib



Personal tools

much <3 openmoko

James Lutz Cincinnati, Ohio USA


my useless home hosted webserver ipv6+ipv4
http://we.trekbeyond.org/


  • projects i'd like to see in the near future and will fight for
    • wifi frontend to iw-tools
      • does the wifi have autoconnect to any open net? 'iwconfig ath0 essid any'
    • accelerometer activity bindings to home , webbrowser etc guess thats an X11 in general thing
      • I like the idea of a shake or recorded motion to lock/unlock the keypad quickly
    • IRC client and/or IM clent?
    • Email
    • flite txt to speech engine sound off CID info ? eh prolly get in the way of the ring but still cool to have
    • keyboard tab/option for finger board (bigger buttons) instead of stylus, or if there is a way to make the finger press goto the center or roughly of the finger? cant wait to get mine and tinker never played with linux+touchscreen before
      • like it can tell its a fat finger pressing but still focus it to a fine point like the stylus