Initial research
Ive discovered three principle voice-control frameworks
This is Angelo Santagata personal blog where I blog various technical things he comes across in his life.. Some of them are work related some are not... enjoy!
#!/bin/bash
say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_tts?tl=en&q=$*"; }
say $*
|
C:\tracert 216.81.59.173
$ traceroute 216.81.59.173The result
C:\Users\angelo>tracert 216.81.59.173 Tracing route to read.more.at.beaglenetworks.net [216.81.59.173] over a maximum of 30 hops: 1 9 ms 3 ms 3 ms 10.121.104.6 2 * * * Request timed out. 3 8 ms 6 ms 7 ms 192.168.1.1 4 8 ms 8 ms 9 ms 62.28.235.49 5 13 ms 18 ms 31 ms 62.28.252.253 6 64 ms 12 ms 13 ms 62.28.252.254 7 18 ms 20 ms 19 ms lis2-cr1-te0-0-3.cprm.net [195.8.10.157] 8 70 ms 72 ms 71 ms par1-cr1-gi2-0-0.cprm.net [195.8.0.234] 9 77 ms 69 ms 73 ms 195.8.1.25 10 74 ms 79 ms 69 ms 20gigabitethernet1-3.core1.ams1.he.net [195.69.1 45.150] 11 61 ms 62 ms 61 ms 10gigabitethernet2-1.core1.par2.he.net [184.105. 213.102] 12 288 ms 408 ms 310 ms 10gigabitethernet7-1.core1.ash1.he.net [184.105. 213.93] 13 145 ms 292 ms 306 ms 10gigabitethernet1-2.core1.atl1.he.net [184.105. 213.110] 14 231 ms 410 ms 305 ms 216.66.0.26 15 * * * Request timed out. 16 174 ms 223 ms 305 ms Episode.IV [206.214.251.1] 17 224 ms 306 ms 305 ms A.NEW.HOPE [206.214.251.6] 18 221 ms 174 ms 234 ms It.is.a.period.of.civil.war [206.214.251.9] 19 174 ms 233 ms 304 ms Rebel.spaceships [206.214.251.14] 20 224 ms 306 ms 306 ms striking.from.a.hidden.base [206.214.251.17] 21 223 ms 306 ms 229 ms have.won.their.first.victory [206.214.251.22] 22 250 ms 305 ms 215 ms against.the.evil.Galactic.Empire [206.214.251.25 ] 23 236 ms 306 ms 305 ms During.the.battle [206.214.251.30] 24 174 ms 237 ms 219 ms Rebel.spies.managed [206.214.251.33] 25 241 ms 305 ms 305 ms to.steal.secret.plans [206.214.251.38] 26 223 ms 305 ms 171 ms to.the.Empires.ultimate.weapon [206.214.251.41] 27 273 ms 307 ms 306 ms the.DEATH.STAR [206.214.251.46] 28 226 ms 306 ms 307 ms an.armored.space.station [206.214.251.49] 29 226 ms 307 ms 304 ms with.enough.power.to [206.214.251.54] 30 327 ms 306 ms 305 ms destroy.an.entire.planet [206.214.251.57] Trace complete. C:\Users\angelo>tracert 216.81.59.173
The Looqs Meebox is a typical NAS and one of the things NAS’s do is they refresh their root (/) filesystem on boot, Its a kinda failsafe mechanism I guess…
Anyway this means if you want too add any startup scripts/edit files etc on boot its a little hard.. However where there’s a will there is a way!
I noticed that although root (/) is in ram /system is mapped to the harddisk, I also noticed there are a number of files which are executed at boot.. One of these is /system/hddapp/etc/rc
Bingo, if you want something to start at boot time, or you need a filesystem modification done at boot (e.g. /opt linked to /mnt/ide/opt) then simply put it at the end of this file.
e.g. The end of my rc file looks like this
#Added stuff by Angelo
#re create /opt link
ln -s /mnt/ide3/opt /opt
# Start TwonkyServer
/mnt/ide3/apps/twonky7.0.5/twonkystarter -appdata /mnt/ide3/apps/twonky7.0.5/two
meebox> chmod +x setup_optware_looqs.sh
meebox> mkdir /mnt/ide3/opt
meebox> ln -s /mnt/ide3/opt /opt
meebox> feed=http://ipkg.nslu2-linux.org/feeds/optware/vt4/cross/unstable
meebox> ipk_name=`wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}'`
meebox> wget $feed/$ipk_name
meebox> tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
meebox> mkdir -p /opt/etc/ipkg
meebox> echo "src cross $feed" > /opt/etc/ipkg/feeds.conf
meebox> export PATH=/opt/bin:$PATH
meebox> ipkg update
meebox> ipkg install transmission
"rpc-whitelist-enabled": false,
meebox> mkdir /mnt/ide3/transmissionDownloads4. Transmission by default will store its config files in /.config, we dont want this on the Meebox as the root filesystem is wiped between boots.. I recommend creating a directory to store this and by setting the environment variable TRANSMISSION_HOME it will use that directory
meebox> mkdir /mnt/ide3/transmissionConfig
meebox> export TRANSMISSION_HOME=/mnt/ide3/transmissionConfig
meebox> transmission-daemon -w /mnt/ide3/transmissionDownloads
meebox> killall transmission-daemon
meebox> vi /mnt/ide3/transmssionConfig/settings.json"rpc-whitelist-enabled": true,
"rpc-whitelist-enabled": false,
transmission-daemon -w /mnt/ide3/transmissionDownloads
meebox> uname -a Linux meebox 2.6.15 #224 Tue Nov 3 21:07:04 KST 2009 armv4l unknown meebox>
meebox> echo -n I | od -to2 | head -n1 | cut -f2 -d" " | cut -c6 1 meebox>
meebox> ldd --version ldd (GNU libc) 2.3.5 $Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $Written by Roland McGrath and Ulrich Drepper. meebox>
meebox> mkdir /mnt/ide3/twonky meebox> mkdir /mnt/ide3/twonky/twonkyServer meebox> mkdir /mnt/ide3/twonky/twonkyAppData
meebox> cd /mnt/ide3/twonky/twonkyServer meebox> chmod 700 twonkys* twonkyproxy twonkywebdav cgi-bin/* plugins/*
meebox> /mnt/ide3/twonky/twonkyServer/twonkystarter
-appdata /mnt/ide3/twonky/twonkyAppData
Just over a week ago I managed to bag myself a Looqs Meebox from Amazon recently for a princely sum of £25 +p&p..
Product Description from Amazon
“Use MeeBox Router as your central data storage device within your home network. So all your multimedia files are accessible through your PC or laptop and network media players via Internet. In addition, the MeeBox Router has a 4-port Gigabit switch/router and an integrated WiFi 802.11b/g access point
Features - UPnP MediaServer - iTunes server - Bittorrent client - APM web server - Web file browser - Web photo gallery - Blog - Web forumSpecifications1x500GB HDD - 2x 3.5" drive bays - Capacity: Up to 2 x 2TB Hard Drives (4TB Max) - RAID0 & RAID1 support - FAT32, NTFS, XFS, ext2, ext3 Network - 4-ports Gigabit Ethernet switch - Gigabit Ethernet WAN port - 802.11 b/g Wi-Fi access point - Services: SMB, FTP, SFTP, SSH, Telnet, VPN, HTTP, MySQL, printer sharing 2x USB ports for expansion Processor - ARM9 32-bit CPU w/ 16KB L1 cache - 128 MB DDR SDRAM - 16 MB Flash ROM Power supply - Power input: 90~220V AC, 50/60 Hz - Power output: 12V DC, 4A - Max. usage: 23W Dimensions 433mm x 209mm x 50mm cm Warranty Information Warranty Period (yrs) 1”
Feature wise its AMAZING, supports everything, NAS, SSH,OpenVPN, Media server (see amazon link), however the truth is that
- NAS Functions are slow when you consider it has a Gigabit switch embedded. 6MBs read/write vs 20MBs for a DLink 320.
- The media server (mediatomb) is ok, but its not fab as a DNLA Server, it is also not compatible with the XBox 360 ![]()
- The inbuilt applications are all really really slow… Gallery/Wiki etc.
- The manual is good, but missing quite a few important points..
Most of these issues are mainly due to the fact that the processor is only running at 300Mhz, not lightning fast one would say..
However on the positive side
- Price! , amazing value for money..
- It does have a LAMP stack (Linux Apache MySql PHP) preinstalled
- SSH,OpenVPN Stack works well
- Busybox root access is out of the box, route to hacking?
- Printer server works fine
- Very low power
Was it worth the €200 Looqs wanted when it was on sale? NO
Worth £25? Absolutely!!!
Although I bought mine from ADMI@Amazon, http://aria.co.uk have also been selling them and they have a forum with a meebox owners club thread in their forum (link)
http://www.zdnet.com/blog/mobile-news/20-good-apps-for-the-hp-touchpad/4907
Gosh, since I’ve received my touchpad, i’ve been quite impressed with it.. OK its gotta lotta rough edges, the browser is a bit shoddy, email is ok.. no scroll bars, and adobe acrobot needs a search button! but overall its actually quite , very good..
If only HP had come out with it a little cheaper (say £250), they would have sold LOADS.. Who knows maybe Meg@Hp is thinking this… Therefore the touchpad becomes a loss leader to create a new market… guerrilla style..
My current favourite apps are
- SpazHD
- Facebook app (its really good)
- TuneIn
- Kindle
And soon Zinio will be my top favourite app
Oh well the android hacking on the joggler continues.. I’ve documented, and the community has tested, the latest version of the Joggler Android build (2.2.2-Mijuu 1.2.3)
http://www.jogglerwiki.com/wiki/Mijuu_Release_1.2.3/Android_2.2.2
Give it a go, personally I think Android is the best OS for the joggler if u want a finger controlled device.. If your after a little mini-desktop, and ok to add a mouse+keyboard then Ubuntu rocks.
All, as you know I love the chase, especially when it comes to hacking,modding gadgets..
Last year I bought a couple of o2 joggers, ok these things run Ubuntu natively with a custom flash UI, but the software they provide is basic to say the least.. As the device is a Intel Atom based device with a EFI BIOS its quite straightforward to replace the OS and boot from a memory stick…
So time to replace it.. So far I’ve found three alterntives
1. Leave the Stock OS, simply Pimp it, using Plug-n-Pimp (forum link)
2. Install Ubuntu 10.x or 11.x, (forum link)
3. Install Joli OS (forum link)
4. Install Android (forum link)
Now , I have two jogglers, one is running the stock OS downstairs, works a treat but its mainly a “Clock” with weather features ![]()
The one in the office is my testbed joggler.. So far my views are
Ubuntu
Way more powerful and flexible than all the other OS’s however unless you put a mouse & keyboard it is really hard to use.. Also I’ve heard to run it properly you need to install the OS onto a harddrive.. bit much for little 7” toy.
Joli OS
Not really my cuppa tea
Android 2.2
Now there we’re talking.. touch os, runs lightning fast on the device
However it does have its niggles. Lots of programs wont work, mainly because they use the NDK (Arm not x86) and some also go into portrait mode.. not so good.. But theres lots that work really really well , like skynews, pulse, googlemaps etc ..
So for now Android is my OS of choice.. however Meego is also being ported and looks really good, a touchOS with Linux compatibility!
Here’s some screenshots (sorry for the dodgy colors my screen capture program .. is weird.. ) I’ll update them when I find a screen capture program which works on Android x86
Gosh the amount of Android and Linux distributions operating in my household is increasing crazyly!
My latest distro is putting Android 2.2.1 (Froyo) on my beloved Joggler.. Now the Joggler did have an Android build earlier this year but alas.. without soft buttons it didnt work well… but now thanks to some chaps in China we have Android 2.2.1 with soft buttons…
Works a champ.. actually if O2 saw this running Id betcha they’d grab all the jogglers they could find , stick android on them and flog them like hot cakes!
See my postings at http://www.jogglerwiki.com/forum/viewtopic.php?f=2&t=122
Hey all , in the past I used to use a windows XP extension to open a command line in a particular directory from windows explorer.
I was just looking for this in windows 7 and apparently its “baked” in!
Simply find the directory using windows 7 explorer and the use “Shift+RightMouseClick” and hey presto a “open command window here” option appears!
Hey all, I’ve just installed SOA Suite 11.1.1.4 and noticed a few funnies which people might hit, thankfully each of them have an easy solution.
1. Some applications are installed but dont appear to work?
If when you install SOASuite you may notice that the following applications dont appear to work, however they do appear as deployments in Weblogic Server Console
e.g. SOA Composer (composer), FMW Welcome Page Application (11.1.0.0.0) and some of the adaptors.
If they appear in the deployments list state as “installed” and not Active, then its likely that they haven't been targeted to a specific server.
The solution is to target the application the desired managed server , e.g. AdminServer in a development environment.
This is done by selecting the application, tab “Targets”, select all components, Button[change Targets] and select the appropriate server.
This change can be done without restarting the Weblogic Server
2. You might find that when you try to log into the BPM Composer at http://machine:7001/bpm/composer , the login screen will appear but you cant log in.
The error log might mention the following
The solution to this is two fold,
a) When creating the domain, avoid using 127.0.0.1 as the Listener address, or “Any Addresses”, if this is a development machine create an alias in your /etc/hosts file and then use this alias in the domain creation wizard.
e.g. my host file contains an entry
mypc 127.0.0.1
And in the Fusion middleware Configuration wizard
Twill then work!
if it still doesnt you can try setting the ServerURL attribute to http://mypc in the SoaInfraMBean instead of blank.
This is accomplished by using Enterprise Manager. Use the System MBean Browser to navigate to Application Defined MBeans->oracle.as.soainfra.config->[ server]->SoaInfraConfig->soa-infra.
Then changing the value of 'ServerURL' to http://mypc
Failing that give support a call….