Skip to content

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam. Includes cheap workaround for chromium until the browser people get their stuff together and support the stepwise resolution and framerate offered by the webcam and driver.

Notifications You must be signed in to change notification settings

maximilianduell/bcwc_pcie

 
 

Repository files navigation

facetimehd

Linux driver for the Facetime HD (Broadcom 1570) PCIe webcam found in recent Macbooks.

This driver is experimental. Use at your own risk.

See the Wiki for more information:

How to enable the Chromium/Skype Workaround?

This driver contains workaround code for cheaply restoring skype and chromium compatibility by artificially restricting the capabilities of the facetimehd webcam.

To enable this workaround pass the module parameter enable_chromium_workaround when loading the module.

sudo modprobe facetimehd enable_chromium_workaround=1

To permanently enable the workaround one can add a file /etc/modprobe.d/facetimehd with the following content:

option facetimehd enable_chromium_workaround=1

Then, if the webcam is required at its full capabilities via the proper v4l2 API one can simply disable the workaround again temporarily by reloading the driver with the appropriate flag:

sudo rmmod facetimehd
sudo modprobe facetimehd enable_chromium_workaround=0

Technically skype and chromium support was broken due to the fact that these programs do not support the v4l2 stepwise resolution API provided by the facetimehd driver. The clean fix will be for chrome/skype to support the new API in the long term. For now for convenience of users this workaround restores compatibility in a very cheap way. Technical details are described in patjak#123

About

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam. Includes cheap workaround for chromium until the browser people get their stuff together and support the stepwise resolution and framerate offered by the webcam and driver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 76.1%
  • C++ 18.4%
  • Shell 4.3%
  • Makefile 1.2%