Linux开机进入省电模式,如何将HDMI显示器置于省电模式(或退出省电模式)?

您可以打开和关闭HDMI本身。

HDMI开启:

/opt/vc/bin/tvservice -p

HDMI关闭:

/opt/vc/bin/tvservice -o

有关tvservice二进制的更多详细信息:

# dpkg -S /opt/vc/bin/tvservice

libraspberrypi-bin: /opt/vc/bin/tvservice

# dpkg -s libraspberrypi-bin

Package: libraspberrypi-bin

Maintainer: Serge Schneider

Description: Miscellaneous Raspberry Pi utilities

This package contains various utilities for interacting with the Raspberry

Pi's VideoCore IV.

Homepage: https://github.com/raspberrypi/firmware

# /opt/vc/bin/tvservice

Usage: tvservice [OPTION]...

-p, --preferred Power on HDMI with preferred settings

-e, --explicit="GROUP MODE DRIVE" Power on HDMI with explicit GROUP (CEA, DMT, CEA_3D_SBS, CEA_3D_TB, CEA_3D_FP, CEA_3D_FS)

MODE (see --modes) and DRIVE (HDMI, DVI)

-t, --ntsc Use NTSC frequency for HDMI mode (e.g. 59.94Hz rather than 60Hz)

-c, --sdtvon="MODE ASPECT [P]" Power on SDTV with MODE (PAL or NTSC) and ASPECT (4:3 14:9 or 16:9) Add P for progressive

-o, --off Power off the display

-m, --modes=GROUP Get supported modes for GROUP (CEA, DMT)

-M, --monitor Monitor HDMI events

-s, --status Get HDMI status

-a, --audio Get supported audio information

-d, --dumpedid Dump EDID information to file

-j, --json Use JSON format for --modes output

-n, --name Print the device ID from EDID

-h, --help Print this information

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值