This is a fork of pymissile project: http://code.google.com/p/pymissile/ that add support of center missile device (0416:9391) from Winbond Electronics
- python (>=2.3)
- libusb (>=0.1.8)
- pyusb (==0.3.1) python module with patch included below
- urwid python module
-
ensure python is installed and right version
-
install libusb-0.1.18 or better (available here or use package appropriate for your distro, e.g. on ubuntu:
$ sudo apt-get install libusb-dev
-
install pyusb-0.3.1 (available here or archived here) but patched (see below):
$ wget http://pymissile.googlecode.com/svn/trunk/pyusb-0.3.1.tar.gz
$ tar zxvf pyusb-0.3.1.tar.gz
$ cd pyusb-0.3.1
$ wget http://pymissile.googlecode.com/svn/trunk/pyusb-0.3.1-kernel-detach.patch
$ patch -p1 < pyusb-0.3.1-kernel-detach.patch
$ sudo python setup.py install
- install urwid-0.8.10 (available here)
- plug in Missile Launcher
- run missile.py as root (maybe non-root will work if you mess with libusb, let me know the details if that's the case)
$ wget https://raw.github.com/momentofgeekiness/pymissile-ng/master/missile.py
$ chmod +x ./missile.py
$ sudo ./missile.py
sudo ./missile.py
for command-line controlssudo ./missile.py -n
for the network modus, as used for the Android Missile Launcher app (more info)