主题 : tiny6410在linux移植bluez出现Can't open HCI socket.: Address family not supported by protocol的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 92706
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2013-06-05
最后登录: 2014-02-21
楼主  发表于: 2013-07-04 17:10

 tiny6410在linux移植bluez出现Can't open HCI socket.: Address family not supported by protocol的问题

求助!求助!
我在linux下移植bluez3.36,交叉编译器是友善带的4.5.1,库文件包括
bluez-libs-3.36
bluez-utils-3.36
dbus-1.2.16
glib-2.16.5
libusb-0.1.12
libxml2-2.7.4
编译全部通过了,拷贝了生成出来的bin,sbin,etc,lib中全部文件到开发板,内核也加上了bluetooth的所有选项重编译刷过机了
但是在开发板上运行
hciconfig
直接提示:Can't open HCI socket.: Address family not supported by protocol
请问这是哪方面的问题?内核?还是bluez?
级别: 新手上路
UID: 92706
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2013-06-05
最后登录: 2014-02-21
1楼  发表于: 2013-07-04 22:08

 Re:tiny6410在linux移植bluez出现Can't open HCI socket.: Address family not supported by proto ..

查出问题了,还是内核的问题,make menuconfig时,蓝牙协议没有选 *,选的是 M,新手真是伤不起啊。