Difference between revisions of "SpaceNavigator"

From Second Life Wiki
Jump to navigation Jump to search
(→‎Linux: update & details)
(→‎Linux: Avoid warnings in recent UDEV versions: "SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device")
Line 37: Line 37:
2) Create some udev rules if they are not supplied with the distro (e.g. Ubuntu and Gentoo don't supply them). You probably only need to add the third one of the three following KERNEL lines.
2) Create some udev rules if they are not supplied with the distro (e.g. Ubuntu and Gentoo don't supply them). You probably only need to add the third one of the three following KERNEL lines.
  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]*", ATTRS{idVendor}=="046d", ATTRS{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]*", ATTRS{idVendor}=="046d", ATTRS{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"
  KERNEL=="event[0-9]*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c626", SYMLINK+="input/spacenavigator", GROUP="plugdev", MODE="664"
  EOF
  EOF



Revision as of 07:31, 14 October 2010

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. (For setup on Linux, see below)
  • 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. These instructions have been confirmed for Ubuntu Karmic and SL Viewer 1.x.

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 (e.g. Ubuntu and Gentoo don't supply them). You probably only need to add the third one of the three following KERNEL lines.

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