libicsneo/platform/posix
Gowtham Nanjukutty (XC-CP/ECC2.3) 0c9f1c5f3e darwin: fix CDCACM device detection on macOS 12+
On macOS 12 and later, Apple replaced IOUSBDevice with IOUSBHostDevice
in the USB host stack. When walking the IORegistry parent chain to find
the USB device providing a serial port, the existing code only checked
IOObjectConformsTo(parent, kIOUSBDeviceClassName). On macOS 12+, this
check fails because the USB device node conforms to IOUSBHostDevice
instead.

Fix by also checking IOObjectConformsTo(parent, "IOUSBHostDevice"),
so CDCACM device discovery works on both old and new macOS.

Verified on macOS 26 (Tahoe, arm64) with a ValueCAN 4-2 (V2D805).
2026-05-22 09:12:58 -04:00
..
darwin darwin: fix CDCACM device detection on macOS 12+ 2026-05-22 09:12:58 -04:00
linux Drivers: Ensure serial numbers are uppercase 2022-05-28 14:41:41 -04:00
cdcacm.cpp CI: Add warnings & error on warnings 2025-03-28 17:35:26 +00:00
firmio.cpp FirmIO: Fix instability and memory leak issues 2026-01-07 13:35:23 -05:00
pcap.cpp Driver: Block between read attempts 2024-08-13 13:55:12 +00:00