patjak / facetimehd

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam
GNU General Public License v2.0
1.36k stars 161 forks source link

Update fthd_drv.c #300

Closed MegaManSec closed 1 month ago

MegaManSec commented 1 month ago

When running Linux in a VM with the facetimehd module, the device must explicitly be removed.

If the device is not removed upon a shutdown of the VM, the device becomes inoperable until a full reboot of the host. Inoperable here means that the error message "Init failed! No wake signal" occurs.

The wifi adaptor on my macbook also requires this patch, fyi: https://joshua.hu/brcmfmac-bcm43602-suspension-shutdown-hanging-freeze-linux-freebsd-wifi-bug-pci-passthru#linux

patjak commented 1 month ago

Hi, thanks for the fix. I took the liberty to change the subject to something more descriptive.

MegaManSec commented 1 month ago

Thanks!

MegaManSec commented 1 month ago

Also FYI, I've written a post about how to set this set up on FreeBSD: https://joshua.hu/facetimehd-webcam-linux-vm-macbook-freebsd-broadcom-1570

patjak commented 1 month ago

Nice. If you think it can be relevant to others, feel free to add it to the wiki. It's open for anyone to edit.