Traducido del English por IA ·
«La misma tarjeta SD que la impresora de recibos» es la pista. Revisa /boot/firmware/config.txt (en Bookworm se movió desde /boot) buscando dtoverlay=disable-bt. Nuestro integrador lo puso para un hat RS-485 en una pasarela de línea y seis meses después alguien pasó un día intentando emparejar un escáner con la misma Pi.En la Pi 4, el chip Bluetooth está conectado a la UART buena. disable-bt cede esa UART a los pines GPIO y el Bluetooth desaparece por completo, lo que coincide con tu salida de rfkill. Comenta la línea y luego:
sudo systemctl enable --now hciuart
sudo reboot
# tras reiniciar
rfkill list # debería mostrar hci0: Bluetooth
bluetoothctl show
Si necesitas a la vez una UART de hardware y Bluetooth en la Pi 4, dtoverlay=miniuart-bt mantiene el Bluetooth en la mini UART, o usa una de las UART adicionales (uart2 a uart5) que tiene la Pi 4.
«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.

