Skip to content

installer chip_present() lspci detection fails on Mac Mini 8,1 #1

Description

@akkana

Thanks for this driver! It will bring new life to an old mac mini running linux.

But we had to patch the installer, and I'm not clear why. Line 296 of install.sh is:
if lspci -nn | grep -qi '14e4:4464'; then
and that was failing, so we were getting a red X and die "BCM4364 (14e4:4464) not found."
But running lspci -nn | grep '14e4:4464' printed a line, so the chip was there. I don't understand why the | grep -qi test was failing; the test looks fine to me. In the end, we hacked around it by putting a return 0 immediately inside chip_present(), before the lspci | grep, and the rest of the install succeeded just fine, but that's obviously not the right solution.

Also, a minor documentation issue with the README: initially, my husband was trying to install from the https://github.com/NoaHimesaka1873/apple-bcm-firmware/releases/download/v14.0/apple-bcm-firmware-14.0-1-any.pkg.tar.zst mentioned in the README, thinking the TL;DR instructions right after that URL applied to the zst somehow (apparently they're unrelated, since the zst doesn't include an install.sh file, even after you uncompress and untar it). So that was a little confusing for someone who thought there was a way to do it without using git (he isn't a developer and doesn't normally have git installed). Maybe at the beginning of the TL;DR, you could start with the git clone line, before the sudo ./install.sh?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions