Hello,
I am using a Raspberry Pi Zero 2.
To reduce power consumption, I disabled both Wi-Fi and Bluetooth by adding the following lines to the /boot/firmware/config.txt file:
dtoverlay=disable-wifi
dtoverlay=disable-bt
After rebooting with these settings, I found that communication via /dev/ttyS0 (UART) was not functioning correctly.
I have a GPS module connected to the UART, and it failed to receive the NMEA messages sent by the GPS module, even though the /dev/ttyS0 device file exists.
After multiple tests, I confirmed that disabling Wi-Fi does not cause any issues, but disabling Bluetooth prevents UART communication from working properly.
How can I disable Bluetooth while still maintaining proper UART communication?
What should I check first to troubleshoot this issue?
My Linux kernel version is 6.1, and below is the complete content of my /boot/firmware/config.txt file:
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Additional overlays and parameters are documented
# /boot/firmware/overlays/README
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Automatically load initramfs files, if found
auto_initramfs=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Run in 64-bit mode
arm_64bit=1
# Disable compensation for displays with overscan
disable_overscan=1
# Run as fast as firmware / board allows
arm_boost=1
# Enable SPI /wo any CS pin
dtoverlay=spi0-1cs
# Enable PPS on GPIO pin 4
dtoverlay=pps-gpio,gpiopin=4
# Disable Wifi and Bluetooth
dtoverlay=disable-wifi
dtoverlay=disable-bt
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
enable_uart=1
I am using a Raspberry Pi Zero 2.
To reduce power consumption, I disabled both Wi-Fi and Bluetooth by adding the following lines to the /boot/firmware/config.txt file:
dtoverlay=disable-wifi
dtoverlay=disable-bt
After rebooting with these settings, I found that communication via /dev/ttyS0 (UART) was not functioning correctly.
I have a GPS module connected to the UART, and it failed to receive the NMEA messages sent by the GPS module, even though the /dev/ttyS0 device file exists.
After multiple tests, I confirmed that disabling Wi-Fi does not cause any issues, but disabling Bluetooth prevents UART communication from working properly.
How can I disable Bluetooth while still maintaining proper UART communication?
What should I check first to troubleshoot this issue?
My Linux kernel version is 6.1, and below is the complete content of my /boot/firmware/config.txt file:
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Additional overlays and parameters are documented
# /boot/firmware/overlays/README
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Automatically load initramfs files, if found
auto_initramfs=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Run in 64-bit mode
arm_64bit=1
# Disable compensation for displays with overscan
disable_overscan=1
# Run as fast as firmware / board allows
arm_boost=1
# Enable SPI /wo any CS pin
dtoverlay=spi0-1cs
# Enable PPS on GPIO pin 4
dtoverlay=pps-gpio,gpiopin=4
# Disable Wifi and Bluetooth
dtoverlay=disable-wifi
dtoverlay=disable-bt
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
enable_uart=1
Statistics: Posted by yckim — Wed Dec 18, 2024 1:40 pm — Replies 1 — Views 21