Yapay zekâ tarafından English dilinden çevrildi ·
“Fiş yazıcıyla aynı SD kart” ipucu niteliğinde. /boot/firmware/config.txt dosyasını (Bookworm’da /boot yerine buraya taşındı) dtoverlay=disable-bt satırı için kontrol edin. Entegratörümüz bunu bir hat ağ geçidindeki RS-485 kartı için eklemişti; altı ay sonra biri aynı Pi’ye bir barkod okuyucuyu eşleştirmeye bir gün harcadı.Pi 4’te Bluetooth çipi iyi UART’a bağlıdır. disable-bt bu UART’ı GPIO pinlerine verir ve Bluetooth tamamen kaybolur; bu da rfkill çıktınızla uyuşuyor. Satırı yorum satırı yapın, ardından:
sudo systemctl enable --now hciuart
sudo reboot
# yeniden başlatmadan sonra
rfkill list # hci0: Bluetooth göstermeli
bluetoothctl show
Pi 4’te hem donanım UART’ına hem de Bluetooth’a ihtiyacınız varsa, dtoverlay=miniuart-bt Bluetooth’u mini UART üzerinde tutar; ya da Pi 4’te bulunan ek UART’lardan (uart2 ila uart5) birini kullanın.
“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.

