![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Regardez les messages systeme.
cat /var/log/messages Jun 16 14:59:04 raspberrypi kernel: [ 4654.708554] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jun 16 14:59:04 raspberrypi kernel: [ 4654.708562] usb 1-1.2: Product: BCM92045B3 ROM Jun 16 14:59:04 raspberrypi kernel: [ 4654.708569] usb 1-1.2: Manufacturer: Broadcom Corp Jun 16 15:05:09 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Fri Jun 16 15:06:39 2017 [try http://www.rsyslog.com/e/2007 ]
Branchez ensuite la clé usb Bluetooth sur votre Raspberry Pi et vérifiez que celle-ci est bien détectée :
root@raspberrypi:/media/pi/WORK# sudo lsusb | grep -i bluetooth Bus 001 Device 014: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Package bluez-utils is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from source However the following packages replace it: bluez E: Package 'bluez-utils' has no installation candidate E: Package 'bluez-alsa' has no installation candidate
On voit ici apparaitre le device 14 qui correspond à une clé Broadcom Corp. BCM2210 Bluetooth.
Il faut ensuite installer le logiciel qui va permettre de gérer les connexions bluetooth.
sudo apt-get install bluetooth bluez bluez-utils bluez-alsa
Vous devez maintenant éditer le fichier de configuration du bluetooth pour paramétrer le bluetooth.
sudo vi /etc/bluetooth/main.conf
Ajoutez la ligne suivante en début de fichier : @file/ DisablePlugins = pnat @file:
Autorisez votre user à utiliser le bluetooth (pi n'est pas forcément le user. Remplacez pi par votre user):
sudo gpasswd -a pi bluetooth
Redémarrer le Raspberry Pi pour que le modifciation soit prise en compte.