I installed spacenavd as explained in the Wiki. Double-checked if the `spacenavd.service` was running (started it manually since it was not running), connected my SpaceNavigator to the computer and the LED ring lit up.OS: "Fedora release 28 (Twenty Eight)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
However, the device is not available in FreeCAD's Customize dialog, which just shows:
The device itself is registered to the system since it is listed by lsusbNo Spaceball Present
Code: Select all
$ lsusb
# some other devices
Bus 002 Device 003: ID 046d:c626 Logitech, Inc. 3Dconnexion Space Navigator 3D Mouse
# some other devices
Code: Select all
$ sudo xhost +
access control disabled, clients can connect from any host
$ sudo systemctl restart spacenavd.service
Code: Select all
# some other log messages
Log: Couldn't connect to spacenav daemon
# some other log messages
Code: Select all
$ sudo systemctl status spacenavd.service
● spacenavd.service - 3Dconnexion Input Devices Userspace Driver
Loaded: loaded (/usr/lib/systemd/system/spacenavd.service; disabled; vendor preset: disabled)
Active: active (running) since Sat 2018-07-14 23:01:52 CEST; 40min ago
Main PID: 5438 (spacenavd)
Tasks: 1 (limit: 4700)
Memory: 720.0K
CGroup: /system.slice/spacenavd.service
└─5438 /usr/bin/spacenavd
Jul 14 23:01:52 localhost.localdomain systemd[1]: Starting 3Dconnexion Input Devices Userspace Driver...
Jul 14 23:01:52 localhost.localdomain systemd[1]: spacenavd.service: Can't open PID file /var/run/spnavd.pid (yet?) after start: No such file or directory
Jul 14 23:01:52 localhost.localdomain systemd[1]: Started 3Dconnexion Input Devices Userspace Driver.
Despite Blender using a socket connection to spacenavd (which is working), FreeCAD uses the X11-bindings. I did some further search on this topic online and came up with this thread. So I tryied to start the X11-events manually:
Code: Select all
$ spnavd_ctl x11 start
You must have an X server running before starting up spacenavd-X11 events.
Code: Select all
$ loginctl show-session 3 -p Type
Type=x11
Code: Select all
$ cp ~/.Xauthority /root/
Code: Select all
$ ll -lha
Another FreeCAD/Fedora user had the same issue and posted it to the Fedoraforum, but was not able to get any advice either.
How could we either solve this issue or narrow it down at least? I am still not sure whether this issue is a problem of Fedora, spacenavd or FreeCAD 0.17. Unfortunately, I could not test this on other, non-Fedora systems. It would be nice if someone else might be able to test this on e.g. Debian-based systems or try to reproduce this issue on another Fedora-based system.
Any hint is very much appreciated as I am currently switching to Fedora as my production machine. Thanks in advance.
Regards,
Albert