Apple MacBook Pro (A1278)

---
layout:
  'hcl'
type:
  'notebook'
hvm:
  'yes'
iommu:
  'no'
slat:
  ''
tpm:
  'unknown'
remap:
  'no'
brand: |
  Apple Inc.
model: |
  MacBookPro8,1
bios: |
     MBP81.88Z.0050.B00.1804101331
cpu: |
  Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
cpu-short: |
  FIXME
chipset: |
  Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
chipset-short: |
  FIXME
gpu: |
  Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
gpu-short: |
  FIXME
network: |
  Broadcom Limited NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)
  Broadcom Limited BCM4331 802.11a/b/g/n (rev 02)
memory: |
  10107
scsi: |
  APPLE SSD TS128C Rev: 0201
  DVDRW  GS31N     Rev: TA17
usb: |
  4
versions:

- works:
    'FIXME:yes|no|partial'
  qubes: |
    R4.0
  xen: |
    4.8.5-35.fc25
  kernel: |
    5.14.15-1
  remark: |
    FIXME
  credit: |
    FIXAUTHOR
  link: |
    FIXLINK

---

Remarks

  • Will not run Qubes OS 4.1
  • Will not even boot the 4.0.4 installer ISO
  • 4.0.3 works like a charm from a usability perspective (not so sure about security-wise)
  • sys-net must be run in paravirtualized mode (PV), and required kmod-wl to be installed, as well as a systemd service (attached below)
  • The following HVMs work great: Windows 10, Windows 11, FreeBSD, Android x86, most major Linux distros. Oh, and TempleOS works too!
  • If you close the lid, it will sleep, and when you open the lid, it will wake, however the screen will just stay black (illuminated, though). I will write further updates on this as I investigate.

More details will follow…

Systemd service file for prepping BCM4331 wifi/bluetooth card for Xen

[Unit]
Description=Reset Broadcom Wifi Card to Allow PCI Passthrough

[Service]
ExecStart=/usr/local/bin/working-wifi.sh

[Install]
WantedBy=multi-user.target

/usr/local/bin/working-wifi.sh

#!/bin/sh
# Post-Install - Load this so that you can make it through Qubes OS first boot "Setting Up Networking" without your whole machine freezing
#echo 1 > /sys/bus/pci/devices/0000\:02\:00.0/remove

# then comment out everything above this line, and UNCOMMENT everything below this line - You're good to go!
echo 03:00.0 > /sys/bus/pci/drivers/pciback/permissive
echo 03:00.0 > /sys/bus/pci/drivers/pciback/allow_interrupt_control
echo 1 > /sys/bus/pci/drivers/pciback/0000\:03\:00.0/d3cold_allowed
echo pciback > /sys/bus/pci/drivers/pciback/0000\:03\:00.0/driver_override
echo 1 > /sys/bus/pci/drivers/pciback/0000\:03\:00.0/reset

Attachments

2 Likes

Thank you @alzer89 for this HCL report, which is now online.

1 Like

Darn it! I got unreasonably excited, seeing this.

2 Likes