Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
macbook air 安装deepin15.4,笔记本自带摄像头驱动适配
Experiences and Insight
3605
views ·
4
replies ·
To
floor
Go
shenjing
deepin
2017-06-30 06:30
Author
本帖最后由 shenjing 于 2017-6-29 23:55 编辑
是个意外,我的macbook air 装了deepin v15后,打算开发的图像实时处理程序。
发现打开摄像头失败,发现系统没有摄像头设备的设备节点文件/dev/video*
于是,开始适配笔记本自带的摄像头驱动之旅。
按照套路,先找到摄像头硬件设备
lspci | grep -i camera
02:00.0 Multimedia controller: Broadcom Corporation 720p FaceTime HD Camera
找到对应的驱动源码
步骤:
准备工作:
apt-get install linux-headers git kmod libssl-dev checkinstall curl xzcat cpio
下载对应设备的驱动源码:
git clone https://github.com/patjak/bcwc_pcie.git
//先编译安装固件
$ cd bcwc_pcie/firmware
$make
$sudo make install
//再编译安装摄像头驱动
$cd ../bcwc_pcie
$make
$sudo checkinstall
$sudo make install
$sudo depmod
$sudo modprobe facetimehd
至此,你的系统应该就有这个设备节点文件了 /dev/video0
就可以打开拍照软件cheese开心地使用苹果笔记本自带的摄像头了。
Reply
Like 0
Favorite
View the author
All Replies
jingle
deepin
2017-06-30 16:45
#1
沈老师也来分享经验了啦
Reply
Like 0
View the author
shenjing
deepin
2017-06-30 17:25
#2
https://bbs.deepin.org/post/141790
沈老师也来分享经验了啦
遇到了,顺便写写
另外,想要开机自动加载该驱动模块,请修改/etc/modules添加一行内容即可:facetimehd
Reply
Like 0
View the author
shenjing
deepin
2017-09-11 21:11
#3
本帖最后由 shenjing 于 2017-9-11 13:17 编辑
安装包已经推仓库,大家有15年下半年以后的macbook air,如果不能使用cheese拍照,就装一下这个包facetimehd-dkms. 加载驱动sudo modprobe facetimehd 此时可以拍照了.如果要开机自动加载该模块,请在/etc/modules文件添加一行facetimehd 然后重启机器即可,
Reply
Like 0
View the author
kim213
deepin
2017-09-11 21:51
#4
之前没看到,今天一下子被顶上来了.
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
是个意外,我的macbook air 装了deepin v15后,打算开发的图像实时处理程序。
发现打开摄像头失败,发现系统没有摄像头设备的设备节点文件/dev/video*
于是,开始适配笔记本自带的摄像头驱动之旅。
按照套路,先找到摄像头硬件设备
lspci | grep -i camera
02:00.0 Multimedia controller: Broadcom Corporation 720p FaceTime HD Camera
找到对应的驱动源码
步骤:
准备工作:
apt-get install linux-headers git kmod libssl-dev checkinstall curl xzcat cpio
下载对应设备的驱动源码:
git clone https://github.com/patjak/bcwc_pcie.git
//先编译安装固件
$ cd bcwc_pcie/firmware
$make
$sudo make install
//再编译安装摄像头驱动
$cd ../bcwc_pcie
$make
$sudo checkinstall
$sudo make install
$sudo depmod
$sudo modprobe facetimehd
至此,你的系统应该就有这个设备节点文件了 /dev/video0
就可以打开拍照软件cheese开心地使用苹果笔记本自带的摄像头了。