WIP: [Untestedcode] Report Descriptor code for MAC #263

Closed
JoergAtGithub wants to merge 2 commits from mac_report_descriptor into get-descriptor
JoergAtGithub commented 2021-04-10 08:15:27 -05:00 (Migrated from github.com)

I coded this offline, because I don't have access to a MAC system.

I coded this offline, because I don't have access to a MAC system.
Youw commented 2021-04-10 08:18:15 -05:00 (Migrated from github.com)

I have Mac/Linux machines, so I can check/implement those withing few days.

I have Mac/Linux machines, so I can check/implement those withing few days.
JoergAtGithub commented 2021-04-10 08:23:42 -05:00 (Migrated from github.com)

That would be great, I just found this code during my research for the windows implementation and thought it might help to have it as reference.

That would be great, I just found this code during my research for the windows implementation and thought it might help to have it as reference.
Youw commented 2021-04-10 08:27:05 -05:00 (Migrated from github.com)

It won't harm.
I also did some investigation of my own in this direction, and I find implementation for each platform (except Windows) to be straight-forward.

It won't harm. I also did some investigation of my own in this direction, and I find implementation for each platform (except Windows) to be straight-forward.
mcuee commented 2021-06-17 22:06:35 -05:00 (Migrated from github.com)

@JoergAtGithub I will test this as well on my Mac Mini M1 (ARM64) over the weekend.

@JoergAtGithub I will test this as well on my Mac Mini M1 (ARM64) over the weekend.
mcuee commented 2021-06-18 06:20:44 -05:00 (Migrated from github.com)

@JoergAtGithub Hmm, this one does not seem to have any test code or debug output. Not sure what is the best way to test it.

But for macOS, maybe this one can be a good start.
https://github.com/todbot/mac-hid-dump/blob/main/mac-hid-dump.c

Based on my test in #249, it matches exactly the FW codes I have.

@JoergAtGithub Hmm, this one does not seem to have any test code or debug output. Not sure what is the best way to test it. But for macOS, maybe this one can be a good start. https://github.com/todbot/mac-hid-dump/blob/main/mac-hid-dump.c Based on my test in #249, it matches exactly the FW codes I have.
JoergAtGithub commented 2021-07-11 03:37:26 -05:00 (Migrated from github.com)

Superseeded by #303

Superseeded by #303

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-libusb/hidapi!263
No description provided.