Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

[BUG] Does not work with Raspberry Pi camera v1 #108

@simonachmueller

Description

@simonachmueller

I want to try out the Raspberry Pi camera for planetary imaging. I was able to compile latest master version on my Raspberry and get it running. My problem is that I can't start capturing with the camera (I'm using Raspberry Camera version 1.3)

To Reproduce
Steps to reproduce the behavior:

  1. run planetary imager (in my case with sudo)
  2. go to camera->open
    image
  3. when opening the first entry, I have following error messages in the console:
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
 WARNING -  V4L2 error (-1) Invalid argument (code: 22) on ioctl VIDIOC_ENUM_FMT (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92) 

Any other menu entry gives me
image

Expected behavior
I'm able to capture planetary video with the raspi camera.

Desktop (please complete the following information):

  • OS: Raspbian GNU/Linux 10 (buster)
  • Application Version commit 20a03b8 (HEAD -> master, tag: v0.7.70_20200214_ci146, origin/master, origin/HEAD)

Additional context
I think the raspberry camera support should be quite interesting, especially with the new HD camera they released lately.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions