(07-06-2020, 03:03 PM)a-wai Wrote: Damn... Can you post the outputs from the following commands please:dmesg | grep -E "(csi|ov5640)"
Code:dmesg | grep -E "(csi|ov5640)"
sudo systemctl status pinephone-camera-setup
media-ctl -p
[ 1.428250] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV
[ 1.430576] avdd-csi: Bringing 2900000uV into 2800000-2800000uV
[ 1.432691] dvdd-csi: Bringing 700000uV into 1800000-1800000uV
[ 4.189317] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)
[ 9.283883] sun6i-csi 1cb0000.csi: creating gc2145 3-003c:0 -> sun6i-csi:0 link
[ 9.293871] sun6i-csi 1cb0000.csi: creating ov5640 3-004c:0 -> sun6i-csi:0 link
[ 10.263488] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 45.362815] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 46.621344] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 46.919337] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 48.004875] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 48.576993] sun6i-csi 1cb0000.csi: Unsupported pixformat: 0x56595559 with mbus code: 0x2006!
sudo systemctl status pinephone-camera-setup
● pinephone-camera-setup.service - Configure PinePhone Camera
Loaded: loaded (/lib/systemd/system/pinephone-camera-setup.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-07-06 23:42:59 CEST; 3min 57s ago
Process: 1519 ExecStart=/usr/sbin/pinephone-camera-setup.sh (code=exited, status=1/FAILURE)
Main PID: 1519 (code=exited, status=1/FAILURE)
juil. 06 23:42:59 mobian systemd[1]: Starting Configure PinePhone Camera...
juil. 06 23:42:59 mobian pinephone-camera-setup.sh[1534]: Unable to setup formats: Invalid argument (22)
juil. 06 23:42:59 mobian pinephone-camera-setup.sh[1537]: Unable to setup formats: Invalid argument (22)
juil. 06 23:42:59 mobian pinephone-camera-setup.sh[1538]: Unable to parse link: Invalid argument (22)
juil. 06 23:42:59 mobian pinephone-camera-setup.sh[1543]: Unable to parse link: Invalid argument (22)
juil. 06 23:42:59 mobian systemd[1]: pinephone-camera-setup.service: Main process exited, code=exited, status=1/FAILURE
juil. 06 23:42:59 mobian systemd[1]: pinephone-camera-setup.service: Failed with result 'exit-code'.
juil. 06 23:42:59 mobian systemd[1]: Failed to start Configure PinePhone Camera.
media-ctl -p
Media controller API version 5.7.0
Media device information
------------------------
driver cedrus
model cedrus
serial
bus info platform:cedrus
hw revision 0x0
driver version 5.7.0
Device topology
- entity 1: cedrus-source (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Source
-> "cedrus-proc":0 [ENABLED,IMMUTABLE]
- entity 3: cedrus-proc (2 pads, 2 links)
type Node subtype Unknown flags 0
pad0: Sink
<- "cedrus-source":0 [ENABLED,IMMUTABLE]
pad1: Source
-> "cedrus-sink":0 [ENABLED,IMMUTABLE]
- entity 6: cedrus-sink (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "cedrus-proc":1 [ENABLED,IMMUTABLE]