Re: A question about cec-ctl use? How to sent raw CEC codes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 6/19/22 23:11, Jibun no Kage . wrote:
> A question about cec-ctl use?  How to sent raw CEC codes?  I want to send via cec-ctl switching from HDMI1 to HDMI2, using cec-client I would just transmit a raw control code, for example...
> 
> For my TV...
> 
> Select HDMI 1...
> 
> /bin/echo 'tx 4F:82:10:00' | /usr/bin/cec-client -s -d 1
> 
> Select HDMI 2...
> 
> /bin/echo 'tx 4F:82:20:00' | /usr/bin/cec-client -s -d 1
> 
> So now I am trying to convert from cec-utils/cec-client to cec-ctl use.  How do I mirror the above functionality?  Can cec-ctl be used to send raw CEC commands?  Or some other way to achieve the same result?
> 
> Thanks,
> 
> -JnK
> 

cec-ctl -d /dev/cecX --active-source phys-addr=1.0.0.0

See also: cec-ctl --help-one-touch-play

Since cec-ctl supports all known CEC commands, you generally do not use
raw CEC codes. You can with --custom-command, but that's almost never used.

Regards.

	Hans



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux