Hello,
I have tried to follow the guide on http://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi, but unfortunatelly i did not managed to get it to work.
I will post some info about my system and steps that I tried:
lsb_release -a ... Raspbian GNU/Linux 10 (buster)
uname -a ... Linux astroberry 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
Camera and I2C is enabled in raspi-config
I do not use the display, raspberry is controlled via vnc
Software toolkit is downloaded, when i try veye_raspivid -t 5000 -o ~/test.h264, video is recorded, camera works
./enable_i2c_vc.sh was executed
./camera_i2c_config
setting GPIO for board revsion: c03114
4B(1G/2G/4G/8G)
Set state of 133 to 1
Use i2c-10 for the sensor (-y 10)
./veye_mipi_i2c.sh -r -f hdver
hardware version is 0x 6
./veye_mipi_i2c.sh -w -f videoformat -p1 NTSC
w videoformat is NTSC
./veye_mipi_i2c.sh -r -f cameramode
r cameramode is 0x 0
./veye_mipi_i2c.sh -r -f boardmodel
Board model is VEYE-MIPI-IMX327S
./veye_mipi_i2c.sh -r -f sensorid
r sensor id is IMX 462; ONE board
For V4L2 installation i followed the staps according to the guide:
wget https://github.com/veyeimaging/raspberrypi_v4l2/releases/latest/download/raspberrypi_v4l2.tgz
tar -xzvf raspberrypi_v4l2.tgz
cd raspberrypi_v4l2/release/
chmod +x *
sudo ./install_driver.sh veyecam2m
After restart I tried:
dmesg | grep veye ... no reponse (empty text)
ls /dev/video0
ls: cannot access '/dev/video0': No such file or directory
cannot open it in vlc as well
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.
This is the content of the boot/config.txt
For more options and information see
Some settings may impact device functionality. See link above for details
uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
uncomment this if your display has a black border of unused pixels visible
and your display can output without overscan
#disable_overscan=1
uncomment the following to adjust overscan. Use positive numbers if console
goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
uncomment to force a console size. By default it will be display's size minus
overscan.
#framebuffer_width=1280
#framebuffer_height=720
uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=82
uncomment to force a HDMI mode rather than DVI. This can make audio work in
DMT (computer monitor) modes
#hdmi_drive=2
uncomment to increase signal to HDMI, if you have interference, blanking, or
no display
#config_hdmi_boost=4
uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
Additional overlays and parameters are documented /boot/overlays/README
Enable audio (loads snd_bcm2835)
#dtparam=audio=on
[pi4]
Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
enable_uart=1
gpu_mem=128
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=82
start_x=1
dtoverlay=w1-gpio
dtparam=i2c_vc=on
gpu_mem=400
dtoverlay=veyecam2m,media-controller=0
Is there something iam missing??
Thank you for the help in advance!