Installation of Navigator on Kubuntu 8.04

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

Moderator: Moderators

Post Reply
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Installation of Navigator on Kubuntu 8.04

Post by Eric »

Hello,

I post here (although I'm German) because this seems to be the more active forum.

I have a 3D Navigator which ran on XP perfectly. But following the instructions :

Code: Select all

Please save the file 3dxware-linux-v1-3-0.i386.tar.gz into the /tmp directory
and extract and run the script install-3dxunix.sh:

	tar xfz 3dxware-linux-v1-3-0.i386.tar.gz install-3dxunix.sh
	./install-3dxunix.sh



If you don't choose during installation the possibility to start the driver during login from the
/etc/inittab please make sure the driver is started before you launch your application.


For the USB devices start the driver with the following command:

	Linux:
		/etc/3DxWare/daemon/3dxsrv -d usb
[code]

It is not possible to start the driver (still, I remember I had chosen something like "always start the driver"):

hx109@hx109-laptop:~$ /etc/3DxWare/daemon/3dxsrv -d usb
/etc/3DxWare/daemon/3dxsrv: error while loading shared libraries: libXm.so.3: ca nnot open shared object file: No such file or directory

Code: Select all


I downloaded the driver from the 3D website to ensure it is the latest. I also tried to RESTART with or without the USB-Navigator.

I don't know what to do. Any suggestions?

Eric
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Post by UtaSH »

Hi Eric,

this post might help you to solve the problem. Or this (German :wink:).

Uta Ludwig
3Dconnexion
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Post by Eric »

Hello,

libmotif3 was already installed.

I have Kubuntu 8.04 with this kernel

[Linux hx109-laptop 2.6.24-23-generic]

The error is still the same:

hx109@hx109-laptop:~$ /etc/3DxWare/daemon/3dxsrv -d usb
[2009-02-10 17:47:38] Error: Could not open USB port or no supported device found! Exiting!
hx109@hx109-laptop:~$

I don't know if this information is relevant for me:

hx109@hx109-laptop:~$ locate libXm
/usr/lib/libXmu.so.6
/usr/lib/libXmu.so.6.2.0
/usr/lib/libXmuu.so.1
/usr/lib/libXmuu.so.1.0.0
hx109@hx109-laptop:~$

But it doesn't seem a problem of missing packages.

Eric
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Post by UtaSH »

Ok. Now you have a different error message. :)

The device is not available. You have to be root to start the driver on Linux.

Is the device attached directly to the machine? Do you use any adapter?
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Post by Eric »

Hello,

I attached it and did:

hx109@hx109-laptop:~$ sudo /etc/3DxWare/daemon/3dxsrv -d usb
[sudo] password for hx109:
3DxWareUNIX = V1.3.0
Device = SpaceNavigator
Firmware = V3.18

It worked. Thanks! Is it possible to have it started automatically?

Eric
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Post by UtaSH »

Yes, the easiest way is to re-install the driver. The installation script asks you if you want 3DxWareUnix being started with every login (from /etc/inittab). The default answer is yes. You will then have an entry in the /etc/inittab that starts the driver automatically.
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Post by Eric »

I remember I chose that option both times. But I will do it once again.

Eric
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Post by Eric »

Hello,

I installed it again, chosed Y for Autostart and did a RESTART, but it doesn't work. There is also no entry from today in the /etc/inittab.

What bothers me even more is that the Navigator doesn't have any effect, when I start CATIA in my Virtual machine. Is that not possible?

How is the right way anyway - plug in the Navigator before starting the machine or doesn't it matter?

Is there any way to get rid of the configuration window?

Eric[/img]
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: Installation of Navigator on Kubuntu 8.04

Post by UtaSH »

Hi Eric,

did you get any error message during installation? After the installation the last line of the file /etc/inittab should be
  • 3d:2345:respawn:/etc/3DxWare/daemon/3dxsrv -d usb </dev>/dev/null 2>&1
If this is not the case please add the line manually.

In case the driver does not start correct please add the options -debug -E.
  • 3d:2345:respawn:/etc/3DxWare/daemon/3dxsrv -d usb -debug -E </dev>/dev/null 2>&1
This will create a log file /tmp/3DxWare that might help us to find out what is wrong. Please post your findings here.

The setup with the virtual machine is not an officially supported configuration from our side. When you have Catia I assume your virtual machine is Windows? Then you need the Windows driver installed and started on your virtual machine. The USB port needs to be passed through to the virtual machine; the Linux driver has to be stopped.

Uta Ludwig
3Dconnexion
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Post by Eric »

Hello again,

I "smart myself up" (wie man so schön im deutschen sagt = aufschlauen :-) ) and I found a way how to pass through the USB device to the Virtualbox (which is XP on Linux Host). But the Spaceball shows no reaction. Acutally I'm not sure if the driver is starting at all. There is also no reaction on START TREIBER (I thought this will also be automatically).

Is there anything I can check or do? The spaceball was connected when I restarted the machine and started the virtual machine.

Eric
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Post by Eric »

UPDATE: I switched to a newer version of Virtualbox and now the Spaceball is in the list and shown as active, the driver is started, its illuminated blue but shows no reaction in CATIA.

Eric
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Post by UtaSH »

Hi Eric,

there might be an issue with the firewall. You have to enable Catia (CNEXT.exe) in your firewall. Maybe this post helps. Otherwise do a search in our Windows forum for Catia AND Firewall. In case you can't solve the problem you should post it in our Windows Discussion Forum.

Uta
Eric
Posts: 9
Joined: Mon Feb 09, 2009 9:49 am

Post by Eric »

Hello,

I read through the links, but I don't have a firewall installed. I did several Restarts for different reasons and now it works.

Thanks

Eric
Post Reply