NEWS
SOLVED BLE-Adapter startet nicht mehr
-
@ilovegym wollte ich auch gerade schreiben.
Und nach den Befehlen, System neu starten -
Ich würde nach solchen Stunts einfach das passende OS frisch neuinstallieren. Dann passen auch die Treiber zur Hardware.
-
@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
-
@kenny384 sagte in BLE-Adapter startet nicht mehr:
dtoverlay=pi3-miniuart-bt-overlay
dtoverlay=miniuart-bt .... sollte das jetzt sein, mWn
-
@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.
-
@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 -
@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.
-
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
-
-
@kenny384
neue SD-Karte, und nochmal von Anfang an.. irgendwo ist da was geschossen.. normal ist bluetooth kein Thema und auch nicht deaktiviert. -
@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
-
@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.
-
-
@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 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
-
Der BLE Adapter startet allerdings weiterhin nicht mit der selben Fehlermeldung wie bisher (siehe oben)
-
-
@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..)
-
pi@ioBroker-RasPi4:~ $ sudo bluetoothctl Agent registered [bluetooth]#
-
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