openframeworks / openframeworks/openFrameworks

ofSerial is not listing any devices on OS X.

Open
#5,221 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

The ofSerial::buildDeviceList() is not working properly on OS X. No serial devices are listed.
The 'prefix match' strings needed to be changed to /dev/cu. and /dev/tty.

Tested on OS X 10.11.6. I do not have an older version of OS X to test this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the implementation of ofSerial::buildDeviceList() and inspect how its device-name prefix matches are handled on OS X. Update the matching behavior for /dev/cu. and /dev/tty., then verify that serial devices are listed on OS X 10.11.6 or a comparable OS X environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.