Moin
Last week I had some problems with my HTC Hero Android phone. The mobile is awesome no question about that, but there is one funny “feature” which I don’t need at all and what caused me some trouble. The Hero (maybe other mobiles too) has the nice feature to switch from build-in loudspeakers to external earphones (via the jack on top) via software switch and not like other devices via hardware switch. This causes a problem when the process is not responding when you plug in the earphone. First impression is “hardware error” and you want to send back your phone to the repair center. But wait. This is a software bug (although the T-Mobile stores are not aware of that). Thanks to the Androidforum ere are two solutions for that.
The easy but not always working way
Turn off the phone by holding down the Hangup button for some time.
Plug in your earphones
Turn on the phone (if you see the earphone symbol everything is fine now)
I just played a little bit with APRS igate on Linux. There are some igate software available on Linux but the most supported package (javAPRESSrvr) is not available today because of an error on Yahoogroups where the files are hosted.
Therefore I installed xastir from Sourceforge and connected the the local running instance with the APRS-IS network. Now DM1AS is visible on FINDU.
Nice side effect on this, the server generates an Google Maps page every 5 minutes with APRS stations around my home. Maybe tomorrow I connect my radio to the igate and there will be more local stations available.
I love PetersBikemap.net page. Using this service to plan all my bike tours. Unfortunately my Garmin (GPSmap 60) does not understand the gpx file from Bikemap export. I wrote this little script to modify and split the route into smaller routes. GPSmap 60 only handle 250 points per route. Therefore the script splits the route into smaller pieces, renames the note names into “rtept” resp. “rte” and uploads the route via USB to the connected garmin.
What you need to run this script are gpsbabel and the unix commands: sed, split,cut and head .
Here it is, as usually no guarantee.
#!/bin/bash
filename=$1
gpsbabel -i gpx -f ${filename} -o csv -F out.csv
split -l 200 out.csv splits
rm out.csv
for i in `ls splits*`
do
gpsbabel -i csv -f ${i} -o gpx -F ${i}.gpx
sed 's/wpt/rtept/' ${i}.gpx > out
rm ${i}.gpx
mv out ${i}.gpx
rm ${i}
linenumber=`wc -l ${i}.gpx | cut -d " " -f 1`
let linenumber-=1
sed -n 10,${linenumber}p ${i}.gpx >a.gpx
rm ${i}.gpx
cat ${filename} | head -n 9 >${i}.gpx
echo "<rte>" >>${i}.gpx
cat a.gpx >>${i}.gpx
echo "</rte>" >>${i}.gpx
echo "</gpx>" >>${i}.gpx
rm a.gpx
sudo gpsbabel -r -i gpx -f ${i}.gpx -o garmin -F usb:0
rm ${i}.gpx
done
If you ever wondered if geeks are social here is the answer. Yes they are and they are very social and organising some very cool events which are called “geekends”. Combination of weekend and geek. Not just going for hiking with friends. No developing, building, ironing and coding very cool and geeky things.
As being a reader of the very cool MAKE magazin I read the article on a brain machine the other day. This project is great for a geekend. Something to build, some hardware, software and after all a great toy to play with.
The idea is to build one of these Brainwave (aka Light and Sound Machines) on your own with a little micro controller. Lets see if we can optimize the hard and software a little bit. The original one is based on an other project and therefore the hard and software is not optimizes for a LSM.
More Information on the original project you can find the the blog here.
Stay tuned to my blog to read more on this geekend.
Thanks to Oli (@EOLUS) I am now Beta Tester of Pachube. Cool Web 2.0 Service for Real Time Data exchange. People are streaming their measurement data with geographical informations in CSV or EEML XML format and can exchange their data.
I am now streaming my server temperature just for testing. Check out
Important is your Pachube key in the header of the PUT request. And your feed ID. With this example I am catching the acpi CPU temp and send them to Pachube.