I am having trouble getting the 64MP hawkeye camera working with my compute module 4. I have run through the installation instructions but the camera is not showing up when I list all of the cameras from libcamera-still
.
One thing to note: I have another camera connected on cam0. The hawkeye is connected to cam1. Also, I added camera_auto_detect=1
to my config.txt because that is the only way I could get any camera to be recognized.
Here is my setup:
cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM2711
Revision : b03140
Serial : 1000000004fed543
Model : Raspberry Pi Compute Module 4 Rev 1.0
cat /proc/meminfo
MemTotal: 1864348 kB
MemFree: 1631684 kB
MemAvailable: 1705336 kB
Buffers: 16188 kB
Cached: 120620 kB
SwapCached: 0 kB
Active: 63328 kB
Inactive: 104484 kB
Active(anon): 556 kB
Inactive(anon): 28024 kB
Active(file): 62772 kB
Inactive(file): 76460 kB
Unevictable: 16 kB
Mlocked: 16 kB
HighTotal: 1179648 kB
HighFree: 1015420 kB
LowTotal: 684700 kB
LowFree: 616264 kB
SwapTotal: 102396 kB
SwapFree: 102396 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 31020 kB
Mapped: 57420 kB
Shmem: 896 kB
KReclaimable: 12804 kB
Slab: 31012 kB
SReclaimable: 12804 kB
SUnreclaim: 18208 kB
KernelStack: 1328 kB
PageTables: 1940 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1034568 kB
Committed_AS: 207072 kB
VmallocTotal: 245760 kB
VmallocUsed: 5828 kB
VmallocChunk: 0 kB
Percpu: 448 kB
CmaTotal: 409600 kB
CmaFree: 395640 kB
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
ls /dev/video*
/dev/video0 /dev/video10 /dev/video12 /dev/video14 /dev/video16 /dev/video20 /dev/video22 /dev/video31
/dev/video1 /dev/video11 /dev/video13 /dev/video15 /dev/video18 /dev/video21 /dev/video23
dpkg -l | grep libcamera
ii libcamera-apps 0.0.7 armhf libcamera-apps
ii libcamera-dev 0.0.7 armhf libcamera
cat /boot/config.txt
# For more options and information see
# http://rpf.io/configtxt
# 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 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=1
#hdmi_mode=1
# 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
#dtoverlay=imx219,cam1
#dtoverlay=imx219,cam0
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
# dtparam=audio=on
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
# display_auto_detect=1
# Enable DRM VC4 V3D driver
max_framebuffers=2
# Disable compensation for displays with overscan
# disable_overscan=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
dtoverlay=vc4-kms-v3d,cma-512
# dtoverlay=imx519
#dtoverlay=imx519,cam1
[all]
[pi4]
# Run as fast as firmware / board allows
arm_boost=1
[all]
gpu_mem=128
# dtoverlay=arducam_64mp
# dtoverlay=vc4-kms-v3d,cma-512
# dtoverlay=imx519
# dtoverlay=arducam
libcamera-still -t 1000 -n
[0:29:37.795432227] [1071] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:29:37.822974605] [1073] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:29:37.823744961] [1073] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:29:37.824011425] [1073] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media3 and ISP device /dev/media0
[0:29:37.824824871] [1071] INFO Camera camera.cpp:1029 configuring streams: (0) 1640x1232-YUV420
[0:29:37.825389852] [1073] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected unicam format: 1640x1232-pBAA
libcamera-still -t 1000 -n --camera 1
[0:29:58.262253587] [1091] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:29:58.289796669] [1093] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:29:58.290571691] [1093] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:29:58.290843803] [1093] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media3 and ISP device /dev/media0
ERROR: *** selected camera is not available ***
Posting my whole dmesg
goes over the character limit. Nothing shows up when I run dmesg | grep arducam
.