Linux Setup

  1. You will need Python installed. On many Linux distributions, Python is already installed. We will use Python 2.4 from (If you are using Ubuntu 8.10, see the bottom of this page for a complete walk through.)
  2. Download and run pyserial (pyserial-2.2)
  3. If you would like to use the Chat features, you’ll need xmpppy
  4. If you would like to view camera and other images, you will need the Python Image Library at least version 1.1.6
  5. You’ll need numpy if you will be working with images from the camera
  6. Download, unzip, and run “python” on the latest Myro – select with the largest x.y.z.
  7. Copy Start Python.pyw to your myro directory, or elsewhere. NOTE: If you do not place the myro directory into your python interpreter’s sys.path the “from myro import *” command will fail unless you run the Start Python.pyw file from the same directory as the myro source files directory.
  8. Copy these two files to your idlelib subdirectory
  9. If you would like to have sound output on the host computer, you will need Snack Sound Extension. This is handy so the simulator can beep(). To install:
    • need tk-devel and tcl-devel packages
    • download latest source release from
    • tar xfz snack2.2.10.tar.gz
    • cd snack2.2.10/unix
    • ./configure –with-tcl=/usr/lib/ –with-tk=/usr/lib/ –enable-alsa
    • edit Makefile and change SNACK_INSTALL_PATH = /usr/lib (couldn’t figure out what flag to send configure)
    • make; make install
    • cd ../python
    • python install
  10. If you would like text-to-speech, then install festival

The last piece of the puzzle is to add a Bluetooth interface. If you have a fairly modern Linux setup, then you need only do the following. If you need to manually add and configure Bluetooth, see the notes here:

First, find out the Bluetooth address of your IPRE fluke device. To do this, as root, enter hcitool scan like so:

% hcitool scan
Scanning ...
       00:0A:94:02:9E:0C       rochester-0 
       0F:22:13:48:45:0A       Pams Laptop
       00:11:22:33:44:43       IPRE6-19324

Then, add an entry in /etc/bluetooth/rfcomm.conf file using that Bluetooth address:

rfcomm0 {
       # Automatically bind the device at startup
       bind yes;
       # Bluetooth address of the device
       device 11:22:33:44:55:66;
       # RFCOMM channel for the connection
       channel	1;
       # Description of the connection
       comment "IPRE Scribbler Dongle";

Lastly, run rfcomm bind all like so:

% rfcomm bind all

You can then refer to your Scribbler via the comport named “/dev/rfcomm0” in the init() function call.


  • If you are getting “Permission Denied” error messages when attempting to access the bluetooth serial port, you may need to set up the default permissions on your rfcomm devices following these directions by Henry Walker.
  • There is a conflict between the Modem Manager and the Fluke that can cause problems connecting. Typically the symptoms involve failing to connect on the first attempt, but success on subsequent attempts. Follow these directions to address this issue.

Ubuntu 8.10 detailed instructions

Andrea Castellani has provided the following detailed instructions for setting up Myro on Ubuntu verson 8.10. Media:Myro_setup_LINUX_Ubuntu.txt

Scroll to Top