64MP QuadCamera - No cameras available! help!

@yq3w

The camera doesn’t seem to be the problem, you try again
libcamera-still -t 0

pi@raspberrypi:~ $ libcamera-still -t 0
Preview window unavailable
[0:26:04.622689243] [779] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3730-67300b62
ERROR: *** no cameras available ***

dmesg有个报错:

7.748605] dw9807 10-000c: I2C write CTL fail ret = -121
[ 7.762097] arducam_64mp 10-001a: failed to read chip id 682, with error -5
[ 7.762486] dw9807 10-000c: I2C write STATUS address fail ret = -5
[ 7.762496] dw9807 10-000c: dw9807_standby I2C failure: -5
[ 7.769228] arducam_64mp: probe of 10-001a failed with error -5
[ 7.815907] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled

@yq3w

try

dpkg -l | grep libcamera

pi@raspberrypi:~ $ dpkg -l | grep libcamera
ii libcamera-apps 0.0.8 armhf libcamera-apps
ii libcamera-dev 0.0.8 armhf libcamera

@yq3w

I will discuss your question further with my colleagues.

I will give you the appropriate results shortly

谢谢您,期待新解决方案。64mp画质非常棒。

我刚刚重新做了系统,用了树莓派官方的HQ 相机,能正常使用。再次确认了树莓派pi4和排线是没问题的。
截屏2022-08-09 12.07.04

在新系统上raspi-config关掉了HQ相机的配置。然后执行了下面三个命令
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh

chmod +x install_pivariety_pkgs.sh

./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver

重启相机后执行./install_pivariety_pkgs.sh -d

pi@raspberrypi:~ $ ./install_pivariety_pkgs.sh -d

Hardware Revision: b03111
Kernel Version: 5.15.32-v7l+
OS Codename: bullseye
ARCH: armv7l

Start install i2cdetect.
Download i2c-tools.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following additional packages will be installed:
libi2c0 read-edid
Suggested packages:
libi2c-dev python-smbus
The following NEW packages will be installed:
i2c-tools libi2c0 read-edid
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 103 kB of archives.
After this operation, 359 kB of additional disk space will be used.
Get:1 Index of /raspbian bullseye/main armhf libi2c0 armhf 4.2-1+b1 [10.4 kB]
Get:2 Index of /raspbian bullseye/main armhf i2c-tools armhf 4.2-1+b1 [78.0 kB]
Get:3 Index of /raspbian/raspbian/ bullseye/main armhf read-edid armhf 3.0.2-1.1 [14.9 kB]
Fetched 103 kB in 3s (32.4 kB/s)
Selecting previously unselected package libi2c0:armhf.
(Reading database … 41381 files and directories currently installed.)
Preparing to unpack …/libi2c0_4.2-1+b1_armhf.deb …
Unpacking libi2c0:armhf (4.2-1+b1) …
Selecting previously unselected package i2c-tools.
Preparing to unpack …/i2c-tools_4.2-1+b1_armhf.deb …
Unpacking i2c-tools (4.2-1+b1) …
Selecting previously unselected package read-edid.
Preparing to unpack …/read-edid_3.0.2-1.1_armhf.deb …
Unpacking read-edid (3.0.2-1.1) …
Setting up libi2c0:armhf (4.2-1+b1) …
Setting up read-edid (3.0.2-1.1) …
Setting up i2c-tools (4.2-1+b1) …
Processing triggers for man-db (2.9.4-2) …
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) …
./install_pivariety_pkgs.sh: line 96: /etc/modules: Permission denied
Already add ‘dtparam=i2c_vc=on’ and ‘dtparam=i2c_arm=on’ in /boot/config.txt
You have installed our driver and it works.
If you want to redetect the camera, you need to modify the /boot/config.txt file and reboot.
Do you agree to modify the file?(y/n):
y
Changed
reboot now?(y/n):
y
reboot

重启系统后执行了几个检测命令的结果:

cat /boot/config.txt的结果

@yq3w

By the way, you need to run it again
./install_pivariety_pkgs.sh -d

You can also just use

sudo dtoverlay arducam_64mp

We explored this and did not get a better opinion.

But since it works fine at 2W, it means that there is little chance that the camera is faulty.

The -d parameter, by the way, is now mainly for test use, you can just follow the previous steps.

You can follow what I said above and try it again to see how it turns out.

再次执行:./install_pivariety_pkgs.sh -d
重启后:

我打算换上一个版本的树莓派镜像测试下,会不会有影响?

@yq3w

okay , The i2c is through, but the camera is not detected.

Very strange.

The latest mirrors are the best, but of course, if you want to give it a try, that’s fine too.

It may not be a problem with the software, it may well be a problem at the physical level.

but please use bulleye.The buster system is not working.

现在这个镜像是lite版,实际上我昨天也测试完整带桌面的版本,也没有成功。

@yq3w

The problem now is that the video0 node has not been found and you have not yet reached the point where the desktop is displayed, you do not have to worry about this.

I just had another discussion with our chief engineer and we both thought it was strange.

We now have two suggestions :

  1. do you have the rest of the device, it doesn’t look like there is a problem at the software level now, it’s probably at the hardware level. Do you have any other devices besides the 2W.
  2. if it still doesn’t work, we can take a look at it for you remotely

只有2w 和pi4.欢迎帮我远程看看。
我刚刚 mknod /dev/video0 c 242 0制造了个video0,也还是运行不了相机。 :grinning: :grinning:

pi4上没有连接其他设备。只有64mp相机。

@yq3w

I am well aware of your problem and I will be discussing it again with my team tonight. I will see what the best solution idea is and I will have a sales person contact you directly at that time to let you know the outcome of our discussion, is that OK with you?

好的。。。非常感谢。。。。!!!!!!!!!