As followup to the developer's post I would like to document what needs
to be done to get a 3donnexion Space Navigator[1] working on ubuntu 9.04
jaunty (might be resolved in later releases) running an 32 bit kernel
for blender:

The software itself runs out of the box (install the package spacenavd
[version 0.3 comes with jaunty], the open source driver). However, the
package itself is incomplete and does not install all needed scripts.
Two problems have to be resolved after installing the package to be
used, 3 problems to get it work with blender:

1) init script
The init script is missing. The spacenavd must be started during boot. Copy 
attached spacenavd to /etc/init.d/spacenavd 
# chmod 744 /etc/init.d/spacenavd
# chown root:root /etc/init.d/spacenavd

Then create symbolic links to:
# ln -s /etc/init.d/spacenavd /etc/rc2.d/S99spacenavd
# ln -s /etc/init.d/spacenavd /etc/rc2.d/K99spacenavd

Your space Navigator will be initialized now upon boot (blue light
should be on after boot).

As a side note to the original developer: The upstram binary package
ships with a setup_init script. It will fail on ubuntu since ubuntu is
using upstart instead of init. The script will fail to find /etc/inittab
because it is not available on an default ubuntu installation (jaunty
and later for sure). Unfortunately I haven't discovered how to reliably
detect the default runlevel on a system using upstart, maybe some ubuntu
devs could help here?


2) X11 Mouse (problem related to hal policy)
By default, the Space Navigator[1] is treatet as touchpad/mouse. This will move 
the mouse cursor away out of the application (for example blender) when used. 
the application will loose focus and and the spacenav stops working. An 
additional hal policy will fix this. Copy no-3dconnexion-trackpoint.fdi (see 
attachment) to /etc/hal/fdi/policy/no-3dconnexion-trackpoint.fdi and reboot.

After this, my Space Navigator was ready to use with blender. However,
blender needed an additional plugin.


3) Install blender plugin (blender only)
Copy 3DxNdofBlender.plug [2] (see Attachment) to 
~/.blender/plugins/3DxNdofBlender.plug. If blender was running, you must 
restart blender.

Kind regards,
-S

Foot notes:
1] Space Navigator is what I have, AFAIK spacenavd does support all devices of 
3dconnexion as of 2010-01-11, so this info applies to other devices too.
http://spacenav.sourceforge.net/

2] The official plugin from the 3dconnexion: http://www.3dconnexion.com

-- 
missing init script
https://bugs.launchpad.net/bugs/325059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to