Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Arducam drivers as well? #201

Open
RoganDawes opened this issue Jun 14, 2022 · 5 comments
Open

Install Arducam drivers as well? #201

RoganDawes opened this issue Jun 14, 2022 · 5 comments

Comments

@RoganDawes
Copy link

Hi folks,

I have purchased a couple of Arducam cameras in their recent kickstarter. These are super high resolution, and super tiny, etc. However, they need special drivers, as per this page: https://www.arducam.com/docs/cameras-for-raspberry-pi/raspberry-pi-libcamera-guide/

And yes, while this needs libcamera, and I know that uvc-gadget does not yet support libcamera, I see that after installing the above drivers, I now get a /dev/video0 that I never did before, using the available downloads from this project. So, I guess I am asking whether it may be possible to get a build such as sdcard-raspberrypi0-arducam-8e9f9ac.img.zip, that has the Arducam drivers preloaded instead of the usual Pi Foundation-provided ones?

I will check to see whether it is just the kernel drivers that are required to get /dev/video0 to show up, or whether the entire Glamor/KMS steps are required.

@dgsiegel
Copy link
Contributor

I am currently working on being able to add different boards/cameras more easily: #197

As uvc-gadget does not support libcamera yet, we still have to rely on legacy mode. So if you're able to get a V4L2 interface with the Arducam drivers, it should be pretty easy to integrate it.

@RoganDawes
Copy link
Author

Sounds great!

Thanks for the quick response!

@kbingham
Copy link

Has anyone tried to 'libcamerify uvc-gadget' ?

I made the libcamerify script to help test the v4l2 adaptation layer, which should work with uvc-gadget' I expect. It won't support changing controls (yet) but it might be an interim solution.

We're hoping to get an updated release of our uvc gadget with libcamera support out in the nearish future, but I'm not sure how long it will be untill we can start working on it.

@dgsiegel
Copy link
Contributor

Has anyone tried to 'libcamerify uvc-gadget' ?

Yeah, when we've been talking on discord. Unfortunately I hadn't much success and kept testing with the legacy drivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants