Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5114

Graphics, sound and multimedia • Re: Geekworm 790 for PI 5, inappropriate ioctl

$
0
0
From that wiki
To query the current input source information, if the resolution displays as 0, it indicates that no input source signal has been detected. In this case, you should check the hardware connections and follow the steps mentioned above to troubleshoot.
"Link severed" is reported directly by the TC358743 chip, so very little the Pi can do about it.

Have you loaded an EDID into the chip? No EDID will often result in a source not producing any output.

Do check the kernel logs for errors (use "dmesg"). You should be OK with our 6.6.31 kernel, but the mainline driver didn't check for I2C errors when checking if the device was present or not, and the default value resulted in it passing the test.

"v4l2-ctl --log-status" will be calling on /dev/video0, which indeed doesn't implement that function. Not an error. I've not checked if there is a userspace IOCTL to call log_status on a sub-device.
I understand.

Yes i tried to load an EDID using the same one i used for the Pi4 (https://wiki.geekworm.com/C779-Software)and i have the same ioctl error if i try to push it:

Code:

00ffffffffffff0052628888008888881c150103800000780aEE91A3544C99260F505400000001010101010101010101010101010101011d007251d01e206e285500c48e2100001e8c0ad08a20e02d10103e9600138e2100001e000000fc00546f73686962612d4832430a20000000FD003b3d0f2e0f1e0a2020202020200100020321434e041303021211012021a23c3d3e1f2309070766030c00300080E3007F8c0ad08a20e02d10103e9600c48e210000188c0ad08a20e02d10103e9600138e210000188c0aa01451f01600267c4300138e210000980000000000000000000000000000000000000000000000000000000000000000000000000000000000aepi5@raspberrypi:~ $ v4l2-ctl --set-edid=file=edid.txt --fix-edid-checksumsVIDIOC_S_EDID: failed: Inappropriate ioctl for device
As per the logs this is what i get:

Code:

aepi5@raspberrypi:~ $ dmesg | grep i2c[    0.636772] platform 1f00128000.csi: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/i2c@80000/tc358743@f[    1.008641] brcmstb-i2c 107d508200.i2c:  @97500hz registered in interrupt mode[    1.008766] brcmstb-i2c 107d508280.i2c:  @97500hz registered in interrupt mode[    3.578892] i2c_dev: i2c /dev entries driver[    4.593515] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/tc358743@f

Statistics: Posted by luca.ferro — Thu Jun 27, 2024 7:15 am



Viewing all articles
Browse latest Browse all 5114

Trending Articles