Skip navigation

Skip secondary navigation


Support
 How To
 SOS Yahoo Forum
 Video Tutorials

Other Resources
 Documentation
 FAQ
 Redhat

Run the Wii remote from a Display Node

This document describes how to move the Wii remote from the control from the control computer to one of the display nodes. It might be neccessary to do this if the control computer is too far away from the sphere, yet the display computers are nearby (some site setups are like this).

This feature works with SOS v3.2.x and above.

In this example, we generically use the convention for specifying the host names for the systems as sitename-"something". The sitename is usually an abbreviation for the local site. The machines used for an SOS site installation are sitename-nc for the control node. sitename1, sitename2, sitename3, and sitename4 for the display nodes (with the numeric 1,2,3,4 specifying the projector locations). Here are the steps to enable a site to run the Wii remote from one of the display node.

  1. On the "NC" computer, login as "sos" account

  2. Open a terminal

  3. Stop / Halt SOS on the controller computer (NC)
    Type the command: "sos stop"

  4. Ensure that bluetooth services are enabled. Type the command: "sudo pdo chkconfig --level 2345 bluetooth on"

  5. Start Bluetooth on the display node, if it's not already started:
    Type the command: "sudo pdo /etc/init.d/bluetooth restart"

  6. Go put the Bluetooth dongle into any display node from sitename1 to sitename4

  7. Point the Wii web service to connect to SOS control node's host name or IP address. This SOS control machine usually has a name like, ng-nc, or msc-nc, or generically, site_abbreviation-nc). NOTE: This is a very important step. Also note that this file may be empty so the lines being added will be new:

    edit "/shared/sos/etc/wiimote/preferences.xml" to add a line like so:
    preferences.xml:

        <preferences>
         ... whatever other preferences were here ...
        <pref key="sos.sphere.host">sitename-nc</pref>
        </preferences>

    In the above example, replace the sitename-nc with the specfic name of the sites SOS control host.

    A complete entry might look like this (the sitename is "ng"):

        <preferences>
        <pref key="sos.remote.max_remotes">2</pref>
        <pref key="sos.sphere.host">ng-nc</pref>
        </preferences>

  8. Bring up the Wii web service on the display nodes:
    Type the command: "pdo env SOS_ROOT=/shared/sos /shared/sos/tps/bin/web launch /shared/sos/lib/web/sos-wiimote.war"

  9. Start SOS again, it should now be possible to re-connect to the Wii remotes as normal (hold down the 1 and 2 buttons until the lights on the Wii start to blink, then wait for the rumble and the solid connection lights at the base of the Wii). NOTE: Make sure that you are within range of the Bluetooth dongle before trying connect the Wii
  10. For alignment. The web browser interface now has to connect to the display host where the bluetooth dongle is inserted. So for example, if if the bluetooth dongle is in display host, "ng1", then bring up the the alignment GUI and in the URL line, type the following:
     
    • "http://ng1:8080" (and then hit return)

    Then, use the alignment GUI as usual.
  11. CAVEAT. Since this is a patch to the normal system operation, it is not fully integrated and requires a manual start/stop of the Wii software. See the following link on how to restart the Wii software on the display node.