Re: [PATCH] adv7604: add CEC support for adv7611/adv7612

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

 



On 10/15/2018 05:15 PM, Niklas Söderlund wrote:
> Hi Hans,
> 
> Thanks for your patch.
> 
> On 2018-10-12 13:30:02 +0200, Hans Verkuil wrote:
>> The CEC IP is very similar between the three HDMI receivers, but
>> not identical. Add support for all three variants.
>>
>> Tested with an adv7604 and an adv7612.
>>
>> Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
> 
> This fixes CEC on my Koelsch board using the adv7604.
> 
> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
> 
> Side note do you know of a way to simulate a cycling of the physical HDMI 
> cable? My current test-case for CEC is:
> 
>     v4l2-ctl -d $(grep -l "adv7612" /sys/class/video4linux/*/name | sed 's#.*video4linux\(.*\)/name#/dev\1#g') --set-edid=type=hdmi
>     cec-ctl -d 0 --playback
>     cec-ctl -d 1 --tv
>     # Here I need to attach or if it already is connected disconnect and 
>     # reconnect the HDMI cable
>     cec-ctl -d 0 -S
>     cec-ctl -d 1 -S
> 
> If that step could be done in software I can add this test to my 
> automatic test scripts which would be nice.

You can clear the EDID of the receiver: v4l2-ctl --clear-edid

This will invalidate the physical address and pull the HPD low.

Note: you'll need this recent patch: "adv7604: when the EDID is cleared, unconfigure CEC as well"

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