Camera support progress - 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: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Camera support progress (/showthread.php?tid=10578) |
RE: Camera support progress - bcnaz - 07-07-2020 (07-07-2020, 01:35 PM)jwestman Wrote: This is not working for me, on my Braveheart PinePhone. Here's the dmesg output:* I also have a Brave Heart, I am still running from the SD card. I downloaded the 20200707 nightly build, then installed to SD using etcher. (re-sized to max on 32gb San Disk card using 'disks' ) ( The default setting is 'auto-update' but I do not think it did an update.) The camera does 'just work' using GUI on my phone. It is low resolution, but pictures are not bad. Any chance your privacy switches were changed ? I always look for the simplest answers first, then, work up from there. Good Luck, BC RE: Camera support progress - aancel - 07-08-2020 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?tid=10578&pid=71117#pid71117) Code: dmesg | grep -E "(csi|ov5640)" Code: sudo systemctl status pinephone-camera-setup Code: media-ctl -p 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 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 ! RE: Camera support progress - aancel - 07-08-2020 I've toyed a bit with the /usr/bin/pinephone-camera-setup.sh script. I am able to get the front camera working by supplying the "front" argument to the script, then opening the camera app ! (The image is vertically flipped apparently) Not supplying arguments should end up in using the back camera if I understand well ? In my case, I end up in the same situation as I have previously described (a few clicking noises and then no image in the camera app) Do tell me if I can test anything to help debug this issue ! RE: Camera support progress - a-wai - 07-09-2020 (07-08-2020, 02:17 PM)aancel Wrote: Not supplying arguments should end up in using the back camera if I understand well ?That's what would be expected, yes. Can you paste the ouput from 'media-ctl -p -d /dev/media1' and 'v4l2-ctl --list-devices' please? RE: Camera support progress - aancel - 07-09-2020 Thanks for the answer ! Here are the command outputs: Code: media-ctl -p -d /dev/media1 Code: v4l2-ctl --list-devices Let me know if I can try something else to get the camera working ! (I've tried modifying the pinephone-camera-setup.sh script but still without success, are there other places I can have a look at ?) RE: Camera support progress - a-wai - 07-13-2020 IMPORTANT: after discussing with the gnome-camera maintainer, we agreed to rename the package to "pinhole" (not an official GNOME software, and we needed a less generic name than "camera" for future integration in Debian) Therefore, "gnome-camera" won't be updated anymore, and you have to install the new package manually using `sudo apt install pinhole` Note: next upgrade WILL break gnome-camera RE: Camera support progress - paju1986 - 07-13-2020 (07-13-2020, 05:28 AM)a-wai Wrote: IMPORTANT: after discussing with the gnome-camera maintainer, we agreed to rename the package to "pinhole" (not an official GNOME software, and we needed a less generic name than "camera" for future integration in Debian) Why not just upstream the needed patches to gnome camera instead of making a fork?? RE: Camera support progress - a-wai - 07-13-2020 (07-13-2020, 05:41 AM)paju1986 Wrote: Why not just upstream the needed patches to gnome camera instead of making a fork??It's not a fork: upstream has been renamed from "gnome-camera" to "camera". Naming it "pinhole" for Debian/Mobian doesn't require any patch, and it's a joint decision between the upstream author and myself (a package named "camera" would likely not be accepted in Debian, as the name is far too generic). RE: Camera support progress - aancel - 07-14-2020 Hello, Regarding the issue I'm encountering (see the previous posts), I've switched to the pinhole application, but I'm still encountering the same issue as before. Just to help me eliminate or confirm a potential hardware issue with my device, can anyone having success with using the camera confirm me or not that they here a clicking noise (located around the camera in the back) at some point either during bootup or during the camera app launch ? (I'm hearing at least 3 during the camera app launch, and one at boot) I'm also able to consistently reproduce this "noise" using the following command: Code: while true; do sudo /usr/bin/pinephone-camera-setup.sh; sleep 1; done Thanks in advance for you help ! RE: Camera support progress - a-wai - 07-14-2020 The clicking sounds are normal, yes. Also, the logs you pasted in your previous message look perfectly normal, I have no idea why it's not working for you tbh... |