Getting A 3dconnexion Device Running In Ubuntu:
UPDATE: OPEN SOURCE: (we just found this and have not fully tried the open source version but would really like to soon… See below at the bottom)
http://spacenav.sourceforge.net/
VitalBodies recently bought a 3dConnexions 3D SpacePilot controller to use in Blender to help with the learning curve of the Blender interface. We got the proprietary driver going using the steps below, but we are still trying to get the device going in Blender 2.49.
UBUNTU:
We downloaded and installed the proprietary driver 3dconnexion site: (As stated in their instructions)
The Blender page on 3dConnexion: http://www.3dconnexion.com/index.php?id=108
We ran each of these commands using sudo:
sudo nautilus
Copy the 3dxware-linux-v1-2-11.tgz to /tmp
Copy and extract the install-3dxunix.sh file into /tmp using the terminal.
sudo tar xfz 3dxware-linux-v1-4-3.x86_64.tar.gz install-3dxunix.sh
Run the install script:
sudo ./install-3dxunix.sh
Then we had to install libmotif because the driver complained about not having the library libXm.so.3.
We used System > Administration > Synaptic Package Manager > search ” libmotif” to find and install the libraries.
START THE DRIVER:
Run the driver from the command line:
sudo /etc/3DxWare/daemon/3dxsrv -d usb
Here is what we saw:
BLENDER: (Not sure about part as this is still experimental)
The next step is to get it going with blender:
Download the blender build from http://www.blenderbuilds.com/
Unzip the build.
Copy the 3DxNdofBlender.plugin folder to the plugin directory which is usually in home/user_name/.blend/plugins if you are using the Blender install from the Ubuntu (can require View > Show Hidden Files).
Double-clicked blender and you should be set to go…
BlenderBuilds.com: (Are they shutting down or is the 3Dconnexion taking over -shutting down is our best guess?)
http://www.blenderbuilds.com/2007/08/05/august-build-3dconnexion-with-a-prize/
ADDITIONAL RESOURCES:
http://www.arakhne.org/3dxware/index.html
Forum Article with readme files and other info: http://www.3dconnexion.com/forum/viewtopic.php?p=18109#18109
Interesting insights on getting the Open Source version going: http://www.3dconnexion.com/forum/viewtopic.php?p=13877#13877
POLL:
Add your vote to the poll we started: http://www.3dconnexion.com/forum/viewtopic.php?p=18109#18109
TERMINAL:
If you need to find your device this command is suggested:
lshal | less
Followed by the “/” and the first few letters of the name of the device.
/Space
Then:
Enter
That gave us this:
usb_device.product = '3Dconnexion Space Pilot 3D Mouse' (string)
UN-INSTALL THE DRIVER: (?)
sudo aptitude remove 3dxunix
Since the driver was installed with a script rather than as a package, the above command will NOT remove the driver. Anyone know how to remove it?
We have an answer from the comments related to this post:
“Delete it.
And delete the corresponding line in the /etc/inittab.”
We take that to mean delete the directory
/etc/3DxWare
And this lines of code (at least for us):
3d:2345:respawn:/etc/3DxWare/daemon/3dxsrv -d usb </dev/null >/dev/null 2>&1
One can use sudo nautilus to navigate the files and delete them and then gedit to edit the inittab.
You will also need to delete the plugin in the .blend/plugins folder also.
UPDATE SPACENAV: (From the Readme)
Useful commands: We copied the downloaded folder into the tmp folder in order to begin.
For Installation:
cd cd /tmp/spacenavd-0.4 sudo ./configure sudo make sudo make install sudo ./setup_init
For starting, stopping and reading the log file:
gedit /var/log/spnavd.log sudo /etc/init.d/spacenavd start sudo /etc/init.d/spacenavd stop
1. About
Spacenavd, is a free software replacement user-space driver (daemon), for
3Dconnexion’s space-something 6dof input devices. It’s compatible with the
original 3dxsrv proprietary daemon provided by 3Dconnexion, and works
perfectly with any program that was written for the 3Dconnexion driver.
For more info on the spacenav project, visit: http://spacenav.sourceforge.net
2. Dependencies
In order to compile the spacenavd daemon, you’ll need the following:
* GNU C Compiler
* GNU make
* Xlib headers (optional)
You can compile the daemon without Xlib, but it won’t be compatible with
applications that where written for the original proprietary 3Dconnexion
driver (e.g. blender, maya, etc). The 3dxsrv compatibility interface needs to
go through the X window system.
3. Installation
If you have the dependencies installed, just run “./configure” and then
“make” to compile the daemon, and “make install”, to install it. The
default installation prefix is “/usr/local”. If you wish to install
somewhere else, you may pass –prefix=/whatever to the configure script.
4. Running spacenavd
If your system uses SysV init, then you may run the supplied “setup_init”
script, and everything should be set up to have spacenavd start automatically
during system startup. However, for now, you won’t have to reboot, just type
“/etc/init.d/spacenavd start” as root, to start the daemon immediately.
If your system uses BSD init (you can tell if you *don’t* have a series of
directories called rc0.d, rc1.d, and so on, in /etc), then you’ll have to
follow your init documentation and set this up yourself. You may be able to
use the provided init_script file as a starting point.
5. Configuration
The spacenavd daemon reads a number of options from the /etc/spnavrc file. If
that file doesn’t exist, then it uses default values for everything. You may
use the graphical spnavcfg program to interactively set any of these options.
The daemon should respond immediately to your changes, and also the
configuration file should be updated automatically.
6. Troubleshooting
If you’re having trouble running spacenavd, read the up to date FAQ on the
spacenav website: http://spacenav.sourceforge.net/faq.html
If you’re still having trouble, send a description of your problem to the
spacenav-users mailing list: spacenav-users@lists.sourceforge.net
along with a copy of your /var/log/spnavd.log and any other relevant
information.
7. License
This program is released under the terms of the GNU GPLv3, see COPYING for
details.






























