PINE64
We'll soon get camera support :) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125)
+---- Thread: We'll soon get camera support :) (/showthread.php?tid=10543)

Pages: 1 2


RE: We'll soon get camera support :) - natasha - 07-22-2020

Ok... Hey UT devevs, what is the status of the camera??


RE: We'll soon get camera support :) - KitsuneAlicia - 08-13-2020

Looking at the issue report from the OP, it appears they just updated to add camera support about 10 hours ago as of this writing, though they forgot a crucial part of the image. (i.e. the v4l-utils package that contains the media-ctl binary)

However, until they update the image, you can manually install it using apt in the terminal. (Also be sure to update to the latest development image just in case. Version 140 as of this writing.) I can confirm that camera does indeed work after doing this, although there are still a few issues to note:

1. Switching to the front camera doesn't appear to work yet
2. Camera preview is extremely slow and choppy
3. The picture is reversed

There should be a media-ctl command that lets us fix the 3rd issue, but I don't know enough about it to do so.

Also, for newbies, the commands to install v4l-utils are as follows:
sudo mount -o remount,rw /
sudo apt update
sudo apt install v4l-utils

You may need to reboot after this, but I'm not sure. I rebooted just in case.


RE: We'll soon get camera support :) - Momomentum - 08-14-2020

(08-13-2020, 05:47 PM)KitsuneAlicia Wrote: Looking at the issue report from the OP, it appears they just updated to add camera support about 10 hours ago as of this writing, though they forgot a crucial part of the image. (i.e. the v4l-utils package that contains the media-ctl binary)

However, until they update the image, you can manually install it using apt in the terminal. (Also be sure to update to the latest development image just in case. Version 140 as of this writing.) I can confirm that camera does indeed work after doing this, although there are still a few issues to note:

1. Switching to the front camera doesn't appear to work yet
2. Camera preview is extremely slow and choppy
3. The picture is reversed

There should be a media-ctl command that lets us fix the 3rd issue, but I don't know enough about it to do so.

Also, for newbies, the commands to install v4l-utils are as follows:
sudo mount -o remount,rw /
sudo apt update
sudo apt install v4l-utils

You may need to reboot after this, but I'm not sure. I rebooted just in case.

Hey thanks for the instructions. For me this did not work however. I'm on devel 143. It said v4l-utils are already installed. So I guess the issue was fixed. My camera app still does not work though. Might I be facing hardware issues? Or do I need to use something other than the camera application to take pictures?


RE: We'll soon get camera support :) - YepYepperson - 08-14-2020

Camera works out of the box for me in the latest dev build. V4L is auto installed, and existing camera app is all that's needed.


RE: We'll soon get camera support :) - PainPhone - 08-14-2020

Is this at level of Mobian? better? worse?


RE: We'll soon get camera support :) - Cree - 08-14-2020

Can confirm, camera now working! Not sure how it compares to the camera on Mobian or Manjaro yet. Iteresting thing about the image reversal, its reversed when i view it before taking the photo, but when after i take it when i open the photo the orientation is correct


RE: We'll soon get camera support :) - Baggypants - 08-15-2020

I also got it working but only when I set the camera res to 16:9(2.1MP)