{"id":17268116,"url":"https://github.com/waydabber/applesiliconddc","last_synced_at":"2025-04-14T08:05:18.246Z","repository":{"id":106802061,"uuid":"425322299","full_name":"waydabber/AppleSiliconDDC","owner":"waydabber","description":"DDC Library for Apple Silicon Macs","archived":false,"fork":false,"pushed_at":"2025-02-19T20:34:31.000Z","size":44,"stargazers_count":26,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T08:05:10.674Z","etag":null,"topics":["apple","arm","arm64","control","ddc","display","library","mac","macos","mccs","silicon","vcp"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waydabber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-11-06T18:46:39.000Z","updated_at":"2025-04-01T02:48:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f459836-9b9a-49c6-aa4e-240cc4c896ea","html_url":"https://github.com/waydabber/AppleSiliconDDC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waydabber%2FAppleSiliconDDC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waydabber%2FAppleSiliconDDC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waydabber%2FAppleSiliconDDC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waydabber%2FAppleSiliconDDC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waydabber","download_url":"https://codeload.github.com/waydabber/AppleSiliconDDC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248843819,"owners_count":21170488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","arm","arm64","control","ddc","display","library","mac","macos","mccs","silicon","vcp"],"created_at":"2024-10-15T08:12:33.255Z","updated_at":"2025-04-14T08:05:18.200Z","avatar_url":"https://github.com/waydabber.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppleSiliconDDC\n\nDDC Library for Apple Silicon Macs + ASDDC cli\n\n## Usage - library\n\nSee example `ASDDC` code.\n\nFor sample implementation take a look at the source code of [MonitorControl](https://github.com/MonitorControl/MonitorControl) (as `Arm64DDC.swift` in the project)\n\nPlease mention this repo publicly if used. :)\n\n## Usage - CLI\n\n**Warning**: This CLI is for DDC/CI (protocol) and not for MCCS (command set) and some displays only partially adhere to MCCS (e.g. store unexpected data in MH/SH or invalid in ML). It's outside the scope of this program to interpret/correct it. Only `--verify-single` (or `--noverify`) can be used to bypass such issues.\n\n### Building\n\n```bash\nswift build\n./.build/arm64-apple-macosx/debug/ASDDC --help\n```\n\n### CLI syntax\n\n`ASDDC --help`\n\n```\nOVERVIEW: AppleSiliconDDC\n\nUSAGE: asddc \u003csubcommand\u003e\n\nOPTIONS:\n  -h, --help              Show help information.\n\nSUBCOMMANDS:\n  detect (default)        Detect connected display.\n  getvcp                  Read value for given VCP.\n  setvcp                  Sets value for given VCP.\n  capabilities            Qeuery all VCPs.\n\n  See 'asddc help \u003csubcommand\u003e' for detailed help.\n```\n\n`ASDDC detect --help`\n\n```\nOVERVIEW: Detect connected display.\n\nUSAGE: asddc detect\n\nOPTIONS:\n  -h, --help              Show help information.\n```\n\n`ASDDC getvcp --help`\n\n```\nOVERVIEW: Read value for given VCP.\n\nUSAGE: asddc getvcp [--terse] [--sn \u003csn\u003e] [--display \u003cdisplay\u003e] [--edid \u003cedid\u003e] \u003cvcp\u003e\n\nARGUMENTS:\n  \u003cvcp\u003e                   Raw VCP code (decimal or hex prefixed with 0x or x)\n\nOPTIONS:\n  --terse                 Terse output (similar to ddcutil --terse)\n  -n, --sn \u003csn\u003e           Alphanumeric serial number of target device. If omitted, first working display will be tried.\n  -d, --display, --dis \u003cdisplay\u003e\n                          ioDisplayLocation of target device. If omitted, first working display will be tried.\n  -e, --edid \u003cedid\u003e       EDID of target device. If omitted, first working display will be tried.\n  -h, --help              Show help information.\n```\n\n`ASDDC setvcp --help`\n\n```\nOVERVIEW: Sets value for given VCP.\n\nUSAGE: asddc setvcp [--noverify] [--verify-single] [--terse] [--sn \u003csn\u003e] [--display \u003cdisplay\u003e] [--edid \u003cedid\u003e] \u003cvcp\u003e \u003cvalue\u003e\n\nARGUMENTS:\n  \u003cvcp\u003e                   Raw VCP code (decimal or hex prefixed with 0x or x)\n  \u003cvalue\u003e                 Raw VCP value (decimal or hex prefixed with 0x or x)\n\nOPTIONS:\n  --noverify              Do not read VCP value after setting it\n  --verify-single         Read VCP value after setting it, but only check lower byte\n  --terse                 Terse output (similar to ddcutil --terse)\n  -n, --sn \u003csn\u003e           Alphanumeric serial number of target device. If omitted, first working display will be tried.\n  -d, --display, --dis \u003cdisplay\u003e\n                          ioDisplayLocation of target device. If omitted, first working display will be tried.\n  -e, --edid \u003cedid\u003e       EDID of target device. If omitted, first working display will be tried.\n  -h, --help              Show help information.\n```\n\n`ASDDC capabilities --help`\n\n```\nOVERVIEW: Qeuery all VCPs.\n\nUSAGE: asddc capabilities [--terse] [--sn \u003csn\u003e] [--display \u003cdisplay\u003e] [--edid \u003cedid\u003e]\n\nOPTIONS:\n  --terse                 Terse output (similar to ddcutil --terse)\n  -n, --sn \u003csn\u003e           Alphanumeric serial number of target device. If omitted, first working display will be tried.\n  -d, --display, --dis \u003cdisplay\u003e\n                          ioDisplayLocation of target device. If omitted, first working display will be tried.\n  -e, --edid \u003cedid\u003e       EDID of target device. If omitted, first working display will be tried.\n  -h, --help              Show help information.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaydabber%2Fapplesiliconddc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaydabber%2Fapplesiliconddc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaydabber%2Fapplesiliconddc/lists"}