Camera support progress
#22
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)

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 !
  Reply


Messages In This Thread
Camera support progress - by a-wai - 07-06-2020, 10:06 AM
RE: Camera support progress - by aancel - 07-06-2020, 10:54 AM
RE: Camera support progress - by bingo600 - 07-06-2020, 12:15 PM
RE: Camera support progress - by chris_02 - 07-06-2020, 02:11 PM
RE: Camera support progress - by a-wai - 07-06-2020, 03:03 PM
RE: Camera support progress - by chris_02 - 07-06-2020, 03:36 PM
RE: Camera support progress - by jjs - 07-06-2020, 03:32 PM
RE: Camera support progress - by a-wai - 07-06-2020, 03:50 PM
RE: Camera support progress - by chris_02 - 07-06-2020, 03:58 PM
RE: Camera support progress - by Ersatz - 07-06-2020, 03:51 PM
RE: Camera support progress - by Luke - 07-06-2020, 04:05 PM
RE: Camera support progress - by bendavey - 07-06-2020, 04:59 PM
RE: Camera support progress - by devrtz - 07-07-2020, 03:03 AM
RE: Camera support progress - by arturo2bodegas - 07-06-2020, 08:07 PM
RE: Camera support progress - by cefre00 - 07-07-2020, 01:37 AM
RE: Camera support progress - by e-minguez - 07-07-2020, 03:03 AM
RE: Camera support progress - by Luke - 07-07-2020, 04:13 AM
RE: Camera support progress - by bingo600 - 07-07-2020, 09:13 AM
RE: Camera support progress - by Kamzzy - 07-07-2020, 01:32 PM
RE: Camera support progress - by jwestman - 07-07-2020, 01:35 PM
RE: Camera support progress - by bcnaz - 07-07-2020, 09:27 PM
RE: Camera support progress - by aancel - 07-08-2020, 01:59 PM
RE: Camera support progress - by aancel - 07-08-2020, 02:17 PM
RE: Camera support progress - by a-wai - 07-09-2020, 02:24 AM
RE: Camera support progress - by aancel - 07-09-2020, 03:08 PM
RE: Camera support progress - by a-wai - 07-13-2020, 05:28 AM
RE: Camera support progress - by paju1986 - 07-13-2020, 05:41 AM
RE: Camera support progress - by a-wai - 07-13-2020, 05:56 AM
RE: Camera support progress - by aancel - 07-14-2020, 01:23 AM
RE: Camera support progress - by a-wai - 07-14-2020, 03:03 AM
RE: Camera support progress - by aancel - 07-14-2020, 03:34 AM
RE: Camera support progress - by a-wai - 07-14-2020, 04:03 AM
RE: Camera support progress - by aancel - 07-15-2020, 10:23 AM
RE: Camera support progress - by a-wai - 07-17-2020, 06:56 AM
RE: Camera support progress - by aancel - 07-17-2020, 05:56 PM
RE: Camera support progress - by ivanB1975 - 07-18-2020, 03:50 PM
RE: Camera support progress - by aancel - 07-22-2020, 12:46 PM
RE: Camera support progress - by chris_02 - 07-22-2020, 01:23 PM
RE: Camera support progress - by puffchumpy - 07-18-2020, 08:58 AM
RE: Camera support progress - by arturo2bodegas - 07-22-2020, 06:04 PM
RE: Camera support progress - by a-wai - 07-22-2020, 06:18 PM
RE: Camera support progress - by chris_02 - 07-23-2020, 05:55 AM
RE: Camera support progress - by hiimtye - 08-01-2020, 07:32 PM
RE: Camera support progress - by daniel - 08-10-2020, 10:39 AM
RE: Camera support progress - by fernando_c_m - 08-10-2020, 11:17 AM
RE: Camera support progress - by natasha - 08-10-2020, 12:56 PM
RE: Camera support progress - by fernando_c_m - 08-10-2020, 01:41 PM
RE: Camera support progress - by natasha - 08-10-2020, 02:27 PM
RE: Camera support progress - by fernando_c_m - 08-11-2020, 12:34 AM
RE: Camera support progress - by spaetz - 08-11-2020, 07:28 AM
RE: Camera support progress - by natasha - 08-11-2020, 01:24 PM
RE: Camera support progress - by fishbowlkraken - 08-11-2020, 11:39 PM
RE: Camera support progress - by natasha - 08-12-2020, 12:44 PM
RE: Camera support progress - by a-wai - 08-13-2020, 08:46 AM
RE: Camera support progress - by PainPhone - 08-14-2020, 08:53 AM
RE: Camera support progress - by natasha - 08-14-2020, 09:40 AM
RE: Camera support progress - by PainPhone - 08-10-2020, 01:17 PM
RE: Camera support progress - by Baggypants - 08-12-2020, 12:49 PM
RE: Camera support progress - by daniel - 08-13-2020, 05:42 PM
RE: Camera support progress - by FOSSagent0 - 08-14-2020, 12:07 AM
RE: Camera support progress - by natasha - 08-14-2020, 06:09 AM
RE: Camera support progress - by daniel - 08-14-2020, 08:32 PM
RE: Camera support progress - by fishbowlkraken - 08-15-2020, 03:37 PM
RE: Camera support progress - by root - 08-16-2020, 04:18 PM
RE: Camera support progress - by natasha - 08-17-2020, 12:46 PM
RE: Camera support progress - by bcnaz - 08-16-2020, 04:31 PM
RE: Camera support progress - by chris_02 - 08-16-2020, 05:12 PM
RE: Camera support progress - by fernando_c_m - 08-17-2020, 12:27 AM
RE: Camera support progress - by bcnaz - 08-17-2020, 08:43 AM
RE: Camera support progress - by henkdieter - 08-17-2020, 11:26 AM
RE: Camera support progress - by chris_02 - 08-17-2020, 12:34 PM
RE: Camera support progress - by bcnaz - 08-17-2020, 07:49 PM
RE: Camera support progress - by bcnaz - 08-18-2020, 02:46 PM
RE: Camera support progress - by wi_badger - 08-18-2020, 04:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  mobian, pinephone camera, and megapixels dawg161 34 3,019 05-01-2021, 02:34 PM
Last Post: NormandC
  no camera,streaming after update rvh 0 236 03-21-2021, 08:02 AM
Last Post: rvh
  PSA: Transition in progress - don't update ! a-wai 46 14,531 11-20-2020, 10:37 AM
Last Post: Gribouille
  Progress (and Thank you) Zoomzit 0 469 11-12-2020, 01:14 PM
Last Post: Zoomzit
  Camera app down, megapixels up daniel 4 1,660 09-22-2020, 07:34 AM
Last Post: bcnaz
  Camera use on Mobian/Brave Heart bcnaz 6 2,628 07-08-2020, 02:37 PM
Last Post: bcnaz
  Camera test on Phosh Luke 4 3,295 05-26-2020, 02:44 AM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 1 Guest(s)