#1 Le 06/03/2023, à 14:43
- Cywil 23
Souris 3Dconnexion SpaceNavigator et Onshape
Bonjour,
Je dispose d'une souris 3Dconnexion SpaceNavigator et elle fonctionne très bien sur FreeCAD.
J'aimerais aussi pouvoir l'utiliser pour Onshape, qui est un logiciel de CAO en ligne.
J'ai testé avec Firefox et Chromium et ça ne fonctionne pas sur les deux.
Quelqu'un a t-il déjà réussi ?
Merci d'avance pour votre retour !
Hors ligne
#2 Le 06/03/2023, à 20:05
- xubu1957
Re : Souris 3Dconnexion SpaceNavigator et Onshape
Bonjour,
Onshape est mentionné dans cette discussion > github.com/FreeSpacenav/spacenavd/issues/30
Dernière modification par xubu1957 (Le 06/03/2023, à 20:05)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 06/03/2023, à 21:16
- Cywil 23
Re : Souris 3Dconnexion SpaceNavigator et Onshape
Ok merci :-)
Apparemment, c'est pas pour tout de suite...
Quelqu'un pourrait m'aider à installer le pilote propriétaire ?
Dans le fichier "InstallationInstructions_Linux.txt" :
INSTALLATION INSTRUCTIONS FOR 3DxWare FOR Linux (x86_64) - V 1.8.0
===============================================================================
To install the files for 3DxWare for Unix to the corresponding directories
and to run the driver you need root privileges.
Make sure you fulfill the following prerequisites:
Linux:
kernel 2.6.8 and higher
NOTES:
For distributions with libXm.so.4 installed, please create a symbolic link
to libXm.so.3 in the same directory.
For Example:
cd /usr/lib64
ln -s libXm.so.4 libXm.so.3
With SuSE Linux 10.x the usbfs is not mounted by default.
Please make sure you mount the usbfs to get support for the USB controller.
To mount USBFS, please do (as root user):
mount -t usbfs none /proc/bus/usb
You should enter a line for usbfs in your /etc/fstab to have USBFS
mounted at boot time.
You might also find useful hints about USB on Linux here:
http://www.linux-usb.org/USB-guide/c122.html
http://www.linux-usb.org/USB-guide/x173.html
In some cases some X11 fonts may not have been installed, which are used to
draw on the device LCD.
Please make sure you have installed the 75 and/or 100DPI fonts for X11.
The packages are named for example:
xorg-x11-fonts-75dpi-7.2-3.fc8,
xorg-x11-fonts-100dpi-7.2-3.fc8
or
xorg-x11-fonts-ISO8859-1-100dpi-7.2-8.fc11.noarch,
xorg-x11-fonts-ISO8859-1-75dpi-7.2-8.fc11.noarch
Packages names may vary depending on the distribution (and version) you are using!
Automatic startup in Red Hat EL 6:
The service initialization in RHEL 6 has been changed from init (Sys V Init)
to upstart.
Related articles:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Technical_Notes/deployment.html
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Migration_Planning_Guide/sect-Migration_Guide-Networking-Service_Initialization.html
The installation determines the release version of Red Hat EL and installs for
the appropriate service start procedure:
RHEL release <= 5.x: System V Init (/etc/inittab)
RHEL release = 6.x: upstart (/etc/init/3dxware.conf)
The files for the driver are provided with the following archive:
Linux:
3dxware-linux-v1-8-0.x86_64.tar.gz
Please save the file 3dxware-linux-v1-8-0.x86_64.tar.gz into the /tmp directory
and extract and run the script install-3dxunix.sh:
tar xfz 3dxware-linux-v1-8-0.x86_64.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
For the serial devices start the driver with:
/etc/3DxWare/daemon -d /dev/<serialport>
where <serialport> is the name of your serial port to which the device is attached.
Example: /etc/3DxWare/daemon/3dxsrv -d /dev/ttyS0
For the start of the driver from the /etc/inittab the following line is added:
3dx:234:respawn:/etc/3DxWare/daemon/3dxsrv -d <port> </dev/null >/dev/null 2>&1
where <port> is the name of the port to which the device is attached.
Demos:
After unpacking 3dxware-linux-v1-8-0.x86_64.tar you can find two demos:
The cube demo: /tmp/xcube and
a value demo: /tmp/xvalue
Those are two simple demos that work with the setting "Any Application". You may copy the
binaries to your favourite location for binaries.
Udev-Scripts:
After unpacking 3dxware-linux-v1-5-0.i386.tar you can find two scripts:
Start script "udev_3DxSrvStart": /tmp/udev_3DxSrvStart
Udev rule "85-3DX_SPP.rule" for SpacePilot PRO: /85-3DX_SPP.rule
Put the rule file in "/etc/udev/rules.d/" and the start script into "/etc/3DxWare/daemon".
These locations may vary depending on the distribution used and installation favours.
Thus the rule file and the start scricpt may to be modified to refelct these indifidual environment.
Known issues:
- On Red Hat EL 5 the driver will not start from /etc/inittab if root logs in to :0
- the driver has to run with root privileges(or started from the inittab)
Reason: Linux doesn't provide write access for standard users to USB devices
in /proc/bus/usb
- SuSE 10.1 does not have the required USBFS activated/mounted per
default. Please get root permissions and mount the filesystem via:
mount -t usbfs none /proc/bus/usb
For permanent effect, edit the file /etc/fstab and change the line
usbfs /proc/bus/usb usbfs noauto 0 0
to
usbfs /proc/bus/usb usbfs defaults 0 0
You can find more informations on USBFS at the following pages:
http://www.linux-usb.org/USB-guide/x173.html
http://www.linux-usb.org/USB-guide/c122.html
- Automatic startup in Red Hat EL 7:
The starting mechanism on RHEL 7 has been changed to use systemd.
Automatic startup on login is not implented.
Related article:
https://access.redhat.com/site/solutions/521533
Starting 3dxsrv on the commandline is suggest as follows and my be applicable
to systemd scripts as well:
/etc/3DxWare/daemon/3dxsrv -d usb </dev/null >/dev/null 2>&1
Supported devices:
SpaceMouse Pro Wireless
SpaceMouse Wireless
SpaceMouse Pro
Space Pilot Pro
Space Pilot
Space Explorer (Serial, USB)
Space Navigator for Notebooks
Space Navigator
J'ai tenté la commande
tar xfz 3dxware-linux-v1-8-0.x86_64.tar.gz install-3dxunix.sh
Mais ça n'a pas fonctionné
cywil@cywil-GT70-2OC-2OD:~$ tar xfz 3dxware-linux-v1-8-0.x86_64.tar.gz install-3dxunix.sh
tar (child): 3dxware-linux-v1-8-0.x86_64.tar.gz : open impossible: Aucun fichier ou dossier de ce type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Pourtant j'ai bien mis le fichier dans le dossier /tmp comme demandé...
Dernière modification par Cywil 23 (Le 06/03/2023, à 21:21)
Hors ligne