Topic: FIXED: Device not seen with HidSharp 2.0.5 on Mac
I am trying to connect to a USB weather station. Previously using HidSharp 1.5 this worked fine on Windows, Linux and Mac. Now I have upgraded to HidSharp 2.0.5 (to remove the libudev 0 requirement), the device is still seen by users on Windows and Linux, but Mac users get a null return when calling GetHidDeviceOrNull() using the VID/PID.
I've added code to list all the devices found when the program starts and this fails on Macs running 2.0.5, but works on Windows and Linux
DeviceList devicelist = DeviceList.Local;
LogMessage("Finding All USB HID Devices");
var allDevices = devicelist.GetAllDevices();
foreach (HidDevice dev in allDevices)
{
LogMessage(" " + dev.ToString());
}
On Macs this hangs after outputting "Finding All USB HID Devices"
One user has macOS 10.14.2.
Mono 5.16.0.220, 64 bit.
Any ideas? What diagnostics I can gather for you?
I don't have a Mac so I'm having to get users to run test code for me, and I cannot debug.