Oi pessoal Eu sou iniciante no Ubuntu e enfrentei um problema com o dispositivo bluetooth. Meu laptop é HP Pavilion G6 2316sx e meu modelo blutooth é RT3290. Ubuntu 16.10
Nota: meu wifi está funcionando, mas o bluetooth não funciona. Eu tentei:
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
Mas recebi este erro quando executei 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
Eu segui este tópico não está funcionando no Ubuntu 13.04 mas novamente recebemos o mesmo erro no mesmo comando.