SpaceNavigator PE on Linux Red Hat EL 5

Questions and answers about 3Dconnexion devices on UNIX and Linux.

Moderator: Moderators

Post Reply
dbramsen
Posts: 13
Joined: Wed Feb 11, 2009 9:44 am

SpaceNavigator PE on Linux Red Hat EL 5

Post by dbramsen »

I've tried installing the driver for SpaceNavigator PE on Linux Red Hat EL 5. Installation looks good, and does not report any errors. But when I try to run xcube in /tmp, it says "No driver is running. Exit ..." even though during installation I selected it to be started with every login. So I run "/etc/3DxWare/daemon/3dxsrv -d usb", and this is what it says:

3DxWareUNIX = V1.3.0
Device = SpaceNavigator
Firmware = V4.04
Error: Can't find any configuration files! Please reinstall you configuration in /etc/3DxWare properly!

I've tried installing from the CD and from the driver download online. Both give me the same problem. I am doing all of this as root user.

Anyone have a solution? Thanks.
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hello dbramsen,

the driver can't find any configuration file in /etc/3DxWare. It needs at least default.scg and default_10.scg at this location.
This is strange, because the installation should've copied all the .scg files there.

I assume you're starting the driver as root user?

Please do a

Code: Select all

ls -alR /etc/3DxWare
and post the result here.

Regards,
Christian
3Dconnexion
dbramsen
Posts: 13
Joined: Wed Feb 11, 2009 9:44 am

Post by dbramsen »

Yes, I am starting the driver as root, and I do see the files there.

[root@zop1 ~]# ls -alR /etc/3DxWare/
/etc/3DxWare/:
total 704
drwx------ 3 root root 4096 Feb 11 11:02 .
drwxr-xr-x 138 root root 12288 Feb 11 11:02 ..
-rw------- 1 root root 26663 Feb 11 11:02 4DNav.scg
-rw------- 1 root root 25927 Feb 11 11:02 CADDS_R13.scg
-rw------- 1 root root 25783 Feb 11 11:02 CADDS_R14.scg
-rw------- 1 root root 26197 Feb 11 11:02 CatiaV4_01.scg
-rw------- 1 root root 26763 Feb 11 11:02 CatiaV5_01.scg
-rw------- 1 root root 26762 Feb 11 11:02 CatiaV5_02.scg
-rw------- 1 root root 26671 Feb 11 11:02 CatiaV5_03.scg
drwx------ 2 root root 4096 Feb 11 11:02 daemon
-rw------- 1 root root 26053 Feb 11 11:02 default_10.scg
-rw------- 1 root root 26049 Feb 11 11:02 default.scg
-rw------- 1 root root 26755 Feb 11 11:02 DMUNav.scg
-rw------- 1 root root 26159 Feb 11 11:02 DVise.scg
-rw------- 1 root root 26205 Feb 11 11:02 Enovia_VPM.scg
-rw------- 1 root root 25970 Feb 11 11:02 ICEM_MED.scg
-rw------- 1 root root 26927 Feb 11 11:02 IDEAS_01.scg
-rw------- 1 root root 26697 Feb 11 11:02 OptegraVisualizer.scg
-rw------- 1 root root 26063 Feb 11 11:02 Patran_01.scg
-rw------- 1 root root 26223 Feb 11 11:02 ProEWildfire_01.scg
-rw------- 1 root root 26262 Feb 11 11:02 ProEWildfire_02.scg
-rw------- 1 root root 6829 Feb 11 11:02 readme.3dxware
-rw------- 1 root root 26255 Feb 11 11:02 UGSNX2_01.scg
-rw------- 1 root root 26235 Feb 11 11:02 UGSNX2_02.scg
-rw------- 1 root root 26250 Feb 11 11:02 UGSNX3_01.scg
-rw------- 1 root root 26259 Feb 11 11:02 UGSNX3_02.scg
-rw------- 1 root root 26215 Feb 11 11:02 UGSNX4_01.scg
-rw------- 1 root root 26243 Feb 11 11:02 UGSNX4_02.scg

/etc/3DxWare/daemon:
total 384
drwx------ 2 root root 4096 Feb 11 11:02 .
drwx------ 3 root root 4096 Feb 11 11:02 ..
-rwx------ 1 root root 378461 Feb 11 11:02 3dxsrv
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hi dbramsen,

I think I found the reason. Its because of the file permission of the config files. Please change the file persmissions to -rw-r-----

Code: Select all

chmod 0640 /etc/3DxWare/*.scg
This should do the job.


Regards,
Christian
3Dconnexion
dbramsen
Posts: 13
Joined: Wed Feb 11, 2009 9:44 am

Post by dbramsen »

Christian,

Thanks for your assistance so far.

I changed the permissions on the .scg files:

[root@zop1 ~]# ls -alR /etc/3DxWare/
/etc/3DxWare/:
total 704
drwx------ 3 root root 4096 Feb 11 11:02 .
drwxr-xr-x 138 root root 12288 Feb 11 11:02 ..
-rw-r----- 1 root root 26663 Feb 11 11:02 4DNav.scg
-rw-r----- 1 root root 25927 Feb 11 11:02 CADDS_R13.scg
-rw-r----- 1 root root 25783 Feb 11 11:02 CADDS_R14.scg
-rw-r----- 1 root root 26197 Feb 11 11:02 CatiaV4_01.scg
-rw-r----- 1 root root 26763 Feb 11 11:02 CatiaV5_01.scg
-rw-r----- 1 root root 26762 Feb 11 11:02 CatiaV5_02.scg
-rw-r----- 1 root root 26671 Feb 11 11:02 CatiaV5_03.scg
drwx------ 2 root root 4096 Feb 11 11:02 daemon
-rw-r----- 1 root root 26053 Feb 11 11:02 default_10.scg
-rw-r----- 1 root root 26049 Feb 11 11:02 default.scg
-rw-r----- 1 root root 26755 Feb 11 11:02 DMUNav.scg
-rw-r----- 1 root root 26159 Feb 11 11:02 DVise.scg
-rw-r----- 1 root root 26205 Feb 11 11:02 Enovia_VPM.scg
-rw-r----- 1 root root 25970 Feb 11 11:02 ICEM_MED.scg
-rw-r----- 1 root root 26927 Feb 11 11:02 IDEAS_01.scg
-rw-r----- 1 root root 26697 Feb 11 11:02 OptegraVisualizer.scg
-rw-r----- 1 root root 26063 Feb 11 11:02 Patran_01.scg
-rw-r----- 1 root root 26223 Feb 11 11:02 ProEWildfire_01.scg
-rw-r----- 1 root root 26262 Feb 11 11:02 ProEWildfire_02.scg
-rw------- 1 root root 6829 Feb 11 11:02 readme.3dxware
-rw-r----- 1 root root 26255 Feb 11 11:02 UGSNX2_01.scg
-rw-r----- 1 root root 26235 Feb 11 11:02 UGSNX2_02.scg
-rw-r----- 1 root root 26250 Feb 11 11:02 UGSNX3_01.scg
-rw-r----- 1 root root 26259 Feb 11 11:02 UGSNX3_02.scg
-rw-r----- 1 root root 26215 Feb 11 11:02 UGSNX4_01.scg
-rw-r----- 1 root root 26243 Feb 11 11:02 UGSNX4_02.scg

/etc/3DxWare/daemon:
total 384
drwx------ 2 root root 4096 Feb 11 11:02 .
drwx------ 3 root root 4096 Feb 11 11:02 ..
-rwx------ 1 root root 378461 Feb 11 11:02 3dxsrv

but when I do:

[root@zop1 ~]# /etc/3DxWare/daemon/3dxsrv -d usb

it still says:

3DxWareUNIX = V1.3.0
Device = SpaceNavigator
Firmware = V4.04
[2009-02-12 11:00:44] Error: Can't find any configuration files! Please reinstall you configurations in /etc/3DxWare properly!
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hi dbramsen,

I'm sorry I forgot something:
The containing directory "3DxWare" just has drwx------ (0600). It should be drwxr-xr-x (chmod 0655) so that normal users can access the directory with the config files (after being started 3dxsrv switches to the currently logged in user), which is normally an unprivileged user.

If it still doesn't work and you don't mind, please set the permissions to 0644. This is what I have by default. Also I've the 3dxsrv binary set to 0655.

Please let me know what your results are!

Regards
Christian
3Dconnexion
dbramsen
Posts: 13
Joined: Wed Feb 11, 2009 9:44 am

Post by dbramsen »

Doing a chmod 0655 on 3DxWare seemed to do the trick. The driver now runs and I can run the demo apps xcube and xvalue and see the SpaceNavigator having effect.

However, it does not work in Google Earth. I don't get any errors; there just isn't any effect. Is there something I have to do to get Google Earth and other apps to recognize the SpaceNavigator?
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hi dbramsen,

I'm glad to read that it now works! :D

GoogleEarth is not working, I'm sorry! Its simply not supported by Google. :(

We already approached Google with this issue and we encourage every user to also approach Google to request support for our devices!

Regards
Christian
3Dconnexion
dbramsen
Posts: 13
Joined: Wed Feb 11, 2009 9:44 am

Post by dbramsen »

That's right, I forgot it wasn't supported by Google on Linux.

Thanks for all of your help! Much appreciated.
Post Reply