gentoo on macbook pro driver for the Broadcom Facetime HD webcam

来源:互联网 发布:ubuntu lightdm 配置 编辑:程序博客网 时间:2024/05/17 01:53

gentoo on macbook pro 按 gentoo wiki 配置kernel 选项后, 仍然不能使用摄像头

Device Drivers --->
 <M> Multimedia support  --->  [*]   Cameras/video grabbers support  [*]   Media USB Adapters  --->   <M>   USB Video Class (UVC)     [*]     UVC input events device support (NEW) 

lscpi得到设备信息如下

Multimedia controller: Broadcom Limited 720p FaceTime HD Camera


据此在github找到相关驱动的项目 https://github.com/patjak/bcwc_pcie
gentoo 上的安装摘录如下:

Get Started on Gentoo

On Gentoo it is no longer necessary to extract the firmware from a running OS X. Simply use the bcwc_pcie ebuild from https://github.com/toaster/gentoo-overlay.git.

The following steps have to be performed as root.

Adding the overlay using layman

First create a local overlay list:

echo '<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd"><repositories xmlns="" version="1.0">  <repo quality="experimental" status="unofficial">    <name>toaster</name>    <description>toasters own ebuilds</description>    <homepage>https://github.com/toaster/gentoo-overlay</homepage>    <owner type="project">       <email>tilo@pruetz.net</email>       <name>Tilo Prütz</name>    </owner>    <source type="git">https://github.com/toaster/gentoo-overlay.git</source>    <feed>https://github.com/feeds/toaster/commits/gentoo-overlay/master</feed>  </repo></repositories>' > /etc/layman/overlays/toaster.xml

Then make it known to layman and add it to your local overlays:

layman -Llayman -a toaster

Install the driver

Note that you have to set the ~amd64 keyword for the driver package and for media-video/apple_facetimehd_firmware. How this is done in detail depends on how you manage your keywords.

emerge -av media-video/bcwc_pcie

The firmware ebuild will download a partial OS X 10.11 upgrade and extract the firmware from it. It is not necessary to boot OS X and extract it manually.

IF YOU ENCOUNTER ANY ISSUES LOOK AT THE "ADDITIONAL NOTES" SECTION ON THE BOTTOM OF THIS PAGE OR REPORT AN ISSUE

0 0
原创粉丝点击