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.
    • 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
      • Thomas Braun
        Thomas Braun Most Active @Guest last edited by

        Ich würde nach solchen Stunts einfach das passende OS frisch neuinstallieren. Dann passen auch die Treiber zur Hardware.

        K 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
                                      • K
                                        kenny384 @Guest last edited by

                                        @ilovegym

                                        pi@ioBroker-RasPi4:~ $ sudo hcitool lescan
                                        Could not open device: No such device
                                        
                                        pi@ioBroker-RasPi4:~ $ sudo hcitool scan
                                        Device is not available: No such device
                                        
                                        ? haselchen 2 Replies Last reply Reply Quote 0
                                        • ?
                                          A Former User @kenny384 last edited by

                                          @kenny384

                                          der Service läuft, aber er findet das device nicht.. was sagt denn

                                          sudo lsusb

                                          bei mir sieht das so aus:

                                          [14:06:28][ilovegym@linminty520:~]$ sudo bluetoothctl
                                          [sudo] password for ilovegym: 
                                          [NEW] Controller 00:E1:8C:BB:68:44 linminty520 [default]
                                          [NEW] Device FC:65:DE:B5:D3:86 Echo Show-K82
                                          [NEW] Device 78:44:05:96:53:6A JBL GO
                                          [NEW] Device C4:7C:8D:6A:7D:80 Flower care
                                          [NEW] Device C4:7C:8D:66:1B:E1 Flower care
                                          [bluetooth]# exit
                                          [DEL] Controller 00:E1:8C:BB:68:44 linminty520 [default]
                                          [14:07:24][ilovegym@linminty520:~]$ 
                                          
                                          
                                          
                                          K 1 Reply Last reply Reply Quote 0
                                          • haselchen
                                            haselchen Most Active @kenny384 last edited by

                                            @kenny384

                                            nimm mal den user pi in bluetooth auf

                                            sudo gpasswd -a pi bluetooth

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

                                              @ilovegym

                                              pi@ioBroker-RasPi4:~ $ sudo lsusb
                                              Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                              Bus 001 Device 005: ID 2537:1066  
                                              Bus 001 Device 004: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
                                              Bus 001 Device 003: ID 1cf1:0030 Dresden Elektronik 
                                              Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
                                              Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                              
                                              
                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post

                                              Support us

                                              ioBroker
                                              Community Adapters
                                              Donate

                                              675
                                              Online

                                              31.9k
                                              Users

                                              80.1k
                                              Topics

                                              1.3m
                                              Posts

                                              ble adapter node npm error umzug
                                              6
                                              44
                                              4634
                                              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