Unable to access webcam - Zoneminder 1.28.1
Posted: Thu Sep 17, 2015 12:34 am
I decided again to try zoneminder out again, after several years away. Unfortunately, I have not yet been able to get the webcam working as a monitor for zoneminder. I have been unable to find zmu error code definitions, nor troubleshooting for the zmu application to help and sort these issues out. I am able to access my webcam from Ubuntu for google hangouts, and can access the webcam from the command line with streamer, with an image or video recorded from the command line interface perfectly fine.
Webcam: Logitech C290
Zoneminder 1.28.1
Operating system Ubuntu Linux 14.04.2
Kernel and CPU Linux 3.16.0-49-generic on x86_64
Processor information Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz, 4 cores
Initially, zmu only gave me "error0", despite granting group permissions of rw, and adding data-www to the video group
After granting permissions of 777 to dev/video0, I would no longer get the "error0".
Now, I just get the below abbreviated message, not at all helpful.
user@server: zmu -d /dev/video0 -V1 --query -v
Video Device: /dev/video0
to round things out:
user@server: /dev$ zmu -d /dev/video0 -V0 --query -v
Error, failed to enumerate standard 0: Success
user@server:/dev$ zmu -d /dev/video0 -V2 --query -v
Error, failed to enumerate standard 0: Success
lsusb gives
Bus 002 Device 002: ID 8087:8001 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 002: ID 05a4:9881 Ortek Technology, Inc. IR receiver [VRC-1100 Vista MCE Remote Control]
Bus 003 Device 005: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 003 Device 004: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Within Zoneminder, the monitor text for /dev/video- is orange, and an attempt to probe the camera yields:
Unable to probe local cameras, status is '255'
The log reads:
2015-09-16 20:29:18.306177 web_php 19690 FAT Unable to probe local cameras, status is '255' /usr/share/zoneminder/skins/classic/views/monitorprobe.php 40
2015-09-16 20:29:18.300065 zmu 19698 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 20:28:57.021250 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 20:28:56.970950 zmdc 9126 WAR Can't find process with command of 'zmc -d /dev/video0' zmdc.pl
2015-09-16 20:28:56.919350 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 20:26:06.183465 zmu 19574 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 20:26:01.703948 zmu 19570 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 08:39:37.675901 web_php 2287 FAT Unable to probe local cameras, status is '255' /usr/share/zoneminder/skins/classic/views/monitorprobe.php 40
2015-09-16 08:39:37.670625 zmu 9240 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 08:39:24.370950 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 08:39:24.321360 zmdc 9126 WAR Can't find process with command of 'zmc -d /dev/video0' zmdc.pl
2015-09-16 08:39:24.269510 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 08:38:40.142530 zmwatch 9164 INF Watchdog pausing for 30 seconds zmwatch.pl
2015-09-16 08:38:40.140560 zmwatch 9164 INF Watchdog starting zmwatch.pl
2015-09-16 08:38:40.090960 zmdc 9164 INF 'zmwatch.pl' started at 15/09/16 08:38:40 zmdc.pl
Following a different thread with an odd solution, I also tried ensuring my apache2 servername was properly set (it wasn't, but once set, this didn't resolve the issue).
I would appreciate any help or direction you may be able to provide.
My plan is to eventually start adding IP cameras to serve as additional monitors, but am looking for a proof of concept / trial first.
Thanks!
Edit:
I confirmed the camera settings from here:
https://major.io/tag/video/
Still no dice.
The /video/dev0 text still shows in orange
Also, FYI, I had removed my zoneminder installation from the default Ubuntu repo early on, and installed from the 'official' zoneminder repository. Other issues were fixed (being able to click on the add new monitor button...), but then I ran into this problem.
Cheers
Webcam: Logitech C290
Zoneminder 1.28.1
Operating system Ubuntu Linux 14.04.2
Kernel and CPU Linux 3.16.0-49-generic on x86_64
Processor information Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz, 4 cores
Initially, zmu only gave me "error0", despite granting group permissions of rw, and adding data-www to the video group
After granting permissions of 777 to dev/video0, I would no longer get the "error0".
Now, I just get the below abbreviated message, not at all helpful.
user@server: zmu -d /dev/video0 -V1 --query -v
Video Device: /dev/video0
to round things out:
user@server: /dev$ zmu -d /dev/video0 -V0 --query -v
Error, failed to enumerate standard 0: Success
user@server:/dev$ zmu -d /dev/video0 -V2 --query -v
Error, failed to enumerate standard 0: Success
lsusb gives
Bus 002 Device 002: ID 8087:8001 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 002: ID 05a4:9881 Ortek Technology, Inc. IR receiver [VRC-1100 Vista MCE Remote Control]
Bus 003 Device 005: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 003 Device 004: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Within Zoneminder, the monitor text for /dev/video- is orange, and an attempt to probe the camera yields:
Unable to probe local cameras, status is '255'
The log reads:
2015-09-16 20:29:18.306177 web_php 19690 FAT Unable to probe local cameras, status is '255' /usr/share/zoneminder/skins/classic/views/monitorprobe.php 40
2015-09-16 20:29:18.300065 zmu 19698 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 20:28:57.021250 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 20:28:56.970950 zmdc 9126 WAR Can't find process with command of 'zmc -d /dev/video0' zmdc.pl
2015-09-16 20:28:56.919350 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 20:26:06.183465 zmu 19574 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 20:26:01.703948 zmu 19570 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 08:39:37.675901 web_php 2287 FAT Unable to probe local cameras, status is '255' /usr/share/zoneminder/skins/classic/views/monitorprobe.php 40
2015-09-16 08:39:37.670625 zmu 9240 ERR Failed to enumerate standard 0: Inappropriate ioctl for device zm_local_camera.cpp 1287
2015-09-16 08:39:24.370950 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 08:39:24.321360 zmdc 9126 WAR Can't find process with command of 'zmc -d /dev/video0' zmdc.pl
2015-09-16 08:39:24.269510 zmdc 9126 WAR Can't find process with command of 'zma -m 3' zmdc.pl
2015-09-16 08:38:40.142530 zmwatch 9164 INF Watchdog pausing for 30 seconds zmwatch.pl
2015-09-16 08:38:40.140560 zmwatch 9164 INF Watchdog starting zmwatch.pl
2015-09-16 08:38:40.090960 zmdc 9164 INF 'zmwatch.pl' started at 15/09/16 08:38:40 zmdc.pl
Following a different thread with an odd solution, I also tried ensuring my apache2 servername was properly set (it wasn't, but once set, this didn't resolve the issue).
I would appreciate any help or direction you may be able to provide.
My plan is to eventually start adding IP cameras to serve as additional monitors, but am looking for a proof of concept / trial first.
Thanks!
Edit:
I confirmed the camera settings from here:
https://major.io/tag/video/
Still no dice.
The /video/dev0 text still shows in orange
Also, FYI, I had removed my zoneminder installation from the default Ubuntu repo early on, and installed from the 'official' zoneminder repository. Other issues were fixed (being able to click on the add new monitor button...), but then I ran into this problem.
Cheers