Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions 6.19/misc/0001-cx231xx-elgato-v2-fix-pal-norm.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove backtick

--- a/drivers/media/usb/cx231xx/cx231xx-cards.c
+++ b/drivers/media/usb/cx231xx/cx231xx-cards.c
@@ -637,7 +637,7 @@
.ctl_pin_status_mask = 0xFFFFFFC4,
.agc_analog_digital_select_gpio = 0x0c,
.gpio_pin_status_mask = 0x4001000,
- .norm = V4L2_STD_NTSC,
+ .norm = V4L2_STD_PAL,
Copy link
Copy Markdown
Member

@1Naim 1Naim Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about V4L2_STD_ALL? I worry this change regresses people that are using NTSC.

edit: I think V4L2_STD_NTSC | V4L2_STD_PAL should also work, and is more conservative compared to V4L2_STD_ALL, can you first test the former before testing the latter? Thanks.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback! I tested both V4L2_STD_NTSC | V4L2_STD_PAL (0x00000fff) and V4L2_STD_ALL (0xffffffff) via v4l2-ctl at runtime but both still produce a scrambled image. The issue is that the cx25840 decoder chip ignores runtime standard changes on this device — the norm must be set correctly in the driver card definition for the hardware to initialize properly at firmware load time. Changing to V4L2_STD_PAL in the card definition is the only fix that works. I'm based in Norway so PAL is correct for my region. Happy to test any other suggestions!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you report this to kernel bugzilla? I don' think I can accept this change due to aforementioned regression.

.no_alt_vanc = 1,
.external_av = 1,
.input = {{