07-08-2020, 01:59 PM
Hello,
I am running mobian-pinephone-20200704 flashed to the eMMC, and updated via apt to the latest version as of now,
however I am not able to get the camera working.
When I launch the camera app, I can hear some clicking now (like a shutter opening ?) about 3 times, but the viewfinder stays black and if I click the capture button, no images seems to be captured.
Here are the output of the commands from the following post (https://forum.pine64.org/showthread.php?...7#pid71117)
The pinephone-camera-setup service seems to have failed starting. If I attempt a restart, it ends up dead:
There seem to be an argument issue to a setup script on my side. Does anyone has an idea on how I could fix this ?
Thanks in advance !
I am running mobian-pinephone-20200704 flashed to the eMMC, and updated via apt to the latest version as of now,
however I am not able to get the camera working.
When I launch the camera app, I can hear some clicking now (like a shutter opening ?) about 3 times, but the viewfinder stays black and if I click the capture button, no images seems to be captured.
Here are the output of the commands from the following post (https://forum.pine64.org/showthread.php?...7#pid71117)
Code:
dmesg | grep -E "(csi|ov5640)"
[ 0.381331] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV
[ 0.383956] avdd-csi: Bringing 2900000uV into 2800000-2800000uV
[ 0.386000] dvdd-csi: Bringing 700000uV into 1800000-1800000uV
[ 6.132369] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)
[ 7.647639] sun6i-csi 1cb0000.csi: creating ov5640 3-004c:0 -> sun6i-csi:0 link
[ 7.663053] sun6i-csi 1cb0000.csi: creating gc2145 3-003c:0 -> sun6i-csi:0 link
[ 32.556110] sun6i-csi 1cb0000.csi: Unsupported pixformat: 0x56595559 with mbus code: 0x2006!
[ 52.163468] sun6i-csi 1cb0000.csi: Unsupported pixformat: 0x56595559 with mbus code: 0x2006!
Code:
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 Wed 2020-07-08 21:09:30 CEST; 33min ago
Main PID: 2286 (code=exited, status=1/FAILURE)
Jul 08 21:09:30 mobian systemd[1]: Starting Configure PinePhone Camera...
Jul 08 21:09:30 mobian pinephone-camera-setup.sh[2286]: is not a character device, quitting...
Jul 08 21:09:30 mobian systemd[1]: pinephone-camera-setup.service: Main process exited, code=exited, status=1/FAILURE
Jul 08 21:09:30 mobian systemd[1]: pinephone-camera-setup.service: Failed with result 'exit-code'.
Jul 08 21:09:30 mobian systemd[1]: Failed to start Configure PinePhone Camera.
Code:
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]
The pinephone-camera-setup service seems to have failed starting. If I attempt a restart, it ends up dead:
Code:
sudo systemctl restart pinephone-camera-setup
pinephone-camera-setup.service - Configure PinePhone Camera
Loaded: loaded (/lib/systemd/system/pinephone-camera-setup.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2020-07-08 21:55:02 CEST; 37s ago
Process: 14744 ExecStart=/usr/bin/pinephone-camera-setup.sh (code=exited, status=0/SUCCESS)
Main PID: 14744 (code=exited, status=0/SUCCESS)
Jul 08 21:55:01 mobian systemd[1]: Starting Configure PinePhone Camera...
Jul 08 21:55:02 mobian pinephone-camera-setup.sh[14751]: Unable to setup formats: Invalid argument (22)
Jul 08 21:55:02 mobian systemd[1]: pinephone-camera-setup.service: Succeeded.
Jul 08 21:55:02 mobian systemd[1]: Finished Configure PinePhone Camera.
There seem to be an argument issue to a setup script on my side. Does anyone has an idea on how I could fix this ?
Thanks in advance !