尝试向树莓派3B引入Drbian 9 arm64-PART 3

Bluetooth

笔者尝试安装 bluez 并开启蓝牙,未果:

pi@raspberry:~$ bluetoothctl 
Waiting to connect to bluetoothd...

Gentoo Wiki的某个角落,笔者找到了启动蓝牙的方法:
/usr/bin/hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -

VCHI (bcm2835-v4l2)

笔者切换至4.11内核分支时, 设备文件 /dev/vchiq 存在,但涉及VCHI的大多数程序无法正常工作:

pi@raspberry:~$ raspistill
* failed to open vchiq instance

起初笔者认为是权限问题,遂sudo chmod a+rw /dev/vchiq
然而:

pi@raspberry:~$ raspistill
vchiq_lib: Very incompatible VCHIQ library - cannot retrieve driver version
* failed to open vchiq instance

同样,即使摄像头已安装, 设备文件 /dev/video0 却不出现。
尝试载入 bcm2835-v4l2

pi@raspberry:~$ sudo modprobe bcm2835-v4l2
modprobe: FATAL: Module bcm2835-v4l2 not found in directory /lib/modules/4.11.9-v8+

笔者遂在 Github 上搜寻资料,发(ti)现(chu)了这个Issue
之后跟随其解决方法:

git checkout rpi-4.12.y
make menuconfig

并启用这个菜单下的BCM2835 Camera:
Device Drivers -> Staging Drivers -> Broadcom VideoCore Support

WLAN Interface

完成上一章节的步骤之后,树莓派的 wlan0 却神秘消失。
笔者遂在 Github 上搜寻资料,又发(ti)现(chu)了这个Issue
得到解决方案:
编辑.config

CONFIG_MMC_BCM2835_MMC=y
CONFIG_MMC_BCM2835=n

杂项:

  • 修改默认CPUFreq策略( make menuconfig ):
    CPU Power Management -> CPU Frequency Scaling -> Default CPUFreq governor
posted @ 2018-01-07 14:52  UMRInside  阅读(1397)  评论(4编辑  收藏  举报