RPi 3b & zero 2 kernel bug: swapped colors ⚠️ #848
-
When using a USB grabber color swapping may occur (blue with red, red with green...). Symptoms described by our users: Affected devices: Known solutions:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
New to this sort of thing - How would I go about downgrading the kernel? |
Beta Was this translation helpful? Give feedback.
-
Trying as I'm facing the issue after upgrade the firmware on my raspberry pi zero 2W + update HyperHDR to 20.0.0. I found commits on https://github.com/raspberrypi/rpi-firmware/commits/master/?after=1ec318fceecbb3d518dc889a3ed8369c5e1aac37+34 And put back with 6.1.77 Now in SDR, It's back OK. |
Beta Was this translation helpful? Give feedback.
-
One of the latest funktionable Kernel is 6.1.74 root@yourhost# rpi-update d86b5843d68b9972a5430a6d3da1b271cfc83521 |
Beta Was this translation helpful? Give feedback.
-
Solved!!! My solution was to set the "User Controls" of v4l2 manualy user@system:$ v4l2-ctl --set-ctrl=brightness=50 --set-ctrl=contrast=50 --set-ctrl=saturation=50 --set-ctrl=hue=50 Explanation: ---begin output--- kernel-6.6.x: So I tried to setup the "User-Controls" Manually with: "v4l2-ctl --set-ctrl=brightness=50 --set-ctrl=contrast=50 --set-ctrl=saturation=50 --set-ctrl=hue=50"; like Kernel 6.1.x It works! The collours are not swapped any longer. How can I adapt this on boot? |
Beta Was this translation helpful? Give feedback.
-
It seems that nobody wants to have this fixed in the mainstream Kernel and report it to RPi :-/ OK, as far as ARM architecture is concerned I use RPi4 and RPi5 only which are not affected by this bug and USB2.0 from RPi3 and RPi Zero 2 is outdated anyway. I'm closing because the problem in the RPi Kernel has been located. |
Beta Was this translation helpful? Give feedback.
Solved!!!
but i have no idea how to adapt, please help me.
My solution was to set the "User Controls" of v4l2 manualy
user@system:$ v4l2-ctl --set-ctrl=brightness=50 --set-ctrl=contrast=50 --set-ctrl=saturation=50 --set-ctrl=hue=50
Explanation:
I compared the output of "v4l2-ctl --all" on (working) kernel 6.1 with the output on the misworking kernel 6.6
---begin output---
kernel-6.1.x:
...
User Controls
brightness 0x00980900 (int) : min=0 max=100 step=1 default=50 value=50
contrast 0x00980901 (int) : min=0 max=100 step=1 default=50 value=50
saturation 0x00980902 (int) : min=0 max=100 step=1 default=50 value=50
hue 0x00980903 (int) : min=0 max=100 step=1 default=50 value=50
kernel-6.6.x:
...
…