Von English mit KI übersetzt ·
„Gleiche SD-Karte wie der Belegdrucker“ ist der Hinweis. Prüfe /boot/firmware/config.txt (unter Bookworm wurde sie von /boot dorthin verschoben) auf dtoverlay=disable-bt. Unser Integrator hat das für einen RS-485-Hat an einem Linien-Gateway eingetragen, und sechs Monate später hat jemand einen Tag damit verbracht, einen Scanner mit demselben Pi zu koppeln.Beim Pi 4 hängt der Bluetooth-Chip am guten UART. disable-bt gibt dieses UART an die GPIO-Pins ab, und Bluetooth verschwindet vollständig, was zu deiner rfkill-Ausgabe passt. Zeile auskommentieren, dann:
sudo systemctl enable --now hciuart
sudo reboot
# nach dem Neustart
rfkill list # sollte hci0: Bluetooth zeigen
bluetoothctl show
Wenn du sowohl ein Hardware-UART als auch Bluetooth am Pi 4 brauchst, hält dtoverlay=miniuart-bt Bluetooth auf dem Mini-UART, oder du nutzt eines der zusätzlichen UARTs (uart2 bis uart5), die der Pi 4 hat.
„Same SD card as the receipt printer“ is the clue. Check /boot/firmware/config.txt (on Bookworm it moved from /boot) for dtoverlay=disable-bt. Our integrator put that in for an RS-485 hat on a line gateway and six months later someone spent a day trying to pair a scanner to the same Pi.
On the Pi 4 the Bluetooth chip hangs off the good UART. disable-bt gives that UART to the GPIO pins and Bluetooth disappears completely, which matches your rfkill output. Comment the line out, then:
sudo systemctl enable --now hciuart
sudo reboot
# after reboot
rfkill list # should show hci0: Bluetooth
bluetoothctl show
If you need both a hardware UART and Bluetooth on the Pi 4, dtoverlay=miniuart-bt keeps Bluetooth on the mini UART, or use one of the extra UARTs (uart2 to uart5) the Pi 4 has.

