Skip to content

MacOS Big Sur IOError on open #212

@smartavionics

Description

@smartavionics

Hi, I am the developer of a plugin (https://github.com/smartavionics/RawMouse) that lets people use HID mouse devices with the Cura slicer program. It makes use of https://github.com/trezor/cython-hidapi which then uses https://github.com/libusb/hidapi (thanks for providing that). It has all been working splendidly for many months but now a user has reported a problem on MacOS Big Sur. The RawMouse plugin is reporting this...

2020-11-18 11:46:33,570 - DEBUG - [RawMouse] RawMouse.RawMouse._run_hid [219]: Trying to open IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG2@1,2/IOPP/UPSB@0/IOPP/DSB1@1/IOPP/UPS0@0/IOPP/pci-bridge@1/IOPP/pci1b73,1100@0/AppleUSBXHCIFL1100@00000000/AppleUSB20XHCIPort@00100000/USB2.1 Hub@00100000/AppleUSB20Hub@00100000/AppleUSB20HubPort@00130000/SpaceMouse Wireless@00130000/IOUSBHostInterface@0/AppleUserUSBHostHIDDevice
2020-11-18 11:46:33,571 - ERROR - [RawMouse] RawMouse.RawMouse._run_hid [246]: IOError while reading HID events: open failed

Is the hidapi library compatible with Big Sur? And if so, do I need to change the way it is being used? Is it a permissions thing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    macOSRelated to macOS backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions