That is working correctly for me within both versions 19 and 20 of FreeCAD.
I had to look at my Linux system's syslog for an unrelated issue (disk drive flagged by SMART), I noticed something I did not expect: spacenavd is flooding my syslog with messages!
These messages are alternating groups of 2 types of messages.
total lines involved:
wc -l syslog = 24990
grep '3Dconnexion Space Navigator' syslog | wc -l = 9522 (x 2.5 = 23805 => 95% of log lines !!!
Elapsed Time:
Jun 13 19:18:29 Syslog entry (aprox)
Jun 13 22:42:46 Last log entry
=> 3h 24m
Date & Time for system boot are presented here as reference (syslog.1, log file roll-over):
Code: Select all
42429 Jun 12 21:08:49 OasisMega1 systemd[1]: unattended-upgrades.service: Succeeded.
42430 Jun 13 19:18:18 OasisMega1 systemd[1]: Finished Remount Root and Kernel File Systems.
42431 Jun 13 19:18:18 OasisMega1 systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Code: Select all
55 Jun 13 19:18:37 OasisMega1 spacenavd[970]: failed to open config file /etc/spnavrc: No such file or directory. using defaults.
56 Jun 13 19:18:46 OasisMega1 spacenavd[970]: failed to open X11 display ":0.0"
Code: Select all
57 Jun 13 19:18:46 OasisMega1 spacenavd[970]: already using device: 3Dconnexion Space Navigator (/dev/input/event6)
58 Jun 13 19:18:46 OasisMega1 spacenavd[970]: failed to find any supported devices
Code: Select all
107 Jun 13 19:18:46 OasisMega1 spacenavd[970]: Spacenav daemon 0.6
108 Jun 13 19:18:46 OasisMega1 spacenavd[970]: Device detection, parsing /proc/bus/input/devices
109 Jun 13 19:18:47 OasisMega1 spacenavd[970]: found usb device [0:c626]: "3Dconnexion Space Navigator" (/dev/input/event6)
110 Jun 13 19:18:47 OasisMega1 spacenavd[970]: adding device.
111 Jun 13 19:18:47 OasisMega1 spacenavd[970]: device name: 3Dconnexion Space Navigator
112 Jun 13 19:18:47 OasisMega1 spacenavd[970]: Number of axes: 6
113 Jun 13 19:18:47 OasisMega1 spacenavd[970]: using device: /dev/input/event6
114 Jun 13 19:18:47 OasisMega1 spacenavd[970]: trying to open X11 display ":0.0"
115 Jun 13 19:18:47 OasisMega1 spacenavd[970]: XAUTHORITY=/root/.Xauthority
116 Jun 13 19:18:47 OasisMega1 spacenavd[970]: waiting for the X socket file to appear
Code: Select all
117 Jun 13 19:18:47 OasisMega1 spacenavd[970]: handle_hotplug called
118 Jun 13 19:18:47 OasisMega1 spacenavd[970]: Device detection, parsing /proc/bus/input/devices
119 Jun 13 19:18:47 OasisMega1 spacenavd[970]: found usb device [0:c626]: "3Dconnexion Space Navigator" (/dev/input/event6)
Code: Select all
202 Jun 13 19:18:47 OasisMega1 spacenavd[970]: Device detection, parsing /proc/bus/input/devices
203 Jun 13 19:18:47 OasisMega1 spacenavd[970]: found usb device [0:c626]: "3Dconnexialready using device: 3Dconnexion Space Navigator (/ dev/input/event6)
Code: Select all
204 Jun 13 19:18:47 OasisMega1 spacenavd[970]: failed to find any supported devices
205 Jun 13 19:18:47 OasisMega1 spacenavd[970]: already using device: 3Dconnexion Space Navigator (/dev/input/event6)
Group 2 (2-line sets; 26 sets):
Code: Select all
22558 Jun 13 21:36:30 OasisMega1 spacenavd[970]: already using device: 3Dconnexion Space Navigator (/dev/input/event6)
22559 Jun 13 21:36:30 OasisMega1 spacenavd[970]: failed to find any supported devices
Code: Select all
22560 Jun 13 21:36:30 OasisMega1 spacenavd[970]: us/input/devices
Code: Select all
22561 Jun 13 21:36:30 OasisMega1 spacenavd[970]: found usb device [0:c626]: "3Dconnexion Space Navigator" (/dev/input/event6)
22562 Jun 13 21:36:30 OasisMega1 spacenavd[970]: handle_hotplug called
22563 Jun 13 21:36:30 OasisMega1 spacenavd[970]: Device detection, parsing /proc/bus/input/devices
Code: Select all
22640 Jun 13 21:36:30 OasisMega1 spacenavd[970]: handle_hotplug called
22641 Jun 13 21:36:30 OasisMega1 spacenavd[970]: Device detection, parsing /proc/bus/input/devices
22642 Jun 13 21:36:30 OasisMega1 spacenavd[970]: foalready using device: 3Dconnexion Space Navigator (/dev/input/event6)
Is there some way to put some sanity into the spacenavd daemon? An option switch for boot or configuration file?
NOTE: this is happening whether FreeCAD is running or not !!!
Code: Select all
Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 17:07:55) [GCC 10.3.0] on linux
OS: Ubuntu 20.04.4 LTS (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.28993 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6d92e53)
Hash: 6d92e532bcc31c99a0ab4c153ff00b6414b8f527
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/Canada (en_CA)
Installed mods:
* Silk 521030960.0.0
* workfeature
* Curves 0.3.0
* offline-documentation 1.0.0-alpha
* nurbs
* ImportNURBS
* CurvedShapes 1.0.3
* workfeature-macro
* Pyramids-and-Polyhedrons