Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. INTEL NUC Kit NUC8i5BEK Proxmox+Debian VM kein Onboard BT

    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

    INTEL NUC Kit NUC8i5BEK Proxmox+Debian VM kein Onboard BT

    This topic has been deleted. Only users with topic management privileges can see it.
    • unltdnetworx
      unltdnetworx Developer @ltsalvatore last edited by

      @ltsalvatore
      Es darf jeweils nur einer der beiden Adapter laufen.
      Hast du den Befehl aus der BLE-Readme probiert?

      sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
      
      L 1 Reply Last reply Reply Quote 0
      • M
        mikiline last edited by

        es ist meistens dieser hier (oder so ähnlich) der einfach durchgereicht werden muss, ohne grosse commandozeilen 😉
        USB.PNG

        unltdnetworx 1 Reply Last reply Reply Quote 0
        • unltdnetworx
          unltdnetworx Developer @mikiline last edited by

          @mikiline
          Das ist richtig, sofern man nur ein USB-Gerät hat.

          Der Kommandozeilenbefehl (zum Ausführen in der VM) ist aus dem BLE-Adapter und ein Vorschlag, falls man keine Verbindung erhält. Bei mir hat es auch sofort funktioniert ohne ein einziges Kommando in der VM. Im Host wie erwähnt schon, da die Firmware gefehlt hat.

          1 Reply Last reply Reply Quote 0
          • L
            ltsalvatore @unltdnetworx last edited by

            @unltdnetworx sagte in INTEL NUC Kit NUC8i5BEK Proxmox+Debian VM kein Onboard BT:

            @ltsalvatore
            Es darf jeweils nur einer der beiden Adapter laufen.
            Hast du den Befehl aus der BLE-Readme probiert?

            sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
            

            wow.. so schnell wie der adapter auf grün gesprungen ist, konnte ich garnicht schauen 🙂
            vielen lieben dank für die schnelle und professionelle hilfe.
            jetzt kann ich das thema endlich abschließen 😄

            selbst den radar adapter hab ich ans laufen bekommen, nachdem ich die befehle in der readme ausgeführt hatte.
            wie heißt es so schön... RTFM 😛

            also.. danke noch mal.. und einen schönen abend

            PS: eine korrektur muss ich dennoch machen.. auch wenn ich davon ausgehe, dass du das selbst auch schon weist..
            es können auch beide adapter parallel laufen, solange diese unterschiedliche BT hardware ansprechen.

            1 Reply Last reply Reply Quote 0
            • S
              Superdad last edited by Superdad

              Jetzt muss ich auch um Hilfe bitten.

              Bin mit meinem System auf einen Intel NUC NUC8i5BEH umgezogen.
              Der hat ein BT OnBoard.
              Jetzt versuche ich schon seit zwei Tagen den BT-Adapter durchzureichen.

              Installiert ist ein Proxmox und iOBroker in einer VM.

              Versucht habe ich eigentlich schon alles was ich hier im Forum und bei Google gefunden habe.

              Im PVE Shell bekomme ich folgendes angezeigt:

              root@pve:~# lsusb -t
              /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
              /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
                  |__ Port 10: Dev 2, If 0, Class=Wireless, Driver=usbfs, 12M
                  |__ Port 10: Dev 2, If 1, Class=Wireless, Driver=usbfs, 12M
              root@pve:~# 
              

              Mit Kitty auf die iOBroker Installation kommt:

              root@iOBrokerNUC:~# lsusb -t
              /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
              /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
              /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
              /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
                  |__ Port 1: Dev 2, If 0, Class=Wireless, Driver=, 12M
                  |__ Port 1: Dev 2, If 1, Class=Wireless, Driver=, 12M
              /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
                  |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
              

              Ist es richtig, dass in Proxmox Bluetooth an sein muss und in iOBroker aus?
              In der VM habe ich unter Hardware USB Gerät (usb0) host=1-10 hinzugefügt.

              Treiber habe ich unter Proxmox eingefügt. So wie mehrmals beschrieben in diversen Forenbeiträgen.

              Was muss ich noch tun?
              Der Ble.Adapter bleibt rot.

              root@pve:~# service bluetooth status
              ● bluetooth.service - Bluetooth service
                 Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                 Active: active (running) since Wed 2019-06-19 13:22:58 CEST; 1min 36s ago
                   Docs: man:bluetoothd(8)
               Main PID: 784 (bluetoothd)
                 Status: "Running"
                  Tasks: 1 (limit: 4915)
                 Memory: 2.2M
                    CPU: 8ms
                 CGroup: /system.slice/bluetooth.service
                         └─784 /usr/lib/bluetooth/bluetoothd
              
              Jun 19 13:22:58 pve systemd[1]: Starting Bluetooth service...
              Jun 19 13:22:58 pve bluetoothd[784]: Bluetooth daemon 5.43
              Jun 19 13:22:58 pve systemd[1]: Started Bluetooth service.
              Jun 19 13:22:58 pve bluetoothd[784]: Starting SDP server
              Jun 19 13:22:58 pve bluetoothd[784]: Bluetooth management interface 1.14 initialized
              Jun 19 13:22:58 pve bluetoothd[784]: Failed to obtain handles for "Service Changed" characteristic
              Jun 19 13:22:58 pve bluetoothd[784]: Sap driver initialization failed.
              Jun 19 13:22:58 pve bluetoothd[784]: sap-server: Operation not permitted (1)
              
              unltdnetworx 1 Reply Last reply Reply Quote 0
              • unltdnetworx
                unltdnetworx Developer @Superdad last edited by

                @Superdad
                auf welchem System läuft die VM? Debian, Ubuntu? Bei mir ging es dann mit Ubuntu sofort. Einfach wie oben beschrieben die Dateien auf die 2 Ordner verteilen und an die VM weiterreichen.

                Bei steht ja beim Treiber in der VM nichts drin, kann also auch nicht auf grün springen. Auch wundert mich der Treiber im Host. Dort steht bei mir "btusb"

                1 Reply Last reply Reply Quote 0
                • S
                  Superdad last edited by

                  Sorry! Debian.

                  unltdnetworx 1 Reply Last reply Reply Quote 0
                  • unltdnetworx
                    unltdnetworx Developer @Superdad last edited by unltdnetworx

                    @Superdad
                    Wie gesagt, bei mir Ubuntu ohne weiteres Zutun sofort lauffähig.

                    Aber es stand auch bei driver=btusb. Ist BT im BIOS aktiviert?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Superdad last edited by

                      Ist aktiviert im BIOS.
                      Habe jetzt nochmal alle raus gelöscht und nur die zwei angegebenen eingefügt.
                      Und einen Reboot ausgeführt.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Superdad last edited by

                        Das kommt:

                        root@pve:~# service bluetooth status
                        ● bluetooth.service - Bluetooth service
                           Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                           Active: active (running) since Wed 2019-06-19 15:32:37 CEST; 3s ago
                             Docs: man:bluetoothd(8)
                         Main PID: 2162 (bluetoothd)
                           Status: "Running"
                            Tasks: 1 (limit: 4915)
                           Memory: 792.0K
                              CPU: 6ms
                           CGroup: /system.slice/bluetooth.service
                                   └─2162 /usr/lib/bluetooth/bluetoothd
                        
                        Jun 19 15:32:37 pve systemd[1]: Starting Bluetooth service...
                        Jun 19 15:32:37 pve bluetoothd[2162]: Bluetooth daemon 5.43
                        Jun 19 15:32:37 pve systemd[1]: Started Bluetooth service.
                        Jun 19 15:32:37 pve bluetoothd[2162]: Starting SDP server
                        Jun 19 15:32:37 pve bluetoothd[2162]: Bluetooth management interface 1.14 initialized
                        

                        Es steht aber bei lsusb -t :

                        root@pve:~# lsusb -t
                        /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
                        /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
                            |__ Port 10: Dev 2, If 0, Class=Wireless, Driver=usbfs, 12M
                            |__ Port 10: Dev 2, If 1, Class=Wireless, Driver=usbfs, 12M
                        
                        unltdnetworx 1 Reply Last reply Reply Quote 0
                        • unltdnetworx
                          unltdnetworx Developer @Superdad last edited by

                          @Superdad
                          Funktioniert ein Scan auf dem Host?

                          hcitool -i hci0 scan
                          
                          1 Reply Last reply Reply Quote 0
                          • S
                            Superdad last edited by

                            Da kommt Invalid device: No such device.

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              ltsalvatore @Superdad last edited by

                              @Superdad sagte in INTEL NUC Kit NUC8i5BEK Proxmox+Debian VM kein Onboard BT:

                              Da kommt Invalid device: No such device.

                              dann ist der bt adapter vom nuc noch nicht richtig durchgereicht an die VM

                              unltdnetworx 1 Reply Last reply Reply Quote 0
                              • S
                                Superdad last edited by

                                Kannst du mir erklären wie man das macht mit dem durchreichen?
                                Habe von Linux fast keine Ahnung.

                                1 Reply Last reply Reply Quote 0
                                • unltdnetworx
                                  unltdnetworx Developer @ltsalvatore last edited by

                                  @ltsalvatore
                                  Ich denke, dass es noch nicht mal richtig auf dem Host läuft. Daher auch kein Device.

                                  Welche Treiber hast du denn wohin kopiert?

                                  1 Reply Last reply Reply Quote 0
                                  • unltdnetworx
                                    unltdnetworx Developer last edited by

                                    hciconfig -a
                                    

                                    Ergibt vermutlich kein Gerät auf dem Proxmox

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      ltsalvatore @unltdnetworx last edited by

                                      @unltdnetworx sagte in INTEL NUC Kit NUC8i5BEK Proxmox+Debian VM kein Onboard BT:

                                      hciconfig -a
                                      

                                      Ergibt vermutlich kein Gerät auf dem Proxmox

                                      was aber auch bei einem korrekt durchgeschliffenen BT an einem VM der fall wäre.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Superdad last edited by

                                        Ich hatte unter der PVE Bluez installiert.
                                        Dann die iwlwifi Dateien unter /lib/firmware kopiert.
                                        Dann in Proxmox Reboot.
                                        Habe ja zwei Adressen.
                                        Einmal 192.168.1.132 fürs pve.
                                        Und 192.168.1.136 für iobroker.

                                        Unter iobroker gibt es ja kein /lib/firmware

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Superdad last edited by

                                          Habe ich auf einer andern Seite gefunden.
                                          Und mal ausgeführt.
                                          Vielleicht könnt ihr damit was anfangen?

                                          root@pve:~# dmesg |grep iwlwifi
                                          [    4.537177] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
                                          [    4.547087] iwlwifi 0000:00:14.3: loaded firmware version 34.0.0 op_mode iwlmvm
                                          [    4.567216] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
                                          [    4.620137] iwlwifi 0000:00:14.3: base HW address: d8:f2:ca:31:d5:26
                                          [    4.689043] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • L
                                            ltsalvatore last edited by

                                            nebenbei gefragt..
                                            welche debian version hast du drauf..
                                            ich habe die erfahrung gemacht, dass es erst ab der 4.19 läuft.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            483
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            189
                                            17447
                                            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