Getting Bluetooth working for Raspi Zero W?

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

Getting Bluetooth working for Raspi Zero W?

Postby stasiana » Sat Apr 29, 2017 9:54 pm

How does one get Bluetooth working on a Raspberry Pi Zero W with Arch Linux ARM?

After installing bluez and bluez-utils, and starting bluetooth.service, bluetoothctl is not able to detect any radios. However, swapping out the SD card to use Raspbian, bluetooth works out of box and bluetoothctl is able to detect the radio fine.

I did a comparion of the kernel modules loaded from the two OS. First, the Arch Linux output:

$this->bbcode_second_pass_code('', '
# lsmod
Module Size Used by
bnep 11321 2
bluetooth 355690 7 bnep
brcmfmac 203226 0
brcmutil 7425 1 brcmfmac
cfg80211 541087 1 brcmfmac
bcm2835_rng 2679 0
bcm2835_gpiomem 3515 0
rng_core 7657 1 bcm2835_rng
uio_pdrv_genirq 3456 0
uio 9072 1 uio_pdrv_genirq
fixed 2921 0
sch_fq_codel 9294 2
snd_bcm2835 21551 0
snd_pcm 86520 1 snd_bcm2835
snd_timer 21631 1 snd_pcm
snd 60637 3 snd_timer,snd_bcm2835,snd_pcm
ip_tables 12363 0
x_tables 17452 1 ip_tables
ipv6 384973 30
')
And then the Raspbian output:

$this->bbcode_second_pass_code('', '
# lsmod
Module Size Used by
bnep 11853 2
hci_uart 21122 1
btbcm 7885 1 hci_uart
bluetooth 365780 22 bnep,btbcm,hci_uart
brcmfmac 201842 0
brcmutil 9031 1 brcmfmac
snd_bcm2835 23131 0
cfg80211 500739 1 brcmfmac
rfkill 21397 4 cfg80211,bluetooth
snd_pcm 95473 1 snd_bcm2835
snd_timer 22556 1 snd_pcm
snd 68400 3 snd_bcm2835,snd_timer,snd_pcm
bcm2835_gpiomem 3759 0
bcm2835_wdt 4133 0
uio_pdrv_genirq 3718 0
uio 10230 1 uio_pdrv_genirq
ipv6 367697 24
')
I noticed that btbcm and hci_uart are not loaded in Arch Linux and I believe that btbcm is the Broadcom bluetooth driver. So I modprobe both of these modules and restart the bluetooth service. Still no luck. Does not detect the radio.

Any suggestions?
stasiana
 
Posts: 5
Joined: Wed Apr 26, 2017 3:58 am

Re: Getting Bluetooth working for Raspi Zero W?

Postby JoergPi » Thu May 11, 2017 8:21 pm

I have exactly the same issue - any idea how to solve?
JoergPi
 
Posts: 2
Joined: Thu May 11, 2017 8:19 pm

Re: Getting Bluetooth working for Raspi Zero W?

Postby JoergPi » Thu May 11, 2017 9:04 pm

I got it to work - see here for details: https://loads.pickle.me.uk/2017/03/18/b ... pi-zero-w/
JoergPi
 
Posts: 2
Joined: Thu May 11, 2017 8:19 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 12 guests