<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+)]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have tried to follow the guide on <a href="http://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi" rel="nofollow ugc">http://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi</a>, but unfortunatelly i did not managed to get it to work.</p>
<p dir="auto">I will post some info about my system and steps that I tried:<br />
lsb_release -a ... Raspbian GNU/Linux 10 (buster)<br />
uname -a ... Linux astroberry 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux<br />
Camera and I2C is enabled in raspi-config<br />
I do not use the display, raspberry is controlled via vnc<br />
Software toolkit is downloaded, when i try veye_raspivid -t 5000 -o ~/test.h264, video is recorded, camera works<br />
./enable_i2c_vc.sh was executed</p>
<p dir="auto">./camera_i2c_config<br />
setting GPIO for board revsion: c03114<br />
4B(1G/2G/4G/8G)<br />
Set state of 133 to 1<br />
Use i2c-10 for the sensor (-y 10)</p>
<p dir="auto">./veye_mipi_i2c.sh -r -f hdver<br />
hardware version is 0x 6</p>
<p dir="auto">./veye_mipi_i2c.sh -w -f videoformat -p1 NTSC<br />
w videoformat is NTSC</p>
<p dir="auto">./veye_mipi_i2c.sh -r -f cameramode<br />
r cameramode is 0x 0</p>
<p dir="auto">./veye_mipi_i2c.sh -r -f boardmodel<br />
Board model is VEYE-MIPI-IMX327S</p>
<p dir="auto">./veye_mipi_i2c.sh -r -f sensorid<br />
r sensor id is IMX 462; ONE board</p>
<p dir="auto">For V4L2 installation i followed the staps according to the guide:<br />
wget <a href="https://github.com/veyeimaging/raspberrypi_v4l2/releases/latest/download/raspberrypi_v4l2.tgz" rel="nofollow ugc">https://github.com/veyeimaging/raspberrypi_v4l2/releases/latest/download/raspberrypi_v4l2.tgz</a><br />
tar -xzvf raspberrypi_v4l2.tgz<br />
cd raspberrypi_v4l2/release/<br />
chmod +x *<br />
sudo ./install_driver.sh veyecam2m</p>
<p dir="auto">After restart I tried:<br />
dmesg | grep veye ... no reponse (empty text)<br />
ls /dev/video0<br />
ls: cannot access '/dev/video0': No such file or directory<br />
cannot open it in vlc as well</p>
<p dir="auto">I have tried to compile drivers locally, same result as with precompiled drivers. I have found same verson as as my system in the pre-compiled drivers.</p>
<p dir="auto">This is the content of the boot/config.txt</p>
<h1>For more options and information see</h1>
<h1><a href="http://rpf.io/configtxt" rel="nofollow ugc">http://rpf.io/configtxt</a></h1>
<h1>Some settings may impact device functionality. See link above for details</h1>
<h1>uncomment if you get no picture on HDMI for a default "safe" mode</h1>
<p dir="auto">#hdmi_safe=1</p>
<h1>uncomment this if your display has a black border of unused pixels visible</h1>
<h1>and your display can output without overscan</h1>
<p dir="auto">#disable_overscan=1</p>
<h1>uncomment the following to adjust overscan. Use positive numbers if console</h1>
<h1>goes off screen, and negative if there is too much border</h1>
<p dir="auto">#overscan_left=16<br />
#overscan_right=16<br />
#overscan_top=16<br />
#overscan_bottom=16</p>
<h1>uncomment to force a console size. By default it will be display's size minus</h1>
<h1>overscan.</h1>
<p dir="auto">#framebuffer_width=1280<br />
#framebuffer_height=720</p>
<h1>uncomment if hdmi display is not detected and composite is being output</h1>
<p dir="auto">hdmi_force_hotplug=1</p>
<h1>uncomment to force a specific HDMI mode (this will force VGA)</h1>
<p dir="auto">hdmi_group=2<br />
hdmi_mode=82</p>
<h1>uncomment to force a HDMI mode rather than DVI. This can make audio work in</h1>
<h1>DMT (computer monitor) modes</h1>
<p dir="auto">#hdmi_drive=2</p>
<h1>uncomment to increase signal to HDMI, if you have interference, blanking, or</h1>
<h1>no display</h1>
<p dir="auto">#config_hdmi_boost=4</p>
<h1>uncomment for composite PAL</h1>
<p dir="auto">#sdtv_mode=2</p>
<p dir="auto">#uncomment to overclock the arm. 700 MHz is the default.<br />
#arm_freq=800</p>
<h1>Uncomment some or all of these to enable the optional hardware interfaces</h1>
<p dir="auto">dtparam=i2c_arm=on<br />
dtparam=i2s=on<br />
dtparam=spi=on</p>
<h1>Uncomment this to enable infrared communication.</h1>
<p dir="auto">#dtoverlay=gpio-ir,gpio_pin=17<br />
#dtoverlay=gpio-ir-tx,gpio_pin=18</p>
<h1>Additional overlays and parameters are documented /boot/overlays/README</h1>
<h1>Enable audio (loads snd_bcm2835)</h1>
<p dir="auto">#dtparam=audio=on</p>
<p dir="auto">[pi4]</p>
<h1>Enable DRM VC4 V3D driver on top of the dispmanx display stack</h1>
<p dir="auto">#dtoverlay=vc4-fkms-v3d<br />
max_framebuffers=2</p>
<p dir="auto">[all]<br />
#dtoverlay=vc4-fkms-v3d<br />
enable_uart=1<br />
gpu_mem=128<br />
hdmi_force_hotplug=1<br />
hdmi_group=2<br />
hdmi_mode=82<br />
start_x=1<br />
dtoverlay=w1-gpio<br />
dtparam=i2c_vc=on<br />
gpu_mem=400<br />
dtoverlay=veyecam2m,media-controller=0</p>
<p dir="auto">Is there something iam missing??</p>
<p dir="auto">Thank you for the help in advance!</p>
]]></description><link>http://forum.veye.cc/topic/244/imx462-struggling-to-get-v4l2-working-on-astroberry-buster-5-10-103-v7l</link><generator>RSS for Node</generator><lastBuildDate>Sat, 17 Oct 2026 15:45:10 GMT</lastBuildDate><atom:link href="http://forum.veye.cc/topic/244.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 May 2022 19:25:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Thu, 02 Jun 2022 05:03:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/veye_xumm" aria-label="Profile: veye_xumm">@<bdi>veye_xumm</bdi></a> Perfect, thank you very much for your support. It is now working.</p>
]]></description><link>http://forum.veye.cc/post/1538</link><guid isPermaLink="true">http://forum.veye.cc/post/1538</guid><dc:creator><![CDATA[salamander]]></dc:creator><pubDate>Thu, 02 Jun 2022 05:03:23 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Thu, 02 Jun 2022 02:06:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/salamander" aria-label="Profile: salamander">@<bdi>salamander</bdi></a><br />
I think this is a dts bug, and have fixed it.<br />
<a href="https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.05" rel="nofollow ugc">https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.05</a></p>
]]></description><link>http://forum.veye.cc/post/1536</link><guid isPermaLink="true">http://forum.veye.cc/post/1536</guid><dc:creator><![CDATA[veye_xumm]]></dc:creator><pubDate>Thu, 02 Jun 2022 02:06:25 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Wed, 01 Jun 2022 18:16:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/veye_xumm" aria-label="Profile: veye_xumm">@<bdi>veye_xumm</bdi></a> Hello, I have continued with the debugging turned on the TRACE in the driver and added few debug messages.</p>
<p dir="auto">It looks like the driver does not get correct response to this:<br />
ret = veyecam2m_read_reg(veyecam2m, VEYECAM2M_MODEL_ID_ADDR, &amp;device_id);<br />
if (ret) {<br />
dev_err(&amp;client-&gt;dev, "probe failed \n");<br />
return -ENODEV;<br />
}</p>
<p dir="auto">I have read about the <a href="http://wiki.veye.cc/index.php/RaspberryPI_I2C_confilict_problem" rel="nofollow ugc">http://wiki.veye.cc/index.php/RaspberryPI_I2C_confilict_problem</a> ..is this still problem (iam not using DSI display)?. Also this solution recommends to rewire the I2C. At which I2C bus the V4L2 driver actually expects to have the module?</p>
<p dir="auto">I have also  tried to disable the i2c_arm in the startup config, but no help either.</p>
]]></description><link>http://forum.veye.cc/post/1534</link><guid isPermaLink="true">http://forum.veye.cc/post/1534</guid><dc:creator><![CDATA[salamander]]></dc:creator><pubDate>Wed, 01 Jun 2022 18:16:32 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Wed, 01 Jun 2022 09:52:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/veye_xumm" aria-label="Profile: veye_xumm">@<bdi>veye_xumm</bdi></a><br />
Thank you for the further information. Yes Iam using rpi 4b.<br />
I have tried the i2cdetect fresh after start of the respberry<br />
astroberry@astroberry:~ $ i2cdetect -y 10<br />
0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f<br />
00:          -- -- -- -- -- -- -- -- -- -- -- -- --<br />
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
70: -- -- -- -- -- -- -- --<br />
No device is found with 3b address.</p>
<p dir="auto">However when I execute the:<br />
astroberry@astroberry:~/raspberrypi/i2c_cmd/bin $ ./camera_i2c_config<br />
setting GPIO for board revsion: c03114<br />
4B(1G/2G/4G/8G)<br />
Set state of 133 to 1<br />
Use i2c-10 for the sensor (-y 10)</p>
<p dir="auto">Then the i2cdetect finds the device:<br />
astroberry@astroberry:~ $ i2cdetect -y 10<br />
0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f<br />
00:          -- -- -- -- -- -- -- -- -- -- -- -- --<br />
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
30: -- -- -- -- -- -- -- -- -- -- -- 3b -- -- -- --<br />
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
70: -- -- -- -- -- -- -- --</p>
<p dir="auto">However the dmesg still shows:<br />
astroberry@astroberry:~ $ dmesg | grep veye<br />
[    6.523877] veyecam2m: loading out-of-tree module taints kernel.<br />
[    6.646795] veyecam2m 10-003b: probe failed<br />
[   31.835106] veyecam_vana: disabling<br />
[   31.835117] veyecam_vddl: disabling<br />
[   31.835125] veyecam_vdig: disabling</p>
<p dir="auto">Do I need to add the camera_i2c_config somewhere manually that it is executed at every startup before starting of the driver?</p>
<p dir="auto">I have tested various i2c settings and all seems to reponds as expected so the i2c but definitely works.</p>
<p dir="auto">On the first day when I got the camera, I was by mistake using the ./cs_mipi_i2c.sh, which is for the CS series, but that was never getting me some proper response. Could it be however that something is misconfigured? I tried for example the ./cs_mipi_i2c.sh -w -f sysreset at that time.</p>
]]></description><link>http://forum.veye.cc/post/1533</link><guid isPermaLink="true">http://forum.veye.cc/post/1533</guid><dc:creator><![CDATA[salamander]]></dc:creator><pubDate>Wed, 01 Jun 2022 09:52:44 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Wed, 01 Jun 2022 01:55:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/salamander" aria-label="Profile: salamander">@<bdi>salamander</bdi></a><br />
Hi,</p>
<p dir="auto">V4l2 mode and Legacy mode are not supported at the same time, see this page for details.<br />
<a href="http://wiki.veye.cc/index.php/Raspberry_Pi_Application_Note_Index" rel="nofollow ugc">http://wiki.veye.cc/index.php/Raspberry_Pi_Application_Note_Index</a></p>
<p dir="auto">Based on your description, I think the mipi data channel is ok.<br />
But i2c can't access to camera correctly. Are you using rpi 4b?<br />
Try</p>
<pre><code>i2cdetect -y 10
</code></pre>
<p dir="auto">See if there is a device with 0x3b address?</p>
]]></description><link>http://forum.veye.cc/post/1532</link><guid isPermaLink="true">http://forum.veye.cc/post/1532</guid><dc:creator><![CDATA[veye_xumm]]></dc:creator><pubDate>Wed, 01 Jun 2022 01:55:42 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Tue, 31 May 2022 18:29:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/veye_xumm" aria-label="Profile: veye_xumm">@<bdi>veye_xumm</bdi></a></p>
<p dir="auto">OK, I have tested something that worked before to check the camera function and connection:</p>
<p dir="auto">./veye_raspivid -t 5000 -o ~/tes1t.h264<br />
camera num -1<br />
Hardare version: c03114<br />
mmal: mmal_component_enable w 1920 h 1080 fps 30</p>
<p dir="auto">raspipreview_create  com<br />
mmal: Splitter has 4 output port,you could use num 2,3 for extend</p>
<p dir="auto">It does not do more at this point, just stops there and no video is recorded. Camera is responding to the I2C commands however.</p>
<p dir="auto">I have tried to uninstall the V4L2 driver and restart and after that recording works:<br />
I have just executed this one command after the raspberry was restarted (no I2C commands to configure, etc)<br />
./veye_raspivid -t 5000 -o ~/tes1t.h264<br />
camera num -1<br />
Hardare version: c03114<br />
mmal: mmal_component_enable w 1920 h 1080 fps 30</p>
<p dir="auto">raspipreview_create  com<br />
mmal: Splitter has 4 output port,you could use num 2,3 for extend<br />
mmal: running now!!<br />
mmal: running stop!! 0</p>
<p dir="auto">Video is recorded as expected.</p>
<p dir="auto">Are there maybe some logs somewhere to see more exactly vhy the V4L2 diver refuses to work? Also when the V4L2 is active, should it prevent the camera to be used othewise, for example to record the video or stream?</p>
<p dir="auto">Thank you</p>
]]></description><link>http://forum.veye.cc/post/1530</link><guid isPermaLink="true">http://forum.veye.cc/post/1530</guid><dc:creator><![CDATA[salamander]]></dc:creator><pubDate>Tue, 31 May 2022 18:29:51 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Tue, 31 May 2022 06:06:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/salamander" aria-label="Profile: salamander">@<bdi>salamander</bdi></a> I think the driver works. Please check your hardware connection to find why it probe failed.</p>
]]></description><link>http://forum.veye.cc/post/1528</link><guid isPermaLink="true">http://forum.veye.cc/post/1528</guid><dc:creator><![CDATA[veye_xumm]]></dc:creator><pubDate>Tue, 31 May 2022 06:06:33 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Tue, 31 May 2022 05:56:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/veye_xumm" aria-label="Profile: veye_xumm">@<bdi>veye_xumm</bdi></a> Thank you for checking. I have tried the updated drivers. Its not working, but least the driver tries to start. I have tried to compile driver locally, but it is the same result.</p>
<p dir="auto">astroberry@astroberry:~ $ dmesg | grep veye<br />
[    6.583170] veyecam2m: loading out-of-tree module taints kernel.<br />
[    6.716455] veyecam2m 10-003b: probe failed<br />
[   31.844086] veyecam_vana: disabling<br />
[   31.844103] veyecam_vddl: disabling<br />
[   31.844116] veyecam_vdig: disabling</p>
<p dir="auto">What could be still wrong?</p>
]]></description><link>http://forum.veye.cc/post/1526</link><guid isPermaLink="true">http://forum.veye.cc/post/1526</guid><dc:creator><![CDATA[salamander]]></dc:creator><pubDate>Tue, 31 May 2022 05:56:13 GMT</pubDate></item><item><title><![CDATA[Reply to IMX462 struggling to get V4L2 working on astroberry (buster 5.10.103-v7l+) on Mon, 30 May 2022 02:40:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/salamander" aria-label="Profile: salamander">@<bdi>salamander</bdi></a><br />
There is a dts error. Please refer to the new release version here.<br />
<a href="https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.04" rel="nofollow ugc">https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.04</a></p>
]]></description><link>http://forum.veye.cc/post/1522</link><guid isPermaLink="true">http://forum.veye.cc/post/1522</guid><dc:creator><![CDATA[veye_xumm]]></dc:creator><pubDate>Mon, 30 May 2022 02:40:45 GMT</pubDate></item></channel></rss>