linux-6.18.4-2-rpi: issue with CEC

Problems with packages? Post here, using [tags] of the package name.

linux-6.18.4-2-rpi: issue with CEC

Postby henkv » Wed Jan 21, 2026 2:38 pm

Since kernel 6.18, CEC is not working correctly on my RPI4 and RPI5.
On first boot, my TV does not respond to CEC signals. I have to switch my TV to standby and power it on again to make CEC work.
henkv
 
Posts: 28
Joined: Mon Feb 15, 2021 6:00 pm

Re: linux-6.18.4-2-rpi: issue with CEC

Postby graysky » Wed Jan 21, 2026 5:56 pm

I am unfamiliar with CEC... I do not see any changes to the kernel affecting loss of CEC options on the update. Any clues in logs?
graysky
Developer
 
Posts: 1922
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: linux-6.18.4-2-rpi: issue with CEC

Postby henkv » Thu Jan 22, 2026 10:04 am

I did some more testing and when I explicitly specify the source it also works the first time:
cec-ctl -v -d /dev/cec0 --from 14 --tv --to 0 --image-view-on

This is the output when I try to poweron the TV after a reboot (which fails).

cec-ctl -v -d /dev/cec0 --tv --to 0 --image-view-on
Driver Info:
Driver Name : vc4_hdmi
Adapter Name : vc4-hdmi-0
Capabilities : 0x0000031e
Logical Addresses
Transmit
Passthrough
Remote Control Support
Connector Info
Reply Vendor ID
Driver version : 6.18.4
Available Logical Addresses: 1
DRM Connector Info : card 1, connector 34
Physical Address : f.f.f.f
Logical Address Mask : 0x0000
CEC Version : 2.0
Vendor ID : 0x000c03 (HDMI)
OSD Name : 'TV'
Logical Addresses : 1 (Allow RC Passthrough)

Logical Address : Not Allocated
Primary Device Type : TV
Logical Address Type : TV
All Device Types : TV
RC TV Profile : None
Device Features :
None


Transmit from Unregistered to TV (15 to 0):
IMAGE_VIEW_ON (0x04)
Sequence: 1 Tx Timestamp: 352.802657s
Tx, OK

And this is the output after I have switched the TV on and off manually (which succeeds):
cec-ctl -v -d /dev/cec0 --tv --to 0 --image-view-on
Driver Info:
Driver Name : vc4_hdmi
Adapter Name : vc4-hdmi-0
Capabilities : 0x0000031e
Logical Addresses
Transmit
Passthrough
Remote Control Support
Connector Info
Reply Vendor ID
Driver version : 6.18.4
Available Logical Addresses: 1
DRM Connector Info : card 1, connector 34
Physical Address : 1.0.0.0
Logical Address Mask : 0x4000
CEC Version : 2.0
Vendor ID : 0x000c03 (HDMI)
OSD Name : 'TV'
Logical Addresses : 1 (Allow RC Passthrough)

Logical Address : 14 (Specific)
Primary Device Type : TV
Logical Address Type : TV
All Device Types : TV
RC TV Profile : None
Device Features :
None


Transmit from Specific to TV (14 to 0):
IMAGE_VIEW_ON (0x04)
Sequence: 53 Tx Timestamp: 611.478334s
Tx, OK

First it transmits from Unregistered to TV (15 to 0) and the second time it transmits from Specific to TV (14 to 0)

I don't know why this changed in 6.18, but it works now. Thanks.
henkv
 
Posts: 28
Joined: Mon Feb 15, 2021 6:00 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 15 guests