Skip to content

Commit

Permalink
Fixes issue with macOS big-sur+ where device information is reported …
Browse files Browse the repository at this point in the history
…as n/a. check EmotiBit/ofxEmotiBit#213 (comment) for more details"
  • Loading branch information
nitin710 committed Jul 13, 2023
1 parent e764c57 commit 80d1182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/serial/src/impl/list_ports/list_ports_osx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ get_parent_iousb_device( io_object_t& serial_port )
string name = get_class_name(device);

// Walk the IO Registry tree looking for this devices parent IOUSBDevice.
while( name != "IOUSBDevice" )
while( name != "IOUSBDevice" && name != "IOUSBHostInterface" )
{
kern_result = IORegistryEntryGetParentEntry( device,
kIOServicePlane,
Expand Down

0 comments on commit 80d1182

Please sign in to comment.