赞
踩
网上关于BT的驱动很少,所以我在开发过程中把其中的步骤记录下来。供大家相互学习讨论。
一、关于BT driver的移植:
1. Enablebluetootch in BoadConfig.mk
BOARD_HAVE_BLUETOOTH := true
2.实现BT电源管理rfkill驱动。
Kernel/driver/bluetooth/bluetooth-power.c 高通的这个文件基本上不用动。
在kernel\arch\arm\mach_msm7x27.c: static int bluetooth_power(int on)中
实现:上电:把bt_reset pin 和bt_reg_on pin 拉低
mdelay(10);
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。