LINUX.ORG.RU

Raspberry Pi: после выключения монитора уходит в сон

 , ,


0

2

Приветствую. Ситуация следующая: Raspberry Pi3 B, Ubuntu 22.04, Sway (своя сборка). Сама малинка подключена к телевизору. Все работает прекрасно, но если выключить телек и снова включить, то малина уходит в сон, и при этом ещё и запускается swaylock. Однако и без него срабатывает сон. В конфиге Sway нет каких-то специфичных настроек видеовыхода, все дефолтное. При этом в Raspberry Pi OS такого не наблюдается, выключаешь и включаешь монитор - система остается в прежнем состоянии. Подскажите пожалуйста, куда копать? Может какой-то режим энергосбережения срабатывает? На всякий случай прикладываю системные конфиги малины:

config.txt

[all]
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

[pi4]
max_framebuffers=2
arm_boost=1

[all]
# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear *before* any
# other dtoverlay= specification
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on

# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1

# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
hdmi_drive=2

[cm4]
# Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
# such a board)
dtoverlay=dwc2,dr_mode=host

[all]
# Enable the KMS ("full" KMS) graphics overlay, leaving GPU memory as the
# default (the kernel is in control of graphics memory with full KMS)
dtoverlay=vc4-kms-v3d

# Autoload overlays for any recognized cameras or displays that are attached
# to the CSI/DSI ports. Please note this is for libcamera support, *not* for
# the legacy camera stack
camera_auto_detect=1
display_auto_detect=1

# Config settings specific to arm64
arm_64bit=1
dtoverlay=dwc2"

cmdline.txt

zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=lz4 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash 

Использую Raspberry Pi OS, монитором служит старый ЭЛТ-телевизор Philips. Ни с чем подобным не сталкиваюсь. Этим комментарием надеюсь поднять тему в трекере, чтобы тебе помог кто-нибудь грамотный.

sudo bump
Vidrele ★★
()