3DXware Installation On Ubuntu 1804

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

Moderator: Moderators

Post Reply
spaceforrobots
Posts: 3
Joined: Sun Apr 05, 2020 7:00 am

3DXware Installation On Ubuntu 1804

Post by spaceforrobots » Sun Apr 05, 2020 7:47 am

Hello guys

I am trying to follow the instructions for installing the 3d connexion software provided in InstallationInstructions_Linux.txt file. I am getting this output when I install:


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]:
4


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

Uninstalling a running driver. Please wait ...
Done.


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/CatiaV5_02.scg ("CATIA V5 config 02 ") 5.4 Ok.
/etc/3DxWare/UGSNX5_02.scg ("UGS NX 5 config 02 ") 5.4 Ok.
/etc/3DxWare/UGSNX4_01.scg ("UGS NX 4 config 01 ") 5.4 Ok.
/etc/3DxWare/default_10.scg ("Driver Protocol 1.0 ") 5.4 Ok.
/etc/3DxWare/UGSNX5_01.scg ("UGS NX 5 config 01 ") 5.4 Ok.
/etc/3DxWare/UGSNX2_02.scg ("UGS NX 2 config 02 ") 5.4 Ok.
/etc/3DxWare/UGSNX2_01.scg ("UGS NX 2 config 01 ") 5.4 Ok.
/etc/3DxWare/Pr(...)ire_02.scg ("ProE Wildfire config 02 ") 5.4 Ok.
/etc/3DxWare/CatiaV5_01.scg ("CATIA V5 config 01 ") 5.4 Ok.
/etc/3DxWare/UGSNX3_02.scg ("UGS NX 3 config 02 ") 5.4 Ok.
/etc/3DxWare/UGSNX4_02.scg ("UGS NX 4 config 02 ") 5.4 Ok.
/etc/3DxWare/CatiaV4_01.scg ("CATIA V4 ") 5.4 Ok.
/etc/3DxWare/Enovia_VPM.scg ("Enovia VPM ") 5.4 Ok.
/etc/3DxWare/default.scg ("Any Application ") 5.4 Ok.
/etc/3DxWare/UGSNX3_01.scg ("UGS NX 3 config 01 ") 5.4 Ok.
/etc/3DxWare/Pr(...)ire_01.scg ("ProE Wildfire config 01 ") 5.4 Ok.
/etc/3DxWare/Maya2011.scg ("Maya 2011 ") 5.4 Ok.
/etc/3DxWare/Patran_01.scg ("Patran ") 5.4 Ok.
/etc/3DxWare/DMUNav.scg ("DMU Navigator ") 5.4 Ok.
/etc/3DxWare/CADDS_R13.scg ("CADDS5 -R13 ") 5.4 Ok.
/etc/3DxWare/Op(...)alizer.scg ("Optegra Visualizer ") 5.4 Ok.
/etc/3DxWare/ICEM_MED.scg ("ICEM MED ") 5.4 Ok.
/etc/3DxWare/CADDS_R14.scg ("CADDS5 R14 + ") 5.4 Ok.
/etc/3DxWare/CatiaV5_03.scg ("CATIA V5 config 03 ") 5.4 Ok.
/etc/3DxWare/DVise.scg ("DVise ") 5.4 Ok.
/etc/3DxWare/4DNav.scg ("4D Navigator ") 5.4 Ok.
/etc/3DxWare/IDEAS_01.scg ("IDEAS ") 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

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


I then did this operation to load the driver:

/etc/3DxWare/daemon/3dxsrv -d usb

[2020-04-05 10:43:28] Error: Could not open USB port or no supported device found! Exiting!

I have my space mouse enterprise plugged in when I run that command. Is that device truly not supported?
I have tried to run the installation script twice now.
I find the documentation pretty sparse on the 3d connexion website. I am hoping that somebody might be able to help me.


BTW, line 641 in the installer is this

if [ $ISSUPPORTED == '1' ]

I have to say though, I do not know what I am getting the RHEL installation error on Ubuntu 1804...
I also have to say that I installed libmotif through this command:

sudo apt-get install libmotif-dev


Thanks

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

Re: 3DXware Installation On Ubuntu 1804

Post by UtaSH » Mon Apr 06, 2020 6:59 am

Hi spaceforrobots,

the driver accesses the device through the usbfs. And to be able to access this file system the driver has to be started as root.

Code: Select all

su -
...
/etc/3DxWare/daemon/3dxsrv -d usb

spaceforrobots
Posts: 3
Joined: Sun Apr 05, 2020 7:00 am

Re: 3DXware Installation On Ubuntu 1804

Post by spaceforrobots » Tue Apr 07, 2020 7:52 pm

Hello,

I have tried your steps and they are still not working.

What I did:

sudo su

<I then typed my password. "su -" was not working.>

I do have sudo access on this machine, it is just that "su -" appears to not work. I am able to drop to a root prompt while logged into the operating system.

I then ran

/etc/3DxWare/daemon/3dxsrv -d usb

And got the following error:

[2020-04-07 22:41:34] Error: Could not open USB port or no supported device found! Exiting!

I can clearly see the device is being found on the USB bus though. This is the output of "dmesg":


[ 406.002191] usb 1-3: new full-speed USB device number 7 using xhci_hcd
[ 406.152444] usb 1-3: New USB device found, idVendor=256f, idProduct=c633
[ 406.152450] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 406.152453] usb 1-3: Product: SpaceMouse Enterprise
[ 406.152456] usb 1-3: Manufacturer: 3Dconnexion
[ 406.157368] input: 3Dconnexion SpaceMouse Enterprise as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:256F:C633.0005/input/input18
[ 406.214734] hid-generic 0003:256F:C633.0005: input,hidraw3: USB HID v1.11 Multi-Axis Controller [3Dconnexion SpaceMouse Enterprise] on usb-0000:00:14.0-3/input1

And also the output of "lsusb":

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0408:a060 Quanta Computer, Inc.
Bus 001 Device 006: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 007: ID 256f:c633
Bus 001 Device 005: ID 8087:0aaa Intel Corp.
Bus 001 Device 002: ID 413c:2101 Dell Computer Corp. SmartCard Reader Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Note the device "Bus 001 Device 007: ID 256f:c633" is the spacemouse.
I was doing some research on usbfs since I have never heard of it before. Apparently, usbfs has been disable on Ubuntu systems for several years now according to this link.
https://askubuntu.com/questions/326597/ ... -in-ubuntu

What do you suggest I do?

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

Re: 3DXware Installation On Ubuntu 1804

Post by UtaSH » Wed Apr 08, 2020 8:53 am

Oops! Sorry. :|

I should have asked which device you have. Unfortunately the SpaceMouse Enterprise is not supported by the Linux driver.
We haven't changed the driver since a while and newer devices were not integrated, so the SpaceMouse Enterprise, the SpaceMouse Compact and the wireless devices are not supported nor are the CadMouse devices. :( Sorry.

spaceforrobots
Posts: 3
Joined: Sun Apr 05, 2020 7:00 am

Re: 3DXware Installation On Ubuntu 1804

Post by spaceforrobots » Wed Apr 08, 2020 5:44 pm

Well, if there isn't support for the device on linux, is there a way I can read the raw TXYZ and RXY values off of the bus? The same for the buttons on the side. Is there a way I can do to listen to the USB bus such that I can read all of the relevant data? Maybe a python script would work? I see there are some examples on the internet, but there isn't any consistent documentation on how to read the information. How can you read the raw data stream from 3dConnexion devices?

Unreal96
Posts: 1
Joined: Mon Apr 20, 2020 7:23 am

Re: 3DXware Installation On Ubuntu 1804

Post by Unreal96 » Mon Apr 20, 2020 7:25 am

spaceforrobots wrote:
Wed Apr 08, 2020 5:44 pm
Well, if there isn't support for the device on linux, is there a way I can read the raw TXYZ and RXY values off of the bus? The same for the buttons on the side. Is there a way I can do to listen to the USB bus such that I can read all of the relevant data? Maybe a python script would work? I see there are some examples on the internet, but there isn't any consistent documentation on how to read the information. How can you read the raw data stream from 3dConnexion devices?
But how then can it be launched without support or not?

sketch4x4
Posts: 1
Joined: Sat Jul 04, 2020 10:21 am

Re: 3DXware Installation On Ubuntu 1804

Post by sketch4x4 » Sat Jul 04, 2020 10:29 am

hi,

I've just signed up to this forum to reply to your post.

I've got my spacemouse compact running on ubuntu 20.04. it works in FreeCAD and Cura (using a plugin)

i used spacenav (http://spacenav.sourceforge.net/) pretty easy install (just follow the instructions on the git hub and install all three parts and you shouldn't have a problem. But if your having any issues just let me know.

my next job is to get it running in my version of fusion360, which is running through wine, its a little more of a head scratcher as wine has an issue with HID input devices. haha.

hope that helps.

Post Reply