Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. BLE-Adapter startet nicht mehr

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED BLE-Adapter startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @kenny384 last edited by

      @kenny384 hmm vielleicht in der config bluetooth deaktiviert?
      in der /boot/config.text schauen ob bluetooth disabled ist..

      crunchip K 2 Replies Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Guest last edited by

        @ilovegym wollte ich auch gerade schreiben.
        Und nach den Befehlen, System neu starten

        1 Reply Last reply Reply Quote 0
        • K
          kenny384 @Guest last edited by kenny384

          @ilovegym Finde keine Einstellung die BT disabled haben könnte. Oder übersehe ich etwas? Die allerletzte Zeile finde ich aber interessant. Ist das richtig so? Habe einen Pi4.

          #hdmi_mode=1
          
          # 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 the lirc-rpi module
          #dtoverlay=lirc-rpi
          
          # Additional overlays and parameters are documented /boot/overlays/README
          
          # Enable audio (loads snd_bcm2835)
          dtparam=audio=on
          enable_uart=1
          
          [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
          dtoverlay=pi3-miniuart-bt-overlay
          
          
          harrym 1 Reply Last reply Reply Quote 0
          • harrym
            harrym @kenny384 last edited by

            @kenny384 sagte in BLE-Adapter startet nicht mehr:

            dtoverlay=pi3-miniuart-bt-overlay

            dtoverlay=miniuart-bt .... sollte das jetzt sein, mWn

            K 1 Reply Last reply Reply Quote 0
            • K
              kenny384 @harrym last edited by

              @harrym Habe ich testweise mal ganz unten drunter gesetzt und die Zeile darüber auskommentiert. Neustart --> Leider keine Veränderung

              Ich habe noch folgenden Befehl im Netz gefunden und mal ausgeführt:

              pi@ioBroker-RasPi4:~ $ systemctl status hciuart.service
              ● 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 Wed 2020-06-24 16:25:35 CEST; 10min ago
                Process: 365 ExecStart=/usr/bin/btuart (code=exited, status=1/FAILURE)
              
              Jun 24 16:25:05 ioBroker-RasPi4 systemd[1]: Starting Configure Bluetooth Modems connected by UART...
              Jun 24 16:25:35 ioBroker-RasPi4 btuart[365]: Initialization timed out.
              Jun 24 16:25:35 ioBroker-RasPi4 btuart[365]: bcm43xx_init
              Jun 24 16:25:35 ioBroker-RasPi4 systemd[1]: hciuart.service: Control process exited, code=exited, status=1/FAILURE
              Jun 24 16:25:35 ioBroker-RasPi4 systemd[1]: hciuart.service: Failed with result 'exit-code'.
              Jun 24 16:25:35 ioBroker-RasPi4 systemd[1]: Failed to start Configure Bluetooth Modems connected by UART.
              
              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @kenny384 last edited by

                @kenny384 Ei jo, wenn du dein bluetooth device verschiebst, dann isses nicht mehr, wo es sein soll 🙂

                schau mal hier
                https://forum.homegear.eu/t/bluetooth-ohne-funktion-nach-dtoverlaypi3-miniuart-bt/2013/7

                K 1 Reply Last reply Reply Quote 0
                • K
                  kenny384 @Guest last edited by

                  @ilovegym Puuh, das bekomme ich irgendwie nicht hin. Ich habe die config.txt jetzt so (Auszug), aber das hat nichts verändert:

                  # Additional overlays and parameters are documented /boot/overlays/README
                  
                  # Enable audio (loads snd_bcm2835)
                  dtparam=audio=on
                  enable_uart=1
                  
                  [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
                  dtoverlay=pi3-miniuart-bt
                  core_freq=250
                  
                  

                  Hinter dem dtoverlay=pi3-miniuart-bt stand vorher noch -overlay. Das habe ich im Beispiel oben weggenommen, hat aber auch nichts verändert.

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kenny384 @kenny384 last edited by

                    Die in dem verlinkten Thread beschriebene hciuart.service sieht bei mir so aus:

                    
                    [Unit]
                    Description=Configure Bluetooth Modems connected by UART
                    ConditionFileNotEmpty=/proc/device-tree/soc/gpio@7e200000/bt_pins/brcm,pins
                    Requires=dev-serial1.device
                    After=dev-serial1.device
                    
                    [Service]
                    Type=forking
                    ExecStart=/usr/bin/btuart
                    
                    [Install]
                    WantedBy=multi-user.target
                    
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • K
                      kenny384 last edited by

                      Noch jemand eine Idee? @crunchip @harrym @ilovegym ?

                      ? 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @kenny384 last edited by

                        @kenny384
                        neue SD-Karte, und nochmal von Anfang an.. irgendwo ist da was geschossen.. normal ist bluetooth kein Thema und auch nicht deaktiviert.

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kenny384 @Guest last edited by kenny384

                          @ilovegym Okay, muss ich dann wohl tun, wenn ich mal die Zeit habe. Liegt bestimmt daran, dass das System ursprünglich mal auf einem Raspi 3 erstellt wurde, dann auf einen Raspi 4 umgezogen ist und jetzt noch von SD auf SSD. Kennt man ja aus dem echten Leben: Bei jedem Umzug geht irgendwas verloren und/oder kaputt 😉

                          ? haselchen 2 Replies Last reply Reply Quote 0
                          • ?
                            A Former User @kenny384 last edited by

                            @kenny384 ahh okay..

                            oder alles was bluetooth angeht, deinstallieren und noch mal neu.. aber bevor du dir ne bestehende installation müllst.. lieber ne andere Karte rein... und ganz neu frisch aufgesetzt.

                            1 Reply Last reply Reply Quote 0
                            • haselchen
                              haselchen Most Active @kenny384 last edited by

                              @kenny384

                              Ich misch mal mit 🙂
                              Gib mal

                              sudo service bluetooth status

                              ein

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                kenny384 @haselchen last edited by

                                @haselchen sagte in BLE-Adapter startet nicht mehr:

                                sudo service bluetooth status

                                pi@ioBroker-RasPi4:~ $ sudo service bluetooth status
                                ● bluetooth.service - Bluetooth service
                                   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                                   Active: inactive (dead)
                                     Docs: man:bluetoothd(8)
                                
                                Jun 24 16:53:02 ioBroker-RasPi4 systemd[1]: Condition check resulted in Bluetooth service being skipped.
                                
                                haselchen 1 Reply Last reply Reply Quote 0
                                • haselchen
                                  haselchen Most Active @kenny384 last edited by

                                  @kenny384

                                  sudo service bluetooth start

                                  dann nochmal

                                  sudo service bluetooth status

                                  K 1 Reply Last reply Reply Quote 0
                                  • K
                                    kenny384 @haselchen last edited by

                                    @haselchen sagte in BLE-Adapter startet nicht mehr:

                                    sudo service bluetooth start

                                    Oh, das sieht erstmals gar nicht schlecht aus:

                                    pi@ioBroker-RasPi4:~ $ sudo service bluetooth status
                                    ● bluetooth.service - Bluetooth service
                                       Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                                       Active: active (running) since Fri 2020-06-26 14:00:54 CEST; 6s ago
                                         Docs: man:bluetoothd(8)
                                     Main PID: 6514 (bluetoothd)
                                       Status: "Running"
                                        Tasks: 1 (limit: 4915)
                                       Memory: 1.9M
                                       CGroup: /system.slice/bluetooth.service
                                               └─6514 /usr/lib/bluetooth/bluetoothd
                                    
                                    Jun 26 14:00:54 ioBroker-RasPi4 systemd[1]: Starting Bluetooth service...
                                    Jun 26 14:00:54 ioBroker-RasPi4 bluetoothd[6514]: Bluetooth daemon 5.50
                                    Jun 26 14:00:54 ioBroker-RasPi4 systemd[1]: Started Bluetooth service.
                                    Jun 26 14:00:54 ioBroker-RasPi4 bluetoothd[6514]: Starting SDP server
                                    Jun 26 14:00:54 ioBroker-RasPi4 bluetoothd[6514]: Bluetooth management interface 1.14 initialized
                                    
                                    haselchen 1 Reply Last reply Reply Quote 0
                                    • K
                                      kenny384 last edited by

                                      Der BLE Adapter startet allerdings weiterhin nicht mit der selben Fehlermeldung wie bisher (siehe oben)

                                      ? 1 Reply Last reply Reply Quote 0
                                      • haselchen
                                        haselchen Most Active @kenny384 last edited by

                                        @kenny384

                                        was sagt

                                        sudo bluetoothctl

                                        K 1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @kenny384 last edited by

                                          @kenny384 stop den ble-adapter mal, und dann in der konsole erstmal checken was an devices da ist und was gefunden wird..

                                          also ein

                                          sudo hcitool lescan

                                          und ein

                                          sudo hcitool scan

                                          ( letzteres scannt alle Bluetooth devices..)

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            kenny384 @haselchen last edited by

                                            @haselchen

                                            pi@ioBroker-RasPi4:~ $ sudo bluetoothctl
                                            Agent registered
                                            [bluetooth]# 
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            887
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            ble adapter node npm error umzug
                                            6
                                            44
                                            4635
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo