Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu 24.04.1 LTS (Official Khadas Image)
Which version of system do you use? Please provide the version of the system here:
Ubuntu 24.04.1 LTS
Please describe your issue below:
Hello,
I’m experiencing an issue with my Khadas Edge2 board and two Khadas IMX415 camera modules. I’ve installed the official Khadas Ubuntu 24.04.1 LTS operating system. The cameras are supposed to work out of the box, but I’m unable to get any video output from them.
What I’ve observed and tried so far:
- No Video Output:
- I can’t get any video from either of the two IMX415 cameras connected to my Edge2 board.
v4l2-ctl
Output:- Running
v4l2-ctl -d /dev/video51 --get-fmt-video
shows that the device node exists and provides format information, but I’m unable to capture any video.
- Running
- Kernel Logs (
dmesg
Output):- I see warnings about failing to get
reset-gpios
and using dummy regulators fordvdd
,dovdd
, andavdd
. - One of the cameras fails to detect the sensor ID, showing
Unexpected sensor id(000000), ret(-5)
.
- I see warnings about failing to get
- Hardware Checks:
- Verified that the MIPI-CSI cables are securely connected and correctly oriented.
- Swapped cameras and cables to rule out hardware defects.
- Tested each camera individually.
- System Updates:
- Updated the system with
sudo apt update && sudo apt upgrade -y
.
- Updated the system with
Despite these efforts, I’m still unable to get any video output from the cameras. Since the cameras and the board are designed to work together with the Khadas OS, they should function out of the box. I’m unsure why they aren’t working.
Console log
dmesg
[ 14.196997] imx415 3-001a: driver version: 00.01.08
[ 14.200751] imx415 3-001a: Get hdr mode failed! no hdr default
[ 14.203728] imx415 3-001a: detect imx415 lane 2
[ 14.210053] imx415 3-001a: Failed to get reset-gpios
[ 14.212509] imx415 3-001a: could not get default pinstate
[ 14.214889] imx415 3-001a: could not get sleep pinstate
[ 14.217230] imx415 3-001a: supply dvdd not found, using dummy regulator
[ 14.219605] imx415 3-001a: supply dovdd not found, using dummy regulator
[ 14.221894] imx415 3-001a: supply avdd not found, using dummy regulator
[ 14.295337] imx415 3-001a: Detected imx415 id 0000e0
[ 14.299351] imx415 4-001a: driver version: 00.01.08
[ 14.302586] imx415 4-001a: Get hdr mode failed! no hdr default
[ 14.305754] imx415 4-001a: detect imx415 lane 2
[ 14.308289] imx415 4-001a: could not get default pinstate
[ 14.310330] imx415 4-001a: could not get sleep pinstate
[ 14.312371] imx415 4-001a: supply dvdd not found, using dummy regulator
[ 14.314482] imx415 4-001a: supply dovdd not found, using dummy regulator
[ 14.316560] imx415 4-001a: supply avdd not found, using dummy regulator
[ 14.389650] imx415 4-001a: Unexpected sensor id(000000), ret(-5)
v4l2-ctl -d /dev/video51 --get-fmt-video
Format Video Capture Multiplanar:
Width/Height : 3840/2160
Pixel Format : ‘NV12’ (Y/UV 4:2:0)
Field : None
Number of planes : 1
Flags :
Colorspace : Default
Transfer Function : Default
YCbCr/HSV Encoding: Default
Quantization : Full Range
Plane 0 :
Bytes per Line : 3840
Size Image : 12441600
Request for Assistance:
- Is there something I’m missing in the setup process?
- Do I need to modify any configurations, such as the device tree, and if so, could someone provide guidance?
- Are there any known issues with the IMX415 cameras on the Edge2 that I should be aware of?
Thank you for your help!