Skip to content

Conversation

@sletteland
Copy link
Contributor

This allows very simple/primitive cameras to work out of the box . (like USB cameras using the gspca driver )

simple/primitive USB cameras ( for example using the gspsa driver ) do not work properly with ZoneMinder (zmc keeps crashing )

for example : 0c45:6005 Microdia Sweex Mini Webcam ,

I propose a fix for that (patch against zm 37.40 / master dev )
This uses libv4l2 (https://github.com/philips/libv4l) for local USB cameras .

This allows very simple/primitive cameras to work out of the box .
(like for example USB cameras using the gspca driver )

A pull Request has just been made (sletteland/zoneminder branch libv4l2 )

root and others added 2 commits July 2, 2023 10:07
This allows very simple/primitive cameras to work out of the box .
(like USB cameras using the gspca driver )
@connortechnology
Copy link
Member

This is straight forward enough.

My understand in the past was that we could load v4l2 at runtime but I never got it to work. So perhaps this is the way to go.

We will need to add the lib to the package dependencies as well.

I am going to have to dig up my lego cam to see if this allows it to work!

@connortechnology
Copy link
Member

I think my issue with this is... it makes v4l2 a requirement... it should fall back to not using v4l2. So I'm not opposed to this, but we need #else conditions

@sletteland
Copy link
Contributor Author

sletteland commented Jul 2, 2025 via email

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

Successfully merging this pull request may close these issues.

2 participants