You are here

Freecad Using 3D Connexion SpaceMouse on Ubuntu Linux 14.04

After quite some time I had a anothe look at freecad and I think it developed very well and its in an usable state. For better usability I just successfully installed the original driver of the 3D Connexion SpaceMouse from

Following the supplied readme I installed libXm and added a symlink:

sudo apt-get install libxm4
sudo ln -s /usr/lib/ /usr/lib/

The driver is delivered in a bit strange configuration with a deamon installed in the systems configuration directory /etc/3DxWare/daemon/3dxsrv

But anyway, as the supplied approach to start the deamon via inittab is a way to always start the deamon, but as I use it not so often and connect it to a portable device, I do not want to start the daemon on startup, but on device attachment. So, lets go via udev and add an appropriate udev rule in /etc/udev/rules.d/spacemouse.rules:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c626", RUN+="/etc/3DxWare/daemon/3dxsrv -d usb < /dev/null > /dev/null 2>&1"

An appropriate entry for the remove action is not required, because the deamon terminates as soon as the device has been disconnected.

The device is usable in freecad out of the box without any further configuration. :)