-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Local camera : Device or ressource busy #3104
Comments
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template! |
Couldn't upload the debug log txt so there is a link to it so there is a link to it: https://gofile.io/d/wUz6E8 |
Since the link died I'm reposting a part of the log level 9 file :
|
We are likely not going to be able to fix this without access to this card to test against. Would that be possible? In the meantime, I have changed the code in master to make this a non-fatal error. So please update and report. |
Thank you for taking time ! Yes that is doable, how do you want to proceed? |
I updated the software I can now access the video stream even if the image is a bit shaky and glitchy but the driver tw68 generates tons of system error messages (it was doing the same when I used LibVLC as source so probably a tw68 issue) :
I still have the error but not fatal as it was planned :
The real issue is that I still cannot use 2 cameras on the the same device but using different channel. When I try to do so, none of them are working, I have this new fatal error "[Unable to initialise memory mapping: Device or resource busy]" and I get this logs (level 9) :
|
@connortechnology Do you need anything else? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Environment
Describe the bug
I use analog cameras with a 4ch capture card using the tw68 driver (2 devices video0&1 both having 2 channels 0&1) . When I set up the monitor with source type Local I get a fatal error Device or ressource busy, whatever palett color, video format PAL/NTCS, video size I put. I also tried with different brand of cameras nothing seems to work beside using LibVLC as a source type to use a VLC stream as a workaround but it can only work with one channel per device. I also found others pretty similar closed issue #2406, #733, and #2405 but with no solutions. I also read that some people didn't had this issue with the kernel 3 and before as they had to manually install the driver. Starting with kernel 4, the tw68 driver was rewritten to be directly into inside.
To Reproduce
Using a tw68 analog card with any analog camera and a linux kernel in version 4 minimum.
Expected behavior
Zoneminder to access the video stream of the camera.
Debug Logs
On the web interface :
This is all I know, hope someone will have an idea of what i could do. I join a file with a part of my debug log level 9, tell me what I could add to help you understanding what is happening.
The text was updated successfully, but these errors were encountered: