安装 RT3290 蓝牙驱动程序 Ubuntu 16.10 时出错

安装 RT3290 蓝牙驱动程序 Ubuntu 16.10 时出错

大家好,我是 Ubuntu 新手,遇到了蓝牙设备问题。我的笔记本电脑是 HP Pavilion G6 2316sx,蓝牙型号是 RT3290。Ubuntu 16.10

注意:我的 wifi 可以使用,但蓝牙无法使用。我尝试过:

sudo apt-get install git dkms build-essential linux-headers-generic
git clone https://github.com/alinefr/rtbth.git
cd rtbth
make 
sudo make install

但是运行时出现这个错误make

make -C /lib/modules/4.8.0-22-generic/build M=/home/ahmed/Desktop/tmp/rtbth modules make[1]: Entering directory '/usr/src/linux-headers-4.8.0-22-generic'   
CC [M]  /home/ahmed/Desktop/tmp/rtbth/rtbth_core_bluez.o /home/ahmed/Desktop/tmp/rtbth/rtbth_core_bluez.c: In function ‘rtbt_hps_iface_init’: /home/ahmed/Desktop/tmp/rtbth/rtbth_core_bluez.c:381:22: error: ‘HCI_BREDR’ undeclared (first use in this function)
     hdev->dev_type = HCI_BREDR;
                      ^~~~~~~~~ /home/ahmed/Desktop/tmp/rtbth/rtbth_core_bluez.c:381:22: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.build:289: recipe for target '/home/ahmed/Desktop/tmp/rtbth/rtbth_core_bluez.o' 
failed make[2]: *** [/home/ahmed/Desktop/tmp/rtbth/rtbth_core_bluez.o] Error 1 Makefile:1489: recipe for target '_module_/home/ahmed/Desktop/tmp/rtbth' 
failed make[1]: *** [_module_/home/ahmed/Desktop/tmp/rtbth] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-22-generic' Makefile:24: recipe for target 'all' failed make: *** [all] Error 2

我关注了这个主题 Ralink 蓝牙在 Ubuntu 13.04 中无法工作 但在同一个命令上再次出现同样的错误。

相关内容