how to install driver on ubuntu 16.10 and configure the menu

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

Moderator: Moderators

Post Reply
243750496
Posts: 9
Joined: Thu Jan 05, 2017 10:49 am

how to install driver on ubuntu 16.10 and configure the menu

Post by 243750496 » Thu Jan 05, 2017 10:55 am

with cadmouse and spacemouse enterprise bought , and install the 1.8 driver for linux x86-64 nothing happend
here's what i got

Try 'cp --help' for more information.
cc@CC:~/Downloads$ cp '/home/cc/Downloads/3dxware-linux-v1-8-0.x86_64.tar.gz' /tmp
cc@CC:~/Downloads$ cd tmp
bash: cd: tmp: No such file or directory
cc@CC:~/Downloads$ cd /tmp
cc@CC:/tmp$ tar xfz 3dxware-linux-v1-8-0.x86_64.tar.gz install-3dxunix.sh
cc@CC:/tmp$ ./install-3dxunix.sh









Please login as root and start the installation again!!

Installation failed!

cc@CC:/tmp$ sudo./install-3dxunix.sh
bash: sudo./install-3dxunix.sh: No such file or directory
cc@CC:/tmp$ sudo ./install-3dxunix.sh









This installs 3DxWareUnix V1.8.0 on this machine. Continue? (y/n) [y]
y


Choose one of the following platforms:

1. HP-UX
2. Solaris
3. AIX 5
4. Linux
5. Exit

Please enter your choice (1-5)[4]:
y


Invalid Response.

Choose one of the following platforms:

1. HP-UX
2. Solaris
3. AIX 5
4. Linux
5. Exit

Please enter your choice (1-5)[4]:
4


Installing files for 3DxWare for Unix / linux......

Uninstalling a running driver. Please wait ...
Done.
cp: '3dxware-linux-v1-8-0.x86_64.tar.gz' and '/tmp/3dxware-linux-v1-8-0.x86_64.tar.gz' are the same file


Converting default configs V5.x to V5.3.
(User configs will be converted when used)
Please wait a moment...
Converting configs... found 27 configurations
Configuration file Configuration name Version Status
/etc/3DxWare/default_10.scg ("Driver Protocol 1.0 ") 5.4 Ok.
/etc/3DxWare/Pr(...)ire_02.scg ("ProE Wildfire config 02 ") 5.4 Ok.
/etc/3DxWare/UGSNX4_02.scg ("UGS NX 4 config 02 ") 5.4 Ok.
/etc/3DxWare/UGSNX4_01.scg ("UGS NX 4 config 01 ") 5.4 Ok.
/etc/3DxWare/Pr(...)ire_01.scg ("ProE Wildfire config 01 ") 5.4 Ok.
/etc/3DxWare/4DNav.scg ("4D Navigator ") 5.4 Ok.
/etc/3DxWare/Enovia_VPM.scg ("Enovia VPM ") 5.4 Ok.
/etc/3DxWare/CADDS_R13.scg ("CADDS5 -R13 ") 5.4 Ok.
/etc/3DxWare/CatiaV5_02.scg ("CATIA V5 config 02 ") 5.4 Ok.
/etc/3DxWare/CatiaV4_01.scg ("CATIA V4 ") 5.4 Ok.
/etc/3DxWare/default.scg ("Any Application ") 5.4 Ok.
/etc/3DxWare/UGSNX5_01.scg ("UGS NX 5 config 01 ") 5.4 Ok.
/etc/3DxWare/CADDS_R14.scg ("CADDS5 R14 + ") 5.4 Ok.
/etc/3DxWare/DMUNav.scg ("DMU Navigator ") 5.4 Ok.
/etc/3DxWare/UGSNX2_01.scg ("UGS NX 2 config 01 ") 5.4 Ok.
/etc/3DxWare/UGSNX2_02.scg ("UGS NX 2 config 02 ") 5.4 Ok.
/etc/3DxWare/Maya2011.scg ("Maya 2011 ") 5.4 Ok.
/etc/3DxWare/UGSNX3_01.scg ("UGS NX 3 config 01 ") 5.4 Ok.
/etc/3DxWare/CatiaV5_01.scg ("CATIA V5 config 01 ") 5.4 Ok.
/etc/3DxWare/IDEAS_01.scg ("IDEAS ") 5.4 Ok.
/etc/3DxWare/CatiaV5_03.scg ("CATIA V5 config 03 ") 5.4 Ok.
/etc/3DxWare/UGSNX5_02.scg ("UGS NX 5 config 02 ") 5.4 Ok.
/etc/3DxWare/DVise.scg ("DVise ") 5.4 Ok.
/etc/3DxWare/UGSNX3_02.scg ("UGS NX 3 config 02 ") 5.4 Ok.
/etc/3DxWare/ICEM_MED.scg ("ICEM MED ") 5.4 Ok.
/etc/3DxWare/Patran_01.scg ("Patran ") 5.4 Ok.
/etc/3DxWare/Op(...)alizer.scg ("Optegra Visualizer ") 5.4 Ok.

Done.

Do you want 3DxWareUnix being started with every login (for example /etc/inittab)? (y/n) [y]
y

./install-3dxunix.sh: 641: [: 1: unexpected operator
Red Hat EL 7 currently not supported for automatic driver startup.
Please read the Known issues section in the InstallationInstructions_Linux.txt


****************************************************************

For testing purposes you can find the demos
xcube and xvalues at /tmp

****************************************************************

cc@CC:/tmp$ /etc/3DxWare/daemon/3dxsrv -d usb
[2017-01-05 15:25:31] Error: Could not open USB port or no supported device found! Exiting!

Q1:what happend to the driver and do it all done correctly?(why the test can't run and with no icons of 3dxware list on my applications)

Q2:how to configure it in blender (with both cad mouse and enterprise) if the driver is correctly installed

BTW:Q3:how to install driver on ubuntu 16.10 and configure the button function to what i want then use it in blender

243750496
Posts: 9
Joined: Thu Jan 05, 2017 10:49 am

Re: how to install driver on ubuntu 16.10 and configure the

Post by 243750496 » Thu Jan 05, 2017 11:03 am

Q4:what's the difference between official driver and spacenavd
Q5:can the two software working together
Q6:what is spacenavd configuration why i can't find how to custom the button on my device , do that configure need a new software ?

BTW:i have spacemouse enterprise and cad mouse (all newest one)

Tehrasha
Posts: 186
Joined: Thu Apr 22, 2010 3:55 pm
Location: Iowa
Contact:

Re: how to install driver on ubuntu 16.10 and configure the

Post by Tehrasha » Thu Jan 05, 2017 7:55 pm

I can answer some of these....

#2 Blender's implementation of 3dmouse support will ignore any button and sensitivity settings you place in the driver anyway. Assign the device buttons to functions from within Blender's preferences, and dont forget to save them!
(not sure on the CadMouse, but linux should see it as just another USBHID multi-button mouse)

#3 See #2

#4 spacenavd is an opensource, reverse engineered driver for spacemice.
I personally use and prefer spacenavd with linux/blender and have not installed the factory driver in years.
It does not support the LCD screen on the Enterprise. It is strictly a button/motion driver.

#5 No, the two drivers cannot operate at the same time, they will conflict.

#6 If I remember correctly, spacenavd preferences are kept in /etc/spnavrc, but again, see #2
Spacemice -- Input devices for a 3D world.

243750496
Posts: 9
Joined: Thu Jan 05, 2017 10:49 am

Re: how to install driver on ubuntu 16.10 and configure the

Post by 243750496 » Thu Jan 05, 2017 8:22 pm

Tehrasha wrote:I can answer some of these....

#2 Blender's implementation of 3dmouse support will ignore any button and sensitivity settings you place in the driver anyway. Assign the device buttons to functions from within Blender's preferences, and dont forget to save them!
(not sure on the CadMouse, but linux should see it as just another USBHID multi-button mouse)

#3 See #2

#4 spacenavd is an opensource, reverse engineered driver for spacemice.
I personally use and prefer spacenavd with linux/blender and have not installed the factory driver in years.
It does not support the LCD screen on the Enterprise. It is strictly a button/motion driver.

#5 No, the two drivers cannot operate at the same time, they will conflict.

#6 If I remember correctly, spacenavd preferences are kept in /etc/spnavrc, but again, see #2

NQ1:can i configure it with self-customed shortcut in different application? for example i have one shortcut in blender and another shortcut in Freecad
with the application change the shortcut changed automaticly . i am talking about this function below(like the picture)
3Dconnexion_3DX-700049_11.jpg
3Dconnexion_3DX-700049_11.jpg (86.87 KiB) Viewed 29038 times
NQ2:how to get it start automaticly (when i restart the system it auto recognized it as mouse)

NQ3:if i use sudo spacenavd the cad mouse will be ignored how to slove this issue????

NQ4:what is this error:

cc@CC:~$ sudo /etc/3DxWare/daemon/3dxsrv -d usb
[sudo] password for cc:
[2017-01-06 11:22:06] Error: Could not open USB port or no supported device found! Exiting!

Tehrasha
Posts: 186
Joined: Thu Apr 22, 2010 3:55 pm
Location: Iowa
Contact:

Re: how to install driver on ubuntu 16.10 and configure the

Post by Tehrasha » Thu Jan 05, 2017 9:33 pm

NQ1) Blender does not change the device in any way. You are just assigning functions to the buttons within the software.
Button 0, Button 1, Button2, etc... So anything you setup inside Blender will have no effect on any other application.

I have not tried FreeCad yet, and do not know how it handles button configuration.

NQ2: spacenavd should install with an init to launch at boot, then you can turn it on and off as with any other service.
How to do this will be somewhat dependent on the linux distribution. Debian/Ubuntu it is is located in /etc/init.d
I am unfamiliar with RedHat's way of handling inits.

NQ3: spacenavd should not affect the cadmouse at all, linux should treat it as any other mouse.

NQ4: As it says, either it could not open the USB port (is already in use, spacenavd or 3dxsrv already running) or it scanned the USB bus and does not see the device.
Spacemice -- Input devices for a 3D world.

243750496
Posts: 9
Joined: Thu Jan 05, 2017 10:49 am

Re: how to install driver on ubuntu 16.10 and configure the

Post by 243750496 » Thu Jan 05, 2017 11:16 pm

Tehrasha wrote:NQ1) Blender does not change the device in any way. You are just assigning functions to the buttons within the software.
Button 0, Button 1, Button2, etc... So anything you setup inside Blender will have no effect on any other application.

I have not tried FreeCad yet, and do not know how it handles button configuration.

NQ2: spacenavd should install with an init to launch at boot, then you can turn it on and off as with any other service.
How to do this will be somewhat dependent on the linux distribution. Debian/Ubuntu it is is located in /etc/init.d
I am unfamiliar with RedHat's way of handling inits.

NQ3: spacenavd should not affect the cadmouse at all, linux should treat it as any other mouse.

NQ4: As it says, either it could not open the USB port (is already in use, spacenavd or 3dxsrv already running) or it scanned the USB bus and does not see the device.

how to get the driver auto start ? what the command is ???

243750496
Posts: 9
Joined: Thu Jan 05, 2017 10:49 am

Re: how to install driver on ubuntu 16.10 and configure the

Post by 243750496 » Thu Jan 05, 2017 11:26 pm

can spacenav do this configure ??? how???and the command is????
driver_0.png
driver_0.png (18.55 KiB) Viewed 29035 times

243750496
Posts: 9
Joined: Thu Jan 05, 2017 10:49 am

Re: how to install driver on ubuntu 16.10 and configure the

Post by 243750496 » Thu Jan 05, 2017 11:32 pm

cc@CC:~$ cd /etc/3DxWare
cc@CC:/etc/3DxWare$ ls
4DNav.scg default_10.scg OptegraVisualizer.scg UGSNX3_01.scg
CADDS_R13.scg default.scg Patran_01.scg UGSNX3_02.scg
CADDS_R14.scg DMUNav.scg ProEWildfire_01.scg UGSNX4_01.scg
CatiaV4_01.scg DVise.scg ProEWildfire_02.scg UGSNX4_02.scg
CatiaV5_01.scg Enovia_VPM.scg readme.3dxware UGSNX5_01.scg
CatiaV5_02.scg ICEM_MED.scg resource UGSNX5_02.scg
CatiaV5_03.scg IDEAS_01.scg UGSNX2_01.scg
daemon Maya2011.scg UGSNX2_02.scg
cc@CC:/etc/3DxWare$ cd daemon
cc@CC:/etc/3DxWare/daemon$ ls
3dxsrv
cc@CC:/etc/3DxWare/daemon$ 3dxsrv
3dxsrv: command not found
cc@CC:/etc/3DxWare/daemon$ ./3dxsrv
[2017-01-06 14:30:14] Error: Could not open port /dev/spaceball or no supported device found! Exiting!
cc@CC:/etc/3DxWare/daemon$







cc@CC:/etc/3DxWare/daemon$ sudo aptitude remove 3dxunix
Couldn't find any package whose name or description matched "3dxunix"
Unable to apply some actions, aborting


what happend??? do the two error means my driver not installed correctly? or my device not support ????

jwick
Moderator
Moderator
Posts: 2481
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: how to install driver on ubuntu 16.10 and configure the

Post by jwick » Thu Jan 12, 2017 2:46 am

As I recall, /dev/spaceball should be a symbolic link to the /dev/* that your device is connected to.

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

Re: how to install driver on ubuntu 16.10 and configure the

Post by UtaSH » Thu Jan 12, 2017 2:56 am

Or try

Code: Select all

./3dxsrv -d usb

PsychotropicDog
Posts: 7
Joined: Sun Oct 01, 2017 6:01 am

Re: how to install driver on ubuntu 16.10 and configure the menu

Post by PsychotropicDog » Tue Dec 12, 2017 7:52 am

In case any other poor bastard gets tired of dredging through wreckage this may help. Running Ubuntu MATE 17.10

copied the download to /tmp

open terminal as administrator...(I (right click) open the location in caja file manager as admin, then (right click) open the terminal)

Code: Select all

root@~:/tmp# tar xfz 3dxware-linux-v1-8-0.x86_64.tar.gz install-3dxunix.sh
root@~:/tmp#  ./install-3dxunix.sh

Code: Select all

Do you want 3DxWareUnix being started with every login (for example /etc/inittab)? (y/n) [y]
n

Please start the driver manually. [/etc/3DxWare/daemon/3dxsrv -d <port>]

/etc/3DxWare/daemon/3dxsrv -d usb
/etc/3DxWare/daemon/3dxsrv: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
The device shows up and sort of works, also note I decided to avoid the automatic startup. (here's where this thread ended)

Code: Select all

$ xinput
$ xinput test "3Dconnexion SpaceMouse Pro"
about half the buttons will show.
the mouse pointer can zoom across the screen. I suspect one may not see the libmotif3 error if one chooses to start the daemon automatically on boot. And since I eventually got this to work...

Code: Select all

sudo apt-get install libxm4:i386
installed. Many 'helps' suggested linking the missing lib...

Code: Select all

sudo ln -s /usr/lib/libXm.so.4 /usr/lib/libXm.so.3
still did not work. May or may not be important...

so synaptic package manager search for openmotif ...

libxbae4m (version 4.60.4-7) will be installed
libxm4 (version 2.3.7-2) will be installed

ok that installed, back to terminal

Code: Select all

user@~:~$ sudo /etc/3DxWare/daemon/3dxsrv -d usb
[sudo] password for user: 
3DxWareUNIX = V1.8.0
Device      = SpaceMouse Pro
Firmware    = V4.35
And the 3DxWare 1.8.0 widget shows up and the device stops moving the mouse cursor. It's a generic looking thing that showed up in my plank (Pantheon desktop).

now I see in the GUI
3DxWare for [drop down menu]
any application
driver protocol 1 [this shows the buttons that 'worked' before I got this to load, think I will avoid it]

A quick try and I can save a config. Now to try and make it really work...

Post Reply