Getting Bluetooth to work on Raspi 3?

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Getting Bluetooth to work on Raspi 3?

Postby aabasobo » Mon Aug 14, 2017 9:29 am

Hi all,
1 have a raspberry 3 with bluez and bluez-utils installed. After starting bluetooth.service, bluetoothctl says, on power on command, "no default controller available".


Here is output of lsmod, seems that hci_uart module is not loaded at boot.

Code: Select all
]$ lsmod
Module                  Size  Used by
brcmfmac              203513  0
brcmutil                7361  1 brcmfmac
cfg80211              541845  1 brcmfmac
evdev                  12129  1
bcm2835_gpiomem         3515  0
bcm2835_rng             2679  0
rng_core                7676  1 bcm2835_rng
fixed                   2921  0
uio_pdrv_genirq         3456  0
uio                     9072  1 uio_pdrv_genirq
sch_fq_codel            9358  3
snd_bcm2835            21570  0
snd_pcm                87762  1 snd_bcm2835
snd_timer              21638  1 snd_pcm
snd                    60574  3 snd_timer,snd_bcm2835,snd_pcm
ip_tables              12235  0
x_tables               17324  1 ip_tables
ipv6                  386974  22


Bluetooth service runs ok, but I cannot scan with bluetoothctl.

I actually have another arch raspi 3 that has a working bluetooth, but I cannot remenber how i got it working :evil:
aabasobo
 
Posts: 2
Joined: Mon Aug 14, 2017 8:28 am

Re: Getting Bluetooth to work on Raspi 3?

Postby aabasobo » Tue Aug 15, 2017 10:31 am

Testing things....

I plugged in a usb bluetooth adapter, and voila, bluetooth works without touching anything. No need for modprobe btusb.

I still don't know why raspi 3 onboard bt does not get started same way. Wlan works just fine, though...

Here is output of lsmod with usb bt module:
Code: Select all
$ lsmod
Module                  Size  Used by
bnep                   11129  2
btusb                  28160  0
btrtl                   4766  1 btusb
brcmfmac              203513  0
btintel                 8775  1 btusb
btbcm                   7020  1 btusb
brcmutil                7361  1 brcmfmac
bluetooth             354837  26 btrtl,btintel,bnep,btbcm,btusb
cfg80211              541845  1 brcmfmac
evdev                  12129  1
bcm2835_gpiomem         3515  0
bcm2835_rng             2679  0
rng_core                7676  1 bcm2835_rng
uio_pdrv_genirq         3456  0
uio                     9072  1 uio_pdrv_genirq
fixed                   2921  0
sch_fq_codel            9358  3
snd_bcm2835            21570  0
snd_pcm                87762  1 snd_bcm2835
snd_timer              21638  1 snd_pcm
snd                    60574  3 snd_timer,snd_bcm2835,snd_pcm
ip_tables              12235  0
x_tables               17324  1 ip_tables
ipv6                  386974  22
aabasobo
 
Posts: 2
Joined: Mon Aug 14, 2017 8:28 am

Re: Getting Bluetooth to work on Raspi 3?

Postby WarheadsSE » Tue Aug 15, 2017 1:43 pm

https://aur.archlinux.org/packages/pi-bluetooth/

If you search the forums, you may find similar answers.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6730
Joined: Mon Oct 18, 2010 2:12 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests