Skip to content

Support Intel Mac and dual USB ID (DJI/Quectel) - #2

Open
lessoon wants to merge 0 commit into
ZenGeekLabs:mainfrom
lessoon:main
Open

Support Intel Mac and dual USB ID (DJI/Quectel)#2
lessoon wants to merge 0 commit into
ZenGeekLabs:mainfrom
lessoon:main

Conversation

@lessoon

@lessoon lessoon commented Jul 27, 2026

Copy link
Copy Markdown

Summary

  • Add Intel Mac (x86_64) support via unified build script with auto architecture detection
  • Support both USB IDs simultaneously: 2ca3:4006 (DJI original) and 2c7c:0125 (Quectel EC25 flashed)
  • Remove arm64-only restriction from packaging/install
  • Update README with Intel Mac build instructions
  • Add debug logging for USB AT discovery troubleshooting

Changes

  • usbat_darwin.go: Replace hardcoded USB ID constants with supportedUSBIDs table
  • main.go: Update discoverDJIUSBDevice() to recognize both vendor IDs
  • scripts/build-macos.sh: Unified build script with auto architecture detection
  • packaging/install: Accept both arm64 and x86_64
  • README.md & packaging/README.md: Document Intel Mac support

Test

  • Built and tested on Intel Mac (x86_64)
  • USB AT communication established
  • SMS receiving working
  • eSIM manager available
  • Apple Silicon verification (help wanted)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant