[buildroot] hciconfig无法打开HCI套接字错误

时间:2017-08-24 10:31:35

标签: bluetooth bluez buildroot

我正在使用buildroot-2014.05 git。它已被交叉编译到工具链下面。 “ELF 32位LSB共享对象,MIPS,MIPS32 rel2版本1(SYSV),动态链接(使用共享库),用于GNU / Linux 2.6.16,未剥离 “

我收到以下错误消息。

# hciconfig 
Can't open HCI socket.: Address family not supported by protocol

2 个答案:

答案 0 :(得分:0)

听起来你的内核配置不正确。在你的内核配置中,确保CONFIG_BT及其下面的相应配置已启用。

答案 1 :(得分:0)

  1. 确保已加载相应的内核模块。运行以下命令时,您至少应拥有bluetoothbtusb

    lsmod | grep蓝牙

  2. 如果没有显示内核模块,请尝试添加它们:

    modprobe -vvv蓝牙 modprobe -vvv btusb

  3. 如果modprobe失败,请检查/etc/modprobe.d中的文件,以防万一
    被列入黑名单。