OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Personal Photo
Personal Statement
doug-taylor doesn't have a personal statement currently.
Personal Info
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
No Information
Joined: 11-October 05
Profile Views: 1,719*
Last Seen: 7th December 2007 - 01:15 PM
Local Time: May 25 2018, 10:05 AM
22 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
* Profile views updated each hour



My Content
21 Nov 2007
Just wanted to share a little script I wrote for my Zaurus. I studied Tae Kwon Do (Korean Karate) a while back, and I always thought it provided a good aerobic workout. So I wrote down in a file every move (kicks, punches, blocks) I had learned, sent that list through an awk script that spat out random moves, and piped *that* list through flite.

The result is a script that runs completely on my SL-5500 and speaks 1000 random Tae Kwon Do moves for me to perform. Takes 30-40 minutes to run through the whole routine, and I'm sweating pretty hard by the end. Don't know if anyone else would be interested in this. I suppose it could be adapted to call out any random series of phrases for someone's amusement. :-)

Requires flite, awk, and, umm, probably the GNU textutils or bash or something.

Anyway, here's the script, between the rows of equals signs:
export MAXCOUNT=10
export COUNT=0
while [ $COUNT -lt $MAXCOUNT ]
COUNT=`expr $COUNT + 1`
echo "front kick
jumping front kick
side kick
#jumping side kick
turning side kick
back wheel kick
roundhouse kick
jumping roundhouse kick
half-moon kick
jumping half-moon kick
crescent kick
jumping crescent kick
side attack
fighting stance number one
fighting stance number two
one knife hand attack
reverse punch
middle punch
upper punch
reverse spinning knife hand attack
inside knife hand
outside knife hand
upper block
inside block
double inside block
outside block
lower block
double lower block"|
grep -v ^# | \
'BEGIN {srand();INDEX=0}
if (COUNT == 1) {print "begin tie kwon doe exercise.";}
print "begin part " COUNT ".";
while (I < 100) {
print MOVE[int(INDEX*rand())] ".";
print "end part " COUNT "."
if (COUNT == MAXCOUNT) {print "end tie kwon doe exercise.";}
}' |\
flite --setf duration_stretch=1.5 --setf int_f0_target_mean=145

Hope somebody likes it.
7 Nov 2007

I've got a 5500 running Opie under OZ 3.5.3. I'm trying to get flite (Festival-lite, the text-to-speech program) running. I have downloaded both 1.1 and 1.2, but haven't had any luck getting either one to work properly. When I run a command like

echo "hello world"|flite

all I get is a squawk, sort of like the sound I made once when I got hit by a baseball in a very bad place. :-) If I try flite on a longish text file, I just get a series of squawks.

Is there something else I need to install, like a library or a voice file? The docs seem to indicate that all I need is the flite binary. Has anyone got this working on a 5500?

Incidently, the flite_time program (which speaks the time in a Scottish accent) runs great.
12 Jun 2007
I'm using Opie/OZ 3.5.3 with my SL-5500, and I've noticed an annoying problem with some games like Doom (using PrBoom) and Pokemon Blue (using Qtopia Gnuboy).

When I'm playing one of these games, if I hold down a key for too long, the Zaurus shuts itself down. It doesn't freeze, it doesn't exactly crash, it doesn't even suspend. It just powers itself off as if I had flipped the "replace battery" switch on the back. Once this has happened, the only way to bring it back, in fact, is to toggle the switch in back.

Needless to say, this is pretty annoying, and makes any arcade games essentially useless. It feels like it happens when I hold down a key for long enough that (1) a typematic thingie kicks in, or (2) some sort of keyboard buffer fills up. Not sure which it is.

So, I was wondering whether anyone else had seen such behavior, and how it might be fixed. Since I noticed it mainly with my game emulators, I wonder if it might be a problem with SDL. For what it's worth, I see /opt/QtPalmtop/lib/libSDL-1.2.so.0.0.5 as my SDL library.
23 May 2007
Has anyone compiled Twin for OZ/Opie? Twin (http://twin.sourceforge.net/) is a curses-based text-mode windowing environment. I guess it would be fairly useless for a stand-alone Zaurus, but I occasionally use mine as an sshd server, and being able to ssh into my Z and run Twin on it would really be peachy-keen.

I see a package for it at http://www.tyrannozaurus.com/feed/beta3/feed/, but that's pdaXrom, and I can't get it to work on my 5500.
30 Oct 2006
Hi. I have a Zaurus SL-5500 running Opie 3.5.4, and I have been happily using the following script (/etc/hotplug/usb/usbnet) on my Ubuntu desktop to set up USB networking whenever my Z gets plugged in to the USB port:

#! /bin/bash
typeset -i num
num=`ifconfig | grep usb0 | wc -l`
if [ $num -eq 0 ] ; then
ifconfig usb0 netmask up
route add -host usb0
iptables -t nat -F
iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to <IP ADDRESS>
echo 1 > /proc/sys/net/ipv4/ip_forward

I recently upgraded Ubuntu from Dapper Drake to Edgy Eft, and all of a sudden, there's no /etc/hotplug directory. It looks like that functionality has been taken over by upstart. So my question is, how can I set up upstart (1) to recognize that the Z has plugged into the USB port and (2) to set up networking for it?


Last Visitors

21 Nov 2007 - 17:11

Other users have left no comments for doug-taylor.

There are no friends to display.
RSS Lo-Fi Version Time is now: 25th May 2018 - 07:05 AM