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

                            @haselchen Erledigt, hat aber keine spürbare Veränderung bezüglich der bisher versuchten Befehle ergeben.

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

                              @kenny384

                              mach mal nen reboot und dann guck ob der service noch läuft/geladen wurde.

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

                                @kenny384 und nach m reboot mal schauen ob da was ist:
                                als root oder mit sudo davor..

                                ls -la /sys/class/bluetooth/

                                hab aber gerade gelesen, dass es generell probleme gibt, wenn man das image vom älteren Raspi auf den 4er übernimmt, da der 4er das bluetooth anscheinend anders anspricht und man n neues Image nehmen soll..
                                könnte auch Probleme mit dem wlan geben...

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

                                  @haselchen @ilovegym
                                  Nach dem Neustart ist der Bluetooth service wieder "inactive / dead".

                                  pi@ioBroker-RasPi4:~ $ sudo ls -la /sys/class/bluetooth/
                                  ls: Zugriff auf '/sys/class/bluetooth/' nicht möglich: Datei oder Verzeichnis nicht gefunden
                                  

                                  Ja, ich muss mir wohl ehrlich eingestehen, dass es jetzt am sinnvollsten ist das System neu aufzusetzen. Dank backitup-Adapter läuft ja alles schnell wieder.

                                  Danke euch trotzdem!!

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

                                    @kenny384

                                    Probier mal bitte in der Reihenfolge

                                    sudo service bluetooth start

                                    sudo service bluetooth restart

                                    sudo hciconfig hci0 down

                                    sudo hciconfig hci0 up

                                    sudo hcitool lescan

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

                                      @kenny384 der Bluetooth war auch in der Übersicht nicht zu sehen..
                                      ja, wenn sonst nix installiert ist, ausser iobroker, dann ist das in ein paar minuten gemacht..
                                      zieh dir das aktuelle Image für den PI4 von raspberrypi.org

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

                                        @haselchen

                                        pi@ioBroker-RasPi4:~ $ sudo service bluetooth start
                                        pi@ioBroker-RasPi4:~ $ sudo service bluetooth restart
                                        pi@ioBroker-RasPi4:~ $ sudo hciconfig hci0 down
                                        Can't get device info: No such device
                                        pi@ioBroker-RasPi4:~ $ sudo hciconfig hci0 up
                                        Can't get device info: No such device
                                        pi@ioBroker-RasPi4:~ $ sudo hcitool lescan
                                        Could not open device: No such device
                                        
                                        haselchen ? 2 Replies Last reply Reply Quote 0
                                        • haselchen
                                          haselchen Most Active @kenny384 last edited by

                                          @kenny384

                                          Mysteriös, aber dann hilft tatsächlich nur noch @ilovegym Ratschlag.

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

                                            @kenny384 das problem ist wohl, dass beim P4 der Bluetooth driver n anderer ist und mit dem alten Image kennt er da einfach kein Bluetooth. ... müsste sonst ja in den devices mal auftauchen.. tuts aber nicht.

                                            Ist ne Kernel / Zuweisungsgeschichte...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            884
                                            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