Skip to content

Mac OS X 10.10.5, can't open Device #23

@atom2626

Description

@atom2626

I'm new to Mac, very experienced Linux.

I developed a Python wrapper over hidapi for my custom device on Linux. Everything worked fine. I thought I was going to be able to port it over the Mac OS X. Oh boy...

I really don't know what is going wrong, I can enumerate the devices, but I simply can't open my device.
Things I tried to open using serial (I tried to use the reference obtained during enumeration and I tried mac address with various fomarts using :, using -, using no delimiter)
I tried in C (calling hidapi directly) and in python, in both cases, I get a cannot open device.

What I'm curious about is that I read that an IO manager was added at some point in OS X. Could this be the problem. At this point, I'm thinking about redoing my SDK by calling direclt with the Apple API:
(https://developer.apple.com/library/content/documentation/DeviceDrivers/Conceptual/HID/overview/overview.html#//apple_ref/doc/uid/TP40000970-CH203-CJAHEAFF)

I wonder if an error in the HID Descriptor could prevent me from accessing my device.

If anyone got it working with an equivalent OS X version or has any clues as to what might be wrong, feel free to drop a line here.

-Fred

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions