missing init script
Bug #325059 reported by
John Tsiombikas
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spacenavd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: spacenavd
Hi, I'm the author of spacenavd.
I stumbled accidentally on the ubuntu package (I'm using debian myself), and I installed spacenavd on an ubuntu 8.10 system using the intrepid-backports apt source.
Apparently spacenavd is not set up to start automatically when installed. The source distribution of spacenavd contains an example init script that can be used for that reason, and a shell script (spnavd_ctl) which must be run after the X server is started to let the daemon know it can connect to the X server (spnavd_ctl x11 start).
If you need any further assistance with the ubuntu package of spacenavd please contact me directly: <email address hidden>
To post a comment you must log in.
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 d/spacenavd d/spacenavd d/spacenavd
The init script is missing. The spacenavd must be started during boot. Copy attached spacenavd to /etc/init.
# chmod 744 /etc/init.
# chown root:root /etc/init.
Then create symbolic links to: d/spacenavd /etc/rc2. d/S99spacenavd d/spacenavd /etc/rc2. d/K99spacenavd
# ln -s /etc/init.
# ln -s /etc/init.
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) trackpoint. fdi (see attachment) to /etc/hal/ fdi/policy/ no-3dconnexion- trackpoint. fdi and reboot.
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-
After this, my Space Navigator was ready to use with blender. However, blender needed an additional plugin.
3) Install blender plugin (blender only) plugins/ 3DxNdofBlender. plug. If blender was running, you must restart blender.
Copy 3DxNdofBlender.plug [2] (see Attachment) to ~/.blender/
Kind regards,
-S
Foot notes: spacenav. sourceforge. net/
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://
2] The official plugin from the 3dconnexion: http:// www.3dconnexion .com