FreeBSD doesn't have Wi-Fi driver for my old MacBook. AI build one for me
a day ago
- #FreeBSD
- #Wi-Fi Driver
- #AI Development
- Author repurposes a 2016 MacBook Pro with FreeBSD but lacks Wi-Fi driver support for Broadcom BCM4350 chip.
- Initial attempt to use AI (Claude Code) to port Linux's brcmfmac driver to FreeBSD fails due to complexity and kernel panics.
- Switches approach: AI (Pi agent) generates a detailed specification for the driver, focusing on BCM4350, verified through multiple AI models.
- Starts fresh project with specification, documenting decisions and milestones, eventually dropping LinuxKPI for native FreeBSD primitives.
- After iterative development and testing, achieves a working FreeBSD kernel module for BCM4350, supporting Wi-Fi scanning and connectivity.
- Source code available on GitHub, but advised for study purposes only due to known issues.