Page MenuHome

3Dconnexion Spacemouse buttons not registering - ndof: unknown 3Dconnexion product c658
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10
Graphics card: Intel Ice Lake Integrated Graphics on i7-1065G7
Peripheral: Spacemouse Wireless 3DX-600044

Blender Version
Broken: (example: 290.1, 3e85bb34d0d7, master, 2020-09-23 06:43)
Worked: N/A

Short description of error
3Dconnexion spacemouse works well, but the side buttons are not registered. When e.g. changing a keymap, and awaiting the button press, neither of the buttons register. Therefore, I cannot bring up the 3D Mouse Preferences windows when in the viewport.

I noticed that upon startup, the last stdout or stderror printed to console is:

ndof: unknown 3Dconnexion product c658

Exact steps for others to reproduce the error
Use this product ID, and try to press the side buttons and get some response.

Event Timeline

BC (exovox) awarded a token.

P.S. forgot to include that the desired behaviour is that... the side buttons work! haha

I guess it should also work similar to many other models of 3DConnexion SpaceMouse or SpaceNavigator if it simply involves registering a product ID somewhere in the blender codebase/config. Thanks

Hans Goudey (HooglyBoogly) changed the task status from Needs Triage to Needs Information from Developers.Nov 5 2020, 11:12 PM

I may have access to this device soon, so I may be able to look into this.

I'm experiencing this on Mac OS Big Sur with 2.91.2
Since the OS is different I'm not certain it's the same bug, but the symptoms are the same.

BC (exovox) added a comment.EditedJan 3 2022, 4:09 PM

Hi @Hans Goudey (HooglyBoogly) any chance you've managed to try this out? In Blender 3.0 the device simply just doesn't work.

ndof: unknown 3Dconnexion product c658

Specifically, the mouse doesn't work when using the 3dConnexion Universal Wireless Receiver

This comment was removed by BC (exovox).

I also use windows 10 and with blender version 3.0 the space mouse does not work if I try to move things it jumps once and that's it, I use the setting as given in the youtube video for 2.83

I'm having the same issue on Mac OS 12.3 using the 3D Connexion Spacemouse Enterprise. When I try to map one of the buttons, Blender does not recognize it. However using the Spacemouse on Mac OS Catalina Blender does recognize when I try to map any of its buttons.

Pratik Borhade (PratikPB2123) changed the task status from Needs Information from Developers to Needs Information from User.Aug 17 2022, 1:52 AM

I may have access to this device soon, so I may be able to look into this.

@Hans Goudey (HooglyBoogly) hi, any updates on this?
Please also check if problem remains in 3.3 beta (recently Campbell has committed a few fixes for space mouse): https://builder.blender.org/download/daily

I don't have access to this particular device anymore unfortunately.

So @Pratik Borhade (PratikPB2123) I downloaded 3.3.0 Beta and started it up. So long as I don't import the settings from the previous blender version, the console does not throw up ndof: unknown 3Dconnexion product c658 and the left side button bring up the ndof settings while the right side button focuses on the active object. However, if I choose to carry over the old user preferences, then the error shows and I cannot open the menu using the side buttons.

Is there a way to persist the old user preferences except for those related to ndof?

Or, rather... why should this carry over with the user preferences in the first place?

Pratik Borhade (PratikPB2123) changed the task status from Needs Information from User to Needs Triage.Sep 7 2022, 4:14 AM
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Needs Information from User.Oct 12 2022, 12:08 PM

@BC (exovox) If you don't import settings from previous blender version, does it print ndof: using SpaceMouse Wireless instead of ndof: unknown 3Dconnexion product c658?
I can't find the 0xC658 device ID anywhere and Blender doesn't implement it specifically. So it is weird that it works sometimes.

@BC (exovox) submitted a test that simply adds the ID your getting, using the existing wireless settings (D16242).

Could you check if this build works: https://builder.blender.org/download/patch/blender-3.4.0-alpha+master-D16242.ae908021ac28-windows.amd64-release.zip

@BC (exovox) If you don't import settings from previous blender version, does it print ndof: using SpaceMouse Wireless instead of ndof: unknown 3Dconnexion product c658?
I can't find the 0xC658 device ID anywhere and Blender doesn't implement it specifically. So it is weird that it works sometimes.

I just deleted userpref.blend and startup.blend from my installed Blender 3.3 version, and opened blender in an elevated Powershell window:

Interestingly though, I get this same message when the Spacemouse is plugged in, and when it is not plugged in. I have a Cadmouse Wireless which is running via bluetooth though. Not sure if this has anything to do with it. For reference, the products are from this kit - https://3dconnexion.com/nl/product/spacemouse-wireless-kit-2/

So... I just turned off the Cadmouse Wireless via the power switch beneath it. I started blender again without any mouse attached, and there was no unknown device message. Only upon entering the scene, by tapping the touchscreen with my finger, the console shows up ndof: using SpaceMouse Wireless and the side buttons on the Spacemouse Wireless work.

So, it seems like the unknown device is actually my mouse - the Cadmouse Wireless. I can confirm that when both the Cadmouse and Spacemouse are plugged in when blender starts, then the side button functionality on the Spacemouse doesn't work. Navigation does though.

And the question still stands - is it possible to import the old settings and still have the Spacemouse Wireless work? I guess this issue seems to be derived from some button mapping conflict between the Cadmouse and the Spacemouse?

BC (exovox) added a comment.EditedOct 20 2022, 5:12 PM

@Campbell Barton (campbellbarton) I couldn't launch blender from that standalone build - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

Missing dependencies?

I can confirm that after restoring my old preferences userpref.blend and startup.blend to my installed Blender 3.3 version, and turning off the Cadmouse before I start up blender, I get the ndof: using SpaceMouse Wireless message

and the side buttons work.

Interestingly, I can then turn back on my Cadmouse after blender has started up, and everything works. So, seems like we've narrowed it down to making sure the Cadmouse device is recognised upon blender startup, or otherwise dealt with so it does not conflict with the Spacemouse Wireless recognition.

@Campbell Barton (campbellbarton) I couldn't launch blender from that standalone build - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

Missing dependencies?

@BC (exovox) do regular daily builds work for you?

If not would you be able to attempt to resolve the issue? Otherwise it's impractical to investigate the problem on our side.

@Campbell Barton (campbellbarton)

Hm daily builds for 3.4.0 aren't working - latest throws the same error. But I did run a build for 3.3.0 Beta prior in this thread, and it worked.

So @Pratik Borhade (PratikPB2123) I downloaded 3.3.0 Beta and started it up. So long as I don't import the settings from the previous blender version, the console does not throw up ndof: unknown 3Dconnexion product c658 and the left side button bring up the ndof settings while the right side button focuses on the active object. However, if I choose to carry over the old user preferences, then the error shows and I cannot open the menu using the side buttons.

Is there a way to persist the old user preferences except for those related to ndof?

BC (exovox) added a comment.EditedOct 22 2022, 6:13 AM

Okay @Campbell Barton (campbellbarton) https://builder.blender.org/download/patch/blender-3.4.0-alpha+master-D16242.ae908021ac28-windows.amd64-release.zip still won't open for me. Same error. However, another daily build - https://builder.blender.org/download/patch/blender-3.4.0-alpha+master.dc09cc13ea49-windows.amd64-release.zip does open. Unsurprisingly, Blender works fine if I don't import the old settings from 3.3.0. The spacemouse and its side-buttons work. If I do import the old settings, the spacemouse works, but the side-buttons don't.

Thanks

BC (exovox) added a comment.EditedOct 22 2022, 1:06 PM

@Campbell Barton (campbellbarton) I couldn't launch blender from that standalone build - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

Missing dependencies?

@BC (exovox) do regular daily builds work for you?

If not would you be able to attempt to resolve the issue? Otherwise it's impractical to investigate the problem on our side.

What this means is that dependencies are missing in the package - because of this silly error

@Campbell Barton (campbellbarton) Okay I got your build https://builder.blender.org/download/patch/blender-3.4.0-alpha+master-D16242.ae908021ac28-windows.amd64-release.zip running, and it resolves the issue.

Spacemouse and side buttons work when the CADmouse is already plugged in when Blender starts. Both when I start with fresh preferences, and when I load the previous blender version's preferences.

Thank you for the fix!