This is on Debian testing with the following kernel, built from the tarball on kernel.org:
Linux sappc1 6.12.10 #4 SMP PREEMPT_DYNAMIC Fri Jan 17 22:17:45 CET 2025 x86_64 GNU/Linux
It is running on an 12th gen Intel Framework laptop, with monitor connected through Framework's USB-C-to-HDMI adapter (the 3rd gen one):
https://knowledgebase.frame.work/hdmi-expansion-card-generations-Sk7AQKUv2
Since my kernel got upgraded to version 6.12.*, I get frequently journal messages like these:
Jan 15 15:24:51 host01 kernel: Registered IR keymap rc-cec Jan 15 15:24:51 host01 kernel: rc rc0: DP-3 as /devices/pci0000:00/0000:00:02.0/rc/rc0 Jan 15 15:24:51 host01 kernel: input: DP-3 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input146 Jan 15 15:24:51 host01 systemd-logind[1456]: Watching system buttons on /dev/input/event11 (DP-3) Jan 15 15:24:51 host01 Xorg[1663]: (II) config/udev: Adding input device DP-3 (/dev/input/event11)
I tried to ignore these as long as they have been showing up during boot only or when screen resolution got changed using xrandr, but today I noticed that these repeat every 30 secs or so when my screen saver is active. Which then kind of floods the journal.
With the previous 6.11.* kernel series I would see these messages only once, during startup. When using a DisplayPort adapter instead of the HDMI adapter, these messages do not show up either.
I guess that it is not the CEC subsystem being responsible here, but rather some other component which triggers it more frequently than earlier. Any help on how to find more about this issue appreciated.
Please CC me in replies.
Thanks!
More information on this. I instrumented the sources to dump stack traces when these messages are written and arrived at function drm_dp_cec_attach. I further instrumented that to dump the values of the expressions involved in this test:
if (aux->cec.adap->capabilities == cec_caps && aux->cec.adap->available_log_addrs == num_las) {
The result was that every time I have
aux->cec.adap->capabilities == 0b1101111110 cec_caps == 0b0101111110 aux->cec.adap->available_log_addrs == 4 num_las == 4
So the capabilities differ in CEC_CAP_REPLY_VENDOR_ID. If I clear that bit in above test, I am back to normal, getting the "Registered IR keymap" message only once during startup.
Could this be related to commit 613f21505b25a4f43f33de00f11afc059bedde2b?
linux-stable-mirror@lists.linaro.org