Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jun 2017
    Location
    Belgium
    Posts
    97

    [Solved] Pi Zero: bluetooth not working anymore

    Hi all

    I have been using a Zero as a portable player through the house, together with a BT speaker, for a few months now and it was fine until a few days ago.
    Even after starting with a fresh image, the BT controller stays off; log says "Error powering on Bluetooth Adapter"
    It has worked a few times since but after powering off/on, the BT connection did not come up automatically.

    Any idea what might be wrong or what I could do/try?

    TIA
    R
    Last edited by Rnee; 2019-03-26 at 03:18. Reason: Changed title, added solved status
    pCP v5.0.0 on all players
    LMS 7.9.3 on Debian Buster server in a Linux Container, +27k titles on SMB share
    RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite)
    RPi B as dedicated player, connected over wifi with USB dongle
    RPi 2B as dedicated player, connected over powerline
    RPi Zero W as dedicated player
    Squeezer on Android to control

  2. #2
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,052
    If you started with a new image, did you remember to enable the Bluetooth.

    You might run Diagnostics from the main web page. Look at the dmesg section towards the bottom. There should be messages when the Bluetooth tries to enable.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #3
    Member
    Join Date
    Jun 2017
    Location
    Belgium
    Posts
    97
    Hi Paul, thanks for your reply.
    By enabling bluetooth, you mean selecting Bluetooth audio in the Squeezelite settings tab, right?

    Here is the part of the dmesg output related to BT:
    Code:
    [   28.662650] Bluetooth: Core ver 2.22
    [   28.662798] NET: Registered protocol family 31
    [   28.662805] Bluetooth: HCI device and connection manager initialized
    [   28.664424] Bluetooth: HCI socket layer initialized
    [   28.664446] Bluetooth: L2CAP socket layer initialized
    [   28.664495] Bluetooth: SCO socket layer initialized
    [   28.688560] Bluetooth: HCI UART driver ver 2.3
    [   28.688575] Bluetooth: HCI UART protocol H4 registered
    [   28.688579] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [   28.690562] Bluetooth: HCI UART protocol Broadcom registered
    [   28.911058] random: dbus-daemon: uninitialized urandom read (12 bytes read)
    [   28.931770] random: dbus-daemon: uninitialized urandom read (12 bytes read)
    [   29.432185] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   29.432196] Bluetooth: BNEP filters: protocol multicast
    [   29.432223] Bluetooth: BNEP socket layer initialized
    [   29.433675] random: bluetoothd: uninitialized urandom read (4 bytes read)
    [   29.522200] ------------[ cut here ]------------
    [   29.522990] WARNING: CPU: 0 PID: 10 at net/wireless/reg.c:416 restore_regulatory_settings+0xac/0x42c [cfg80211]
    [   29.523000] Unexpected user alpha2: "B
    [   29.523004] Modules linked in: bnep hci_uart serdev btbcm bluetooth ecdh_generic brcmfmac brcmutil cfg80211 rfkill snd_soc_bcm2835_i2s regmap_mmio snd_bcm2835(C) snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd fixed squashfs lz4 lz4_compress zram zsmalloc spidev spi_bcm2835 i2c_bcm2835 uio_pdrv_genirq uio
    pCP v5.0.0 on all players
    LMS 7.9.3 on Debian Buster server in a Linux Container, +27k titles on SMB share
    RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite)
    RPi B as dedicated player, connected over wifi with USB dongle
    RPi 2B as dedicated player, connected over powerline
    RPi Zero W as dedicated player
    Squeezer on Android to control

  4. #4
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,052
    That looks like an error in the WiFi configuration. Is the WiFi working ok?
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #5
    Member
    Join Date
    Jun 2017
    Location
    Belgium
    Posts
    97
    WIFI does not seem to have any problem, I can control the device - remember: it only has WIFI, it's a Zero.
    I did switch to another dedicated AP recently and with same ID and security all wireless devices worked immediately.
    To be sure I also switched back to the AP from my router, same result.

    Steps I took:
    - wrote image to SD
    - renamed & modified wpa_supplicant.conf according to https://www.picoreplayer.org/how_to_...ethernet.shtml
    - resized FS
    - selected BT audio output
    - under 'Card Control', downloaded BT related files

    Rebooted every time when needed but BT controller remained off.

    Am I missing something?
    pCP v5.0.0 on all players
    LMS 7.9.3 on Debian Buster server in a Linux Container, +27k titles on SMB share
    RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite)
    RPi B as dedicated player, connected over wifi with USB dongle
    RPi 2B as dedicated player, connected over powerline
    RPi Zero W as dedicated player
    Squeezer on Android to control

  6. #6
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,052
    Yes, on the wifi page, there is a setting to enable the BT radio.

    It is off by default, and we have it on the wifi page, because that was a trick in the past to make wifi work better.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  7. #7
    Member
    Join Date
    Jun 2017
    Location
    Belgium
    Posts
    97
    Thanks A LOT Paul, that was the problem indeed.
    Even though I did manage before to get the Zero running this way, I got so fixated on BT that I didn't check the WIFI tab again since this was OK.
    pCP v5.0.0 on all players
    LMS 7.9.3 on Debian Buster server in a Linux Container, +27k titles on SMB share
    RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite)
    RPi B as dedicated player, connected over wifi with USB dongle
    RPi 2B as dedicated player, connected over powerline
    RPi Zero W as dedicated player
    Squeezer on Android to control

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •