Giter Club home page Giter Club logo

cam-ov9281raw-v2's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cam-ov9281raw-v2's Issues

Linux 5.15.61 support.

There are no drivers for the linux 5.15.61.

Installing manually with sudo make install causes

modprobe: ERROR: could not insert 'vc_mipi_ov9281': Exec format error
make: *** [Makefile:35: install] Error 1

Raspberry Pi Zero 2 W Rev 1.0

Hi,

I am using a fresh bullseye lite image and I can not use inno maker driver in pi Zero2. Instead, when I am following your documentation in a pi4 I can use your driver.

In your wiki you say it is compatible with Pi Zero:
https://www.inno-maker.com/product/cam-mipiov9281/
CAM-MIPIOV9281 is an Industrial Camera Module for Raspberry Pi 4/3B+/3B/3A+/CM3/CM3+/Zero/ZeroW;

When I try automated install this message appear:
./autoinstall_driver.sh
------INNO-MAKER cammipi_ov9281 driver install script v1.0------
Enable i2c_vc in /boot/config.txt ...
count = 1
count2 = 3
--- Add dtoverlay=vc_mipi_ov9281 to /boot/config.txt
console=serial0,115200 console=tty1 root=PARTUUID=701c8738-02 rootfstype=ext4 fsck.repair=yes rootwait cma=128M cma=128M
--- alread have cma=128M string
./autoinstall_driver.sh: line 81: warning: command substitution: ignored null byte in input
5.15.61-v7+
Raspberry Pi Zero 2 W Rev 1.0
armv7l
@ Linux Version Not Match! Please contact [email protected]
@ HW Version Not Match! Please contact [email protected]
System is 32 bit arch.
driverpath: ./0/0
@ Install Failed, Please contact [email protected]

Later, I have try manual install. But same unsuccesfully story. No drivers for kernell 5.15.84. If I try using drivers 5.15.32, only next devices are available:
arm64 cm4-dual pi3 pi4
No zero is available. If I am using pi4, they are not working. Next messages are shown:
pi@raspberrypi:~/CAM-OV9281RAW-V2/Linux_5.15.32/pi4 $ sudo make install
sudo install -p -m 644 vc_mipi_ov9281/vc_mipi_ov9281.ko /lib/modules/5.15.84-v7+/kernel/drivers/media/i2c/
sudo install -p -m 644 vc_mipi_ov9281.dtbo /boot/overlays/
sudo /sbin/depmod -a 5.15.84-v7+
sudo /sbin/modprobe vc_mipi_ov9281
modprobe: ERROR: could not insert 'vc_mipi_ov9281': Exec format error
make: *** [Makefile:35: install] Error 1

Could you point me how to solve it. I would like to use your driver in Mode 11 and Mode 12 in my Pi Zero.

Thanks in advance

autoinstall.sh error - wrong driverpath for arch arm64 on Linux_5.15.32

For Linux_5.15.32, in section case $strArch in:

	*aarch64*)
		arch=arm64
		echo "System is 64 bit arch."
		driverpath=./$version/$arch/pi3_4
	;;
	*)

Should be

	*aarch64*)
		arch=arm64
		echo "System is 64 bit arch."
		driverpath=./$version/$arch/$model
	;;
	*)

To refer properly to the repository structure.

Source code for dual camera mode on CM4

Dear INNO-MAKER ,

Could you give the source code for dual camera mode for CM4? I would like to compile it for older kernel. With inno_ov9281_driver_pi_lattice_linux5.15 it works well for older kernels, but only one camera is working, second is unsupported stream type.

Raspberry pi 4B does not work

Hi,

I am compiling drivers from source code. everything compiles and installs but driver itself does not work.

after following instructions
ADD 'dtparam=i2c_vc=on' and 'dtoverlay=vc_mipi_ov9281' to your /boot/config.txt
ADD 'disable_touchscreen=1' to your /boot/config.txt if a touchscreen is attached
ADD 'cma=128M' to your /boot/cmdline.txt

I am rebooting and trying libcamera-hello I get this

libcamera-hello
Preview window unavailable
[0:01:05.178535738] [693] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:01:05.207842367] [694] ERROR CameraSensor camera_sensor.cpp:125 'inno_mipi_ov9281 10-0060': No image format found
[0:01:05.207959590] [694] ERROR RPI vc4.cpp:219 Failed to register camera inno_mipi_ov9281 10-0060: -22
ERROR: *** no cameras available ***

dmesg | grep ov9281 gives me this

[ 0.068600] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/inno_mipi_ov9281@60
[ 6.268549] inno_mipi_ov9281: loading out-of-tree module taints kernel.
[ 6.272570] inno_mipi_ov9281 10-0060: InnoMaker Camera controller found!
[ 6.484076] inno_mipi_ov9281 10-0060: [ MAGIC ] [ mipi-module ]
[ 6.484114] inno_mipi_ov9281 10-0060: [ MANUF. ] [ Inno Maker ] [ MID=0x1421 ]
[ 6.484131] inno_mipi_ov9281 10-0060: [ SENSOR ] [ OM ov9281-M ]
[ 6.484146] inno_mipi_ov9281 10-0060: [ MODULE ] [ ID=0x9281 ] [ REV=0x0003 ]
[ 6.484161] inno_mipi_ov9281 10-0060: [ MODES ] [ NR=0x000c ] [ BPM=0x0010 ]
[ 6.704096] inno_mipi_ov9281 10-0060: Sensor MODE=1 PowerOn STATUS=0x80 i=1
[ 6.714469] inno_mipi_ov9281 10-0060: GAIN = 16
[ 6.720596] inno_mipi_ov9281 10-0060: EXPOSURE = 10896
[ 6.733596] inno_mipi_ov9281 10-0060: Model ID 0x9281, Lot ID 0x0000a1, Chip ID 0x0000
[ 6.733674] inno_mipi_ov9281 10-0060: Consider updating driver inno_mipi_ov9281 to match on endpoints

Any help on how to make driver working for rpi4?

uname -a
Linux dronzi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

Linux_6.1.0 Missing

Read here that Raspberry pi 4B should support it out of the box, after a few tweaks. but I get no camera detected


juanmf@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux

juanmf@raspberrypi:~/CAM-OV9281RAW-V2 $ ./autoinstall_driver.sh 

------INNO-MAKER cammipi_ov9281 driver install script  v1.0------
Enable i2c_vc in /boot/config.txt ...
count = 0
--- Add i2c_vc=on to /boot/config.txt
count2 = 0
--- Add dtoverlay=vc_mipi_ov9281 to /boot/config.txt
console=serial0,115200 console=tty1 root=PARTUUID=a9ece6e0-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=US
--- Add cma=128M to /boot/cmdline.txt
./autoinstall_driver.sh: line 81: warning: command substitution: ignored null byte in input
6.1.0-rpi4-rpi-v8
Raspberry Pi 4 Model B Rev 1.5
aarch64
@ Linux Version Not Match! Please contact [email protected]
System is 64 bit arch.
driverpath: ./0/arm64/pi3_4
@ Install Failed, Please contact [email protected]

juanmf@raspberrypi:~ $ libcamera-hello
Preview window unavailable
[0:00:49.715162321] [2584]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+52-a858d20b
ERROR: *** no cameras available ***

strangely enough I get some devices (not video0) listed.

$ ls /dev/video*
/dev/video10  /dev/video11  /dev/video12  /dev/video13  /dev/video14  /dev/video15  /dev/video16  /dev/video18  /dev/video19  /dev/video20  /dev/video21  /dev/video22  /dev/video23  /dev/video31

the parameters in config files the installer script wanted to add I have added manually already.

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.