Привет парни, я - новичок Ubuntu и я столкнулся с проблемой с bluetooth-устройством. Моим ноутбуком является HP Pavilion G6 2316sx, и моя blutooth модель является RT3290. Ubuntu 16.10
Примечание: мой Wi-Fi работает, но Bluetooth не делает. Я попробовал:
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 Bluetooth, не работающий в Ubuntu 13.04, но снова получил ту же ошибку на той же команде.