1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-03 20:54:11 +02:00
tldr/pages/linux/cec-client.md

30 lines
539 B
Markdown
Raw Normal View History

2025-08-28 02:54:02 +03:00
# cec-client
> Manage serial bus CEC connections.
> See also: `cec-ctl`.
> More information: <https://manned.org/man/cec-client>.
- List all CEC adapters:
`cec-client {{[-l|--list-devices]}}`
- Start an interactive CEC session:
`sudo cec-client`
- Set the On-Screen Display name:
`sudo cec-client {{[-o|--osd-name]}} {{name}}`
- Send a single command:
`echo {{on 0}} | sudo cec-client {{[-s|--single-command]}}`
- Set a device to standby in interactive mode:
`standby {{0}}`
- Turn a device on in interactive mode:
`on {{0}}`