«No default controller available» en una Pi 3 antigua con Stretch, necesario para las etiquetas BLE de la cámara fría
Traducido del English por IA ·
Somos una planta farmacéutica, así que me veo limitado a lo validado: una Pi 3B con una imagen de Raspbian Stretch que nuestro grupo de validación aprobó hace años. Actualizar el sistema operativo implica revalidar, lo que supone meses.Nuevo requisito: leer ocho etiquetas BLE de temperatura en una cámara fría y reenviarlas a Hermetry. La misma Pi ya lee un enfriador por Modbus RTU en el puerto serie. Simplemente no hay Bluetooth:
$ bluetoothctl
No default controller available
$ hciconfig
$ dmesg | grep -i blue
[ 6.112] Bluetooth: Core ver 2.22
[ 6.118] Bluetooth: HCI device and connection manager initialized
No hay hci0. ¿Me falta algún paquete o es un fallo de hardware?
Pharma site, so I’m stuck with what’s validated: a Pi 3B running a Raspbian Stretch image our validation group signed off years ago. Upgrading the OS means re-validation, which means months.
New requirement: read eight BLE temperature tags in a cold room and forward them to Hermetry. Same Pi already reads a chiller over Modbus RTU on the serial header. Bluetooth simply isn’t there:
$ bluetoothctl
No default controller available
$ hciconfig
$ dmesg | grep -i blue
[ 6.112] Bluetooth: Core ver 2.22
[ 6.118] Bluetooth: HCI device and connection manager initialized
No hci0 at all. Am I missing a package or is this a hardware fault?
Traducido del English por IA ·
¿Has probado a apagar por completo la alimentación, no solo reiniciar? A mi Pi le funcionó una vez.
Have you tried a full power off, not just reboot? Fixed my Pi once.
Traducido del English por IA ·
¿Está instalado pi-bluetooth? Algunas imágenes mínimas no lo incluyen.
Is pi-bluetooth installed? Some minimal images leave it out.
Traducido del English por IA ·
Reinicié la alimentación, sí. pi-bluetooth está instalado. systemctl status hciuart indica failed, «Failed to start Configure Bluetooth Modems connected by UART».
Power cycled, yes. pi-bluetooth is installed. systemctl status hciuart says failed, «Failed to start Configure Bluetooth Modems connected by UART».
Traducido del English por IA ·
hciuart falla en una Pi 3 que también usa Modbus en el puerto serie: apostaría a que quien configuró el Modbus puso dtoverlay=pi3-disable-bt en /boot/config.txt para tener la UART buena en GPIO14/15. Ese overlay desactiva por completo el chip BT, así que hciuart no tiene con qué comunicarse.Puede tener ambos. En Stretch use el otro overlay, que da al BT la mini UART y mantiene la PL011 en el conector:
# /boot/config.txt
#dtoverlay=pi3-disable-bt
dtoverlay=pi3-miniuart-bt
core_freq=250
core_freq=250 mantiene estable el reloj de la mini UART; sin él, el BT da fallos. Asegúrese también de que console=serial0,115200 no esté en cmdline.txt. Reinicie, luego ejecute sudo systemctl restart hciuart y hciconfig debería mostrar hci0.Su lado de Modbus sigue usando /dev/ttyAMA0, así que el código del chiller no debería notar el cambio.
hciuart failing on a Pi 3 that also does Modbus on the serial header: I’d bet whoever set up the Modbus put dtoverlay=pi3-disable-bt in /boot/config.txt to get the good UART on GPIO14/15. That overlay switches the BT chip off completely, so hciuart has nothing to talk to.
You can have both. On Stretch use the other overlay, which gives BT the mini UART and keeps the PL011 on the header:
# /boot/config.txt
#dtoverlay=pi3-disable-bt
dtoverlay=pi3-miniuart-bt
core_freq=250
core_freq=250 keeps the mini UART’s clock stable, BT gets flaky without it. Also make sure console=serial0,115200 is not in cmdline.txt. Reboot, then sudo systemctl restart hciuart and hciconfig should show hci0.
Your Modbus side keeps /dev/ttyAMA0, so the chiller code shouldn’t notice.
Traducido del English por IA ·
Exactamente eso: pi3-disable-bt estaba ahí con un comentario «for chiller» de 2019. Lo cambié por pi3-miniuart-bt + core_freq=250, hci0 está activo, las ocho etiquetas aparecen en un escaneo y el sondeo del enfriador no perdió ni un ciclo. Solo es un cambio de configuración, así que la validación lo trata como un cambio menor.
Exactly that, pi3-disable-bt was there with a comment «for chiller» from 2019. Swapped to pi3-miniuart-bt + core_freq=250, hci0 is up, all eight tags show in a scan and the chiller polling didn’t miss a beat. Config change only, so validation treats it as a minor change.
- Debes estar registrado para responder a este debate.
Únete a la conversación
Inicia sesión para preguntar y responder, dar me gusta a las publicaciones útiles y marcar la respuesta que resolvió tu problema. Cada aportación suma puntos y niveles.

