a fork of pymissile that add support of center device
Clone or download
Pull request Compare This branch is 5 commits ahead of zskdan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.empty
README.md
missile.py

README.md


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


Requirements

  • python (>=2.3)
  • libusb (>=0.1.8)
  • pyusb (==0.3.1) python module with patch included below
  • urwid python module

Install

  1. ensure python is installed and right version

  2. 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

  3. 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
  1. install urwid-0.8.10 (available here)
  2. plug in Missile Launcher
  3. 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

Usage

  • sudo ./missile.py for command-line controls
  • sudo ./missile.py -n for the network modus, as used for the Android Missile Launcher app (more info)