FreeSpacenav / spacenavd

Free user-space driver for 6-dof space-mice.
http://spacenav.sourceforge.net
GNU General Public License v3.0
279 stars 55 forks source link

MacOS: failed to find any supported USB devices #70

Open chevdor opened 2 years ago

chevdor commented 2 years ago

I built from source, after setting X11=no.

sudo spacenavd -v -d
Spacenav daemon v1.0-4-g2c5a443
reading config file: /etc/spnavrc
failed to find any supported USB devices

My SpaceMouse Compact is recognozed in the OS and works fine in Fusion 360 and Blender. spacenavd however does not see to recognize it.

jtsiomb commented 2 years ago

Unfortunately at this point only serial devices are supported on MacOS. I'll mark this as a feature request.

chevdor commented 2 years ago

Ah ok, that explains the troubles then. Thanks for clearing that up.

luzpaz commented 2 years ago

oh bummer

consi commented 1 year ago

Hello,

Is there any possibility that this would be considered in future? I have 3dconnexion SpaceExplorer which support was dropped in macOS drivers but device is running perfectly fine

jtsiomb commented 1 year ago

It's quite probable, but I can't give you a timeline. The likeliest scenario is that this will be automatically solved, when I get around to writing an alternative cross-platform version of the USB code based on libusb, which has been on my TODO list for years.

Of course 3rd party contributions are always welcome. If anyone wishes to work on this (either through libusb or through the platform-specific macos HID API) let me know, and I will help with the integration as much as I can.

kevinwright commented 11 months ago

I'd be up for taking a look, not least because I'd like to see it working with the bluetooth spacemouse pro.

One query though... it looks like dev_usb_darwin.c has been in the source code for at least 2 years, and uses the platform-specific IOKit/hid/IOHIDLib.h. So I'm not entirely sure what's missing here

jtsiomb commented 11 months ago

Sounds great!

dev_usb_darwin.c was my unfinished attempt at implementing USB support for macosx 11 years ago. I was using macos for a little while back then for work, and thought I'd give it a go, but it was never completed.

I don't remember what state I left it in, feel free to continue working on that code, or start from scratch, whichever you prefer.

luzpaz commented 1 month ago

Any progress here ?