RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Bluetooth rpi4 dead after update/upgrade

    Scheduled Pinned Locked Moved Help and Support
    rpi4bluetooth
    16 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rogeriolR
      rogeriol @mitu
      last edited by

      @mitu no, I even try to enable it and the service fails with "service bluetooth start" resulting in the skipped message.

      The return from rfkill list:

      0: phy0: wireless LAN
      Soft blocked: no
      Hard blocked: no

      And only that.

      Tks

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        What does systemctl status hciuart says ?
        The Bluetooth phy is not showing up in the rfkill listing, so it looks like the Bluetooth is not enabled.

        rogeriolR 1 Reply Last reply Reply Quote 0
        • rogeriolR
          rogeriol @mitu
          last edited by

          @mitu said in Bluetooth rpi4 dead after update/upgrade:

          What does systemctl status hciuart says ?
          The Bluetooth phy is not showing up in the rfkill listing, so it looks like the Bluetooth is not enabled.

          yes, it says failed to start configure Bluetooth modems connected by UART

          Code=exited, status=1/FAILURE

          Process: 405 ExecStart=/usr/bin/btuart

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            Can you post the entire output from the systemctl command ?

            rogeriolR 1 Reply Last reply Reply Quote 0
            • rogeriolR
              rogeriol @mitu
              last edited by BuZz

              @mitu here it is:

                UNIT                                                                                              LOAD   ACTIVE SUB       DESCRIPTION                                                                                
                proc-sys-fs-binfmt_misc.automount                                                                 loaded active waiting   Arbitrary Executable File Formats File System Automount Point                              
                sys-devices-platform-emmc2bus-fe340000.mmc-mmc_host-mmc0-mmc0:aaaa-block-mmcblk0-mmcblk0p1.device loaded active plugged   /sys/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p1
                sys-devices-platform-emmc2bus-fe340000.mmc-mmc_host-mmc0-mmc0:aaaa-block-mmcblk0-mmcblk0p2.device loaded active plugged   /sys/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p2
                sys-devices-platform-emmc2bus-fe340000.mmc-mmc_host-mmc0-mmc0:aaaa-block-mmcblk0.device           loaded active plugged   /sys/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0          
                sys-devices-platform-scb-fd580000.ethernet-net-eth0.device                                        loaded active plugged   /sys/devices/platform/scb/fd580000.ethernet/net/eth0                                       
                sys-devices-platform-soc-fe00b840.mailbox-bcm2835_audio-sound-card0.device                        loaded active plugged   /sys/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card0                       
                sys-devices-platform-soc-fe00b840.mailbox-bcm2835_audio-sound-card1.device                        loaded active plugged   /sys/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card1                       
                sys-devices-platform-soc-fe201000.serial-tty-ttyAMA0.device                                       loaded active plugged   /sys/devices/platform/soc/fe201000.serial/tty/ttyAMA0                                      
                sys-devices-platform-soc-fe300000.mmcnr-mmc_host-mmc1-mmc1:0001-mmc1:0001:1-net-wlan0.device      loaded active plugged   /sys/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0     
                sys-devices-virtual-block-ram0.device                                                             loaded active plugged   /sys/devices/virtual/block/ram0                                                            
                sys-devices-virtual-block-ram1.device                                                             loaded active plugged   /sys/devices/virtual/block/ram1                                                            
                sys-devices-virtual-block-ram10.device                                                            loaded active plugged   /sys/devices/virtual/block/ram10                                                           
                sys-devices-virtual-block-ram11.device                                                            loaded active plugged   /sys/devices/virtual/block/ram11                                                           
                sys-devices-virtual-block-ram12.device                                                            loaded active plugged   /sys/devices/virtual/block/ram12                                                           
                sys-devices-virtual-block-ram13.device                                                            loaded active plugged   /sys/devices/virtual/block/ram13                                                           
                sys-devices-virtual-block-ram14.device                                                            loaded active plugged   /sys/devices/virtual/block/ram14                                                           
                sys-devices-virtual-block-ram15.device                                                            loaded active plugged   /sys/devices/virtual/block/ram15                                                           
                sys-devices-virtual-block-ram2.device                                                             loaded active plugged   /sys/devices/virtual/block/ram2                                                            
                sys-devices-virtual-block-ram3.device                                                             loaded active plugged   /sys/devices/virtual/block/ram3                                                            
                sys-devices-virtual-block-ram4.device                                                             loaded active plugged   /sys/devices/virtual/block/ram4                                                            
                sys-devices-virtual-block-ram5.device                                                             loaded active plugged   /sys/devices/virtual/block/ram5                                                            
                sys-devices-virtual-block-ram6.device                                                             loaded active plugged   /sys/devices/virtual/block/ram6                                                            
                sys-devices-virtual-block-ram7.device                                                             loaded active plugged   /sys/devices/virtual/block/ram7                                                            
                sys-devices-virtual-block-ram8.device                                                             loaded active plugged   /sys/devices/virtual/block/ram8                                                            
                sys-devices-virtual-block-ram9.device                                                             loaded active plugged   /sys/devices/virtual/block/ram9                                                            
                sys-devices-virtual-misc-rfkill.device                                                            loaded active plugged   /sys/devices/virtual/misc/rfkill                                                           
                sys-devices-virtual-tty-ttyprintk.device                                                          loaded active plugged   /sys/devices/virtual/tty/ttyprintk                                                         
                sys-module-configfs.device                                                                        loaded active plugged   /sys/module/configfs                                                                       
                sys-subsystem-net-devices-eth0.device                                                             loaded active plugged   /sys/subsystem/net/devices/eth0                                                            
                sys-subsystem-net-devices-wlan0.device                                                            loaded active plugged   /sys/subsystem/net/devices/wlan0                                                           
                -.mount                                                                                           loaded active mounted   /                                                                                          
                boot.mount                                                                                        loaded active mounted   /boot                                                                                      
                dev-mqueue.mount                                                                                  loaded active mounted   POSIX Message Queue File System                                                            
                run-rpc_pipefs.mount                                                                              loaded active mounted   RPC Pipe File System                                                                       
                run-user-1000.mount                                                                               loaded active mounted   /run/user/1000                                                                             
                sys-kernel-config.mount                                                                           loaded active mounted   Kernel Configuration File System                                                           
                sys-kernel-debug.mount                                                                            loaded active mounted   Kernel Debug File System                                                                   
                systemd-ask-password-console.path                                                                 loaded active waiting   Dispatch Password Requests to Console Directory Watch                                      
                systemd-ask-password-wall.path                                                                    loaded active waiting   Forward Password Requests to Wall Directory Watch                                          
                init.scope                                                                                        loaded active running   System and Service Manager                                                                 
                session-1.scope                                                                                   loaded active running   Session 1 of user pi                                                                       
                alsa-restore.service                                                                              loaded active exited    Save/Restore Sound Card State                                                              
                alsa-state.service                                                                                loaded active running   Manage Sound Card State (restore and store)                                                
                asplashscreen.service                                                                             loaded active exited    Show custom splashscreen                                                                   
                avahi-daemon.service                                                                              loaded active running   Avahi mDNS/DNS-SD Stack                                                                    
                console-setup.service                                                                             loaded active exited    Set console font and keymap                                                                
                cron.service                                                                                      loaded active running   Regular background program processing daemon                                               
                dbus.service                                                                                      loaded active running   D-Bus System Message Bus                                                                   
                dhcpcd.service                                                                                    loaded active running   dhcpcd on all interfaces                                                                   
                dphys-swapfile.service                                                                            loaded active exited    dphys-swapfile - set up, mount/unmount, and delete a swap file                             
                fake-hwclock.service                                                                              loaded active exited    Restore / save the current clock                                                           
                getty@tty1.service                                                                                loaded active running   Getty on tty1                                                                              
              ā— hciuart.service                                                                                   loaded failed failed    Configure Bluetooth Modems connected by UART                                               
                ifupdown-pre.service                                                                              loaded active exited    Helper to synchronize boot up for ifupdown                                                 
                keyboard-setup.service                                                                            loaded active exited    Set the console keyboard layout                                                            
                kmod-static-nodes.service                                                                         loaded active exited    Create list of required static device nodes for the current kernel                         
                networking.service                                                                                loaded active exited    Raise network interfaces                                                                   
                nmbd.service                                                                                      loaded active running   Samba NMB Daemon                                                                           
                raspi-config.service                                                                              loaded active exited    LSB: Switch to ondemand cpu governor (unless shift key is pressed)                         
                rc-local.service                                                                                  loaded active exited    /etc/rc.local Compatibility                                                                
                rng-tools.service                                                                                 loaded active running   rng-tools.service                                                                          
                rpi-eeprom-update.service                                                                         loaded active exited    Check for Raspberry Pi EEPROM updates                                                      
                rsyslog.service                                                                                   loaded active running   System Logging Service                                                                     
                serial-getty@ttyAMA0.service                                                                      loaded active running   Serial Getty on ttyAMA0                                                                    
                smbd.service                                                                                      loaded active running   Samba SMB Daemon                                                                           
                systemd-fsck-root.service                                                                         loaded active exited    File System Check on Root Device                                                           
                systemd-fsck@dev-disk-by\x2dpartuuid-608a8bf2\x2d01.service                                       loaded active exited    File System Check on /dev/disk/by-partuuid/608a8bf2-01                                     
                systemd-journal-flush.service                                                                     loaded active exited    Flush Journal to Persistent Storage                                                        
                systemd-journald.service                                                                          loaded active running   Journal Service                                                                            
                systemd-logind.service                                                                            loaded active running   Login Service                                                                              
                systemd-modules-load.service                                                                      loaded active exited    Load Kernel Modules                                                                        
                systemd-random-seed.service                                                                       loaded active exited    Load/Save Random Seed                                                                      
                systemd-remount-fs.service                                                                        loaded active exited    Remount Root and Kernel File Systems                                                       
                systemd-sysctl.service                                                                            loaded active exited    Apply Kernel Variables                                                                     
                systemd-sysusers.service                                                                          loaded active exited    Create System Users                                                                        
                systemd-timesyncd.service                                                                         loaded active running   Network Time Synchronization                                                               
                systemd-tmpfiles-setup-dev.service                                                                loaded active exited    Create Static Device Nodes in /dev                                                         
                systemd-tmpfiles-setup.service                                                                    loaded active exited    Create Volatile Files and Directories                                                      
                systemd-udev-trigger.service                                                                      loaded active exited    udev Coldplug all Devices                                                                  
                systemd-udevd.service                                                                             loaded active running   udev Kernel Device Manager                                                                 
                systemd-update-utmp.service                                                                       loaded active exited    Update UTMP about System Boot/Shutdown                                                     
                systemd-user-sessions.service                                                                     loaded active exited    Permit User Sessions                                                                       
                triggerhappy.service                                                                              loaded active running   triggerhappy global hotkey daemon                                                          
                user-runtime-dir@1000.service                                                                     loaded active exited    User Runtime Directory /run/user/1000                                                      
                user@1000.service                                                                                 loaded active running   User Manager for UID 1000                                                                  
                wpa_supplicant.service                                                                            loaded active running   WPA supplicant                                                                             
                -.slice                                                                                           loaded active active    Root Slice                                                                                 
                system-getty.slice                                                                                loaded active active    system-getty.slice                                                                         
                system-serial\x2dgetty.slice                                                                      loaded active active    system-serial\x2dgetty.slice                                                               
                system-systemd\x2dfsck.slice                                                                      loaded active active    system-systemd\x2dfsck.slice                                                               
                system.slice                                                                                      loaded active active    System Slice                                                                               
                user-1000.slice                                                                                   loaded active active    User Slice of UID 1000                                                                     
                user.slice                                                                                        loaded active active    User and Session Slice                                                                     
                avahi-daemon.socket                                                                               loaded active running   Avahi mDNS/DNS-SD Stack Activation Socket                                                  
                dbus.socket                                                                                       loaded active running   D-Bus System Message Bus Socket                                                            
                syslog.socket                                                                                     loaded active running   Syslog Socket                                                                              
                systemd-fsckd.socket                                                                              loaded active listening fsck to fsckd communication Socket                                                         
                systemd-initctl.socket                                                                            loaded active listening initctl Compatibility Named Pipe                                                           
                systemd-journald-audit.socket                                                                     loaded active running   Journal Audit Socket                                                                       
                systemd-journald-dev-log.socket                                                                   loaded active running   Journal Socket (/dev/log)                                                                  
                systemd-journald.socket                                                                           loaded active running   Journal Socket                                                                             
                systemd-rfkill.socket                                                                             loaded active listening Load/Save RF Kill Switch Status /dev/rfkill Watch                                          
                systemd-udevd-control.socket                                                                      loaded active running   udev Control Socket                                                                        
                systemd-udevd-kernel.socket                                                                       loaded active running   udev Kernel Socket                                                                         
                triggerhappy.socket                                                                               loaded active running   triggerhappy.socket                                                                        
                var-swap.swap                                                                                     loaded active active    /var/swap                                                                                  
                basic.target                                                                                      loaded active active    Basic System                                                                               
                cryptsetup.target                                                                                 loaded active active    Local Encrypted Volumes                                                                    
                getty.target                                                                                      loaded active active    Login Prompts                                                                              
                local-fs-pre.target                                                                               loaded active active    Local File Systems (Pre)                                                                   
                local-fs.target                                                                                   loaded active active    Local File Systems                                                                         
                multi-user.target                                                                                 loaded active active    Multi-User System                                                                          
                network-online.target                                                                             loaded active active    Network is Online                                                                          
                network.target                                                                                    loaded active active    Network                                                                                    
                nfs-client.target                                                                                 loaded active active    NFS client services                                                                        
                paths.target                                                                                      loaded active active    Paths                                                                                      
                remote-fs-pre.target                                                                              loaded active active    Remote File Systems (Pre)                                                                  
                remote-fs.target                                                                                  loaded active active    Remote File Systems                                                                        
                slices.target                                                                                     loaded active active    Slices                                                                                     
                sockets.target                                                                                    loaded active active    Sockets                                                                                    
                sound.target                                                                                      loaded active active    Sound Card                                                                                 
                swap.target                                                                                       loaded active active    Swap                                                                                       
                sysinit.target                                                                                    loaded active active    System Initialization                                                                      
                time-sync.target                                                                                  loaded active active    System Time Synchronized                                                                   
                timers.target                                                                                     loaded active active    Timers                                                                                     
                apt-daily-upgrade.timer                                                                           loaded active waiting   Daily apt upgrade and clean activities                                                     
                apt-daily.timer                                                                                   loaded active waiting   Daily apt download activities                                                              
                logrotate.timer                                                                                   loaded active waiting   Daily rotation of log files                                                                
                man-db.timer                                                                                      loaded active waiting   Daily man-db regeneration                                                                  
                systemd-tmpfiles-clean.timer                                                                      loaded active waiting   Daily Cleanup of Temporary Directories                                                     
              
              LOAD   = Reflects whether the unit definition was properly loaded.
              ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
              SUB    = The low-level unit activation state, values depend on unit type.
              
              130 loaded units listed. Pass --all to see loaded but inactive units, too.
              To show all installed unit files use 'systemctl list-unit-files'.
              
              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                @rogeriol said in Bluetooth rpi4 dead after update/upgrade:

                systemctl status hciuart

                I was referring to the output from the command above.

                rogeriolR 1 Reply Last reply Reply Quote 0
                • rogeriolR
                  rogeriol @mitu
                  last edited by BuZz

                  @mitu oops sorry, text below

                  ā— hciuart.service - Configure Bluetooth Modems connected by UART
                     Loaded: loaded (/lib/systemd/system/hciuart.service; enabled; vendor preset: enabled)
                     Active: failed (Result: exit-code) since Mon 2022-02-21 21:37:41 GMT; 48min ago
                    Process: 423 ExecStart=/usr/bin/btuart (code=exited, status=1/FAILURE)
                  
                  Feb 21 21:37:19 retropie systemd[1]: Starting Configure Bluetooth Modems connected by UART...
                  Feb 21 21:37:41 retropie btuart[423]: Failed to reset chip, invalid HCI event
                  Feb 21 21:37:41 retropie btuart[423]: Can't initialize device: Success
                  Feb 21 21:37:41 retropie btuart[423]: bcm43xx_init
                  Feb 21 21:37:41 retropie systemd[1]: hciuart.service: Control process exited, code=exited, status=1/FAILURE
                  Feb 21 21:37:41 retropie systemd[1]: hciuart.service: Failed with result 'exit-code'.
                  Feb 21 21:37:41 retropie systemd[1]: Failed to start Configure Bluetooth Modems connected by UART.
                  
                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by mitu

                    I don't see any other reports (here or in the RPI forums) about a Bluetooth issue. I don't think the Bluetooth related packages have any issues, they haven't been updated in a long time.
                    Can you post your /boot/config.txt ?

                    rogeriolR 2 Replies Last reply Reply Quote 0
                    • rogeriolR
                      rogeriol @mitu
                      last edited by BuZz

                      hi @mitu , config.txt below

                      # For more options and information see
                      # http://rpf.io/configtxt
                      # Some settings may impact device functionality. See link above for details
                      
                      # uncomment if you get no picture on HDMI for a default "safe" mode
                      #hdmi_safe=1
                      
                      # uncomment this if your display has a black border of unused pixels visible
                      # and your display can output without overscan
                      #disable_overscan=1
                      
                      # uncomment the following to adjust overscan. Use positive numbers if console
                      # goes off screen, and negative if there is too much border
                      #overscan_left=16
                      #overscan_right=16
                      #overscan_top=16
                      #overscan_bottom=16
                      
                      # uncomment to force a console size. By default it will be display's size minus
                      # overscan.
                      #framebuffer_width=1280
                      #framebuffer_height=720
                      
                      # uncomment if hdmi display is not detected and composite is being output
                      hdmi_force_hotplug=1
                      
                      # uncomment to force a specific HDMI mode (this will force VGA)
                      hdmi_group=1
                      hdmi_mode=16
                      
                      # uncomment to force a HDMI mode rather than DVI. This can make audio work in
                      # DMT (computer monitor) modes
                      hdmi_drive=2
                      
                      # uncomment to increase signal to HDMI, if you have interference, blanking, or
                      # no display
                      #config_hdmi_boost=4
                      
                      # uncomment for composite PAL
                      #sdtv_mode=2
                      
                      #uncomment to overclock the arm. 700 MHz is the default.
                      #arm_freq=800
                      
                      # Uncomment some or all of these to enable the optional hardware interfaces
                      #dtparam=i2c_arm=on
                      #dtparam=i2s=on
                      #dtparam=spi=on
                      
                      # Uncomment this to enable infrared communication.
                      #dtoverlay=gpio-ir,gpio_pin=17
                      #dtoverlay=gpio-ir-tx,gpio_pin=18
                      
                      # Additional overlays and parameters are documented /boot/overlays/README
                      
                      # Enable audio (loads snd_bcm2835)
                      dtparam=audio=on
                      
                      [pi4]
                      # Enable DRM VC4 V3D driver on top of the dispmanx display stack
                      dtoverlay=vc4-fkms-v3d
                      max_framebuffers=2
                      
                      [all]
                      #dtoverlay=vc4-fkms-v3d
                      overscan_scale=1
                      #hdmi_enable_4kp60=1
                      
                      BuZzB 1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators @rogeriol
                        last edited by BuZz

                        @rogeriol Please use an external pastebin service or wrap logs in three backticks ``` (the forum uses markdown - https://www.markdownguide.org/)

                        I edited your posts to fix this

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 1
                        • rogeriolR
                          rogeriol @mitu
                          last edited by

                          @mitu
                          nothing much relevant in config.txt, right?

                          I think I'll give up and create a new image. Should I get the released one or one of the recent builds?

                          Thanks for your help.

                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator
                            last edited by

                            The config.txt is ok, just wanted to check whether BT was inadvertently disabled or some other UART was enabled that may have switched the BT HCI port.

                            Are you using a proper power supply ? Things get wonky with SBCs if the power supply is not providing sufficient power or with a stable voltage/amperage.

                            Can you check if you're using the latest versions for the Bluetooth packages ? Run

                            dpkg -l | grep -e bluetooth -e bluez
                            

                            and post the output.

                            rogeriolR 1 Reply Last reply Reply Quote 0
                            • rogeriolR
                              rogeriol @mitu
                              last edited by

                              @mitu
                              my power supply seems ok, never shown the bolt icon and I even hooked an external HD to copy games with no problems.
                              Just to be sure I booted the RPI4 with a Samsung Fastcharge USBC, but no changes in BT status.

                              Below the result from dpkg command:

                              ii  bluetooth                         5.50-1.2~deb10u2+rpt1               all          Bluetooth support (metapackage)
                              ii  bluez                             5.50-1.2~deb10u2+rpt1               armhf        Bluetooth tools and daemons
                              ii  bluez-firmware                    1.2-4+rpt8                          all          Firmware for Bluetooth devices
                              ii  bluez-tools                       2.0~20170911.0.7cb788c-2            armhf        Set of tools to manage Bluetooth devices for linux
                              ii  pi-bluetooth                      0.1.18                              all          Raspberry Pi 3 bluetooth
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator
                                last edited by

                                Looking at the dpkg output, looks like you have the latest versions for the Bluetooth related packages - so no issue here.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.