When I use CEC-Client to send the active source command to switch the TV input to a particular source, nothing happens. What am I doing wrong?
I have a Raspberry Pi 4 running Raspbian plugged into a Vizio TV. I've installed cec-client (via cec-utils), and I'm running commands using it from within Bash on the Raspberry Pi.
Here is the scan of the CEC bus of my setup:
CEC bus information =================== device #0: TV address: 0.0.0.0 active source: no vendor: Unknown osd string: TV CEC version: 1.3a power status: on language: eng device #1: Recorder 1 address: 220.127.116.11 active source: yes vendor: Pulse Eight osd string: CECTester CEC version: 1.4 power status: on language: eng device #4: Playback 1 address: 18.104.22.168 active source: no vendor: Unknown osd string: Roku CEC version: 1.4 power status: on language: ??? currently active source: Recorder 1 (1)
What I have tried:
A lot of things.
tx 1f 82 10 00
- (a bunch of stuff with wrong addresses)
- reading the HDMI specification regarding active source messages on CEC
I know that the TV supports it, because the device that I am trying to switch to (a Roku) uses CEC to switch inputs to itself when I start using its remote. Watching CEC-Client when it does this, it sends
4f:82:10:00to declare itself as the active source, which is exactly what I've tried except with itself as the initiator (which I've also tried just in case).
To make sure that the
txcommand was working, I used it to successfully send the TV into standby.
asto set the Pi as the active source works fine, but the corresponding tx command,
tx 1f:82:40:00, does nothing (even though the output of CEC-Client shows it using the exact same message).
I have only listed the CEC-Client commands above, but I have tried them all both directly in the CEC-Client's interactive prompt and by echoing it into cec-client (i.e.
echo "tx 1F:82:10:00" | cec-client RPI -s -d 1).
Where I'm At
Any help/feedback would be greatly appreciated! I'm at my wits' end, and can't think of anything else to try that I haven't already.
This is a cross post of this, but it's not getting much attention over there, and I thought this might be a Raspberry Pi specific problem. Let me know if I should delete it or something; I'm still pretty new to posting on the StackExchange network. On that note, any feedback on my question is welcome!