Difference between revisions of "SpaceNavigator"

From Second Life Wiki
Jump to navigation Jump to search
(→‎How do I make it work?: new subsection →‎Linux: copied with permission from http://gentoo.techwolf.net/)
m (→‎Linux: typos, minor clarifications, emphasize)
Line 33: Line 33:
Linux users may need to do the following.
Linux users may need to do the following.


1) Uninstall any 3Dconnexion company supplied linux drivers as they conflick with the one built into the kernel. The SpaceNavigator shows up as a HID device that Secondlife can use.<br />
1) Uninstall any 3Dconnexion company supplied Linux drivers as they conflict with the one built into the kernel. The SpaceNavigator shows up as a [http://en.wikipedia.org/wiki/Human_interface_device HID] device that Second Life can use.<br />
2) Create some udev rules if they are not supplied with the distro. Currently gentoo does not.
2) Create some udev rules if they are not supplied with the distro. Currently e.g. gentoo does not supply them.
  cat << EOF > /etc/udev/rules.d/91-spacenavigator.rules
  cat << EOF > /etc/udev/rules.d/91-spacenavigator.rules
  KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c603", SYMLINK+="input/spacemouse", GROUP="plugdev", MODE="664"
  KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c603", SYMLINK+="input/spacemouse", GROUP="plugdev", MODE="664"
Line 41: Line 41:
  EOF
  EOF


3) Create some hal policy rules to prevent the SpaceNavigator from being used as a mouse with hotpluggin on x-org. Only needed if you find the joystick controlling the mouse.
3) Create some HAL policy rules to prevent the SpaceNavigator from being used as a mouse with hot-plugging on x-org. '''Only needed if you find the joystick controlling the mouse.'''
  cat &lt;&lt; EOF &gt; /etc/hal/fdi/policy/3Dconnexion_SpaceNavigator.fdi
  cat &lt;&lt; EOF &gt; /etc/hal/fdi/policy/3Dconnexion_SpaceNavigator.fdi
  &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;

Revision as of 13:44, 5 September 2009

I-can-has-spacenavigator.jpg SpaceNavigator.png

What is it?

The 3DConnexion SpaceNavigator is a 3D mouse with 6 degrees of freedom which can be used in conjunction with Second Life's Joystick Flycam. It's officially supported from version 1.20 and up.

How do I make it work?

  • Install the drivers and calibrate. In Second Life, make sure to do this:
    • Go to Edit menu > Preferences > Input & Camera tab.
    • Click "Joystick Setup" and click "Enable Joystick" in the upper-left. If it's grayed-out, make sure your SN is connected properly.
  • Confirm Preferences and click OK.
    • Avatar mode - Move the SpaceNavigator cap. You should see your avatar move around.
    • Flycam mode - Press the left SN button, and move the SN to control your camera. (Note that tiny white "Flycam" text no longer appears in the lower-right.)
    • Build mode - Rez an object, and while it's selected, twist the SN. You should see the object spin.

<videoflash>gEAyMDDSh5g</videoflash>

Linux

Linux users may need to do the following.

1) Uninstall any 3Dconnexion company supplied Linux drivers as they conflict with the one built into the kernel. The SpaceNavigator shows up as a HID device that Second Life can use.
2) Create some udev rules if they are not supplied with the distro. Currently e.g. gentoo does not supply them.

cat << EOF > /etc/udev/rules.d/91-spacenavigator.rules
KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c603", SYMLINK+="input/spacemouse", GROUP="plugdev", MODE="664"
KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c623", SYMLINK+="input/spacetraveler", GROUP="plugdev", MODE="664"
KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c626", SYMLINK+="input/spacenavigator", GROUP="plugdev", MODE="664"
EOF

3) Create some HAL policy rules to prevent the SpaceNavigator from being used as a mouse with hot-plugging on x-org. Only needed if you find the joystick controlling the mouse.

cat << EOF > /etc/hal/fdi/policy/3Dconnexion_SpaceNavigator.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="3Dconnexion SpaceNavigator">
      <merge key="input.x11_driver" type="string"></merge>
    </match>
  </device>
</deviceinfo>
EOF

Related resources

  • Join an inworld group like "3DConnexion Space Cadets" to chat with other SN fans.
  • Interested in the more technical aspects? Join SLDev and ask there.

Bugs

  • Experiencing a bug? See if it's already been reported or fixed @ VWR-6363.