No camera feed on ubuntu

Forum for questions and support relating to the 1.24.x releases only.
Locked
aloishis89
Posts: 2
Joined: Mon Jun 15, 2009 2:58 am

No camera feed on ubuntu

Post by aloishis89 »

I have zone minder working to a point. I am using 2 webcams, one of them is built into my aspire one running ubuntu 9.04. When I try to see a feed from either camera (they are both set up as monitors), I only get a black screen with no time stamp. The other is a usb logitech. I installed gspcav and am able to see the logitech camera from xawtv. I can't see the laptop camera from it, but I can see it from skype. Here are chunks from my various log files:

[zmdc.log]
-------------
06/14/09 23:11:27.071864 zmdc[2738].INF ['zmc -d /dev/video0' starting at 09/06/14 23:11:27, pid = 8410]
06/14/09 23:11:27.198275 zmdc[2738].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
06/14/09 23:11:27.468011 zmdc[2738].INF ['zmc -d /dev/video1' starting at 09/06/14 23:11:27, pid = 8412]
06/14/09 23:11:27.605712 zmdc[2738].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
06/14/09 23:11:38.021649 zmdc[2738].INF ['zmc -d /dev/video0' starting at 09/06/14 23:11:38, pid = 8423]
06/14/09 23:11:38.216620 zmdc[2738].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
06/14/09 23:11:38.772847 zmdc[2738].INF ['zmc -d /dev/video1' starting at 09/06/14 23:11:38, pid = 8428]
06/14/09 23:11:38.920417 zmdc[2738].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]


[zmwatch.log]
-----------------
06/14/09 23:12:21.986719 zmwatch[2773].INF ['zmc -d /dev/video0' starting at 09/06/14 23:12:21, pid = 8473]
06/14/09 23:12:21.988149 zmwatch[2773].INF [Restarting capture daemon for battery, shared memory not valid]
06/14/09 23:12:22.420813 zmwatch[2773].INF ['zmc -d /dev/video1' starting at 09/06/14 23:12:22, pid = 8478]
06/14/09 23:12:32.423351 zmwatch[2773].INF [Restarting capture daemon for main, shared memory not valid]
06/14/09 23:12:32.955933 zmwatch[2773].INF ['zmc -d /dev/video0' starting at 09/06/14 23:12:32, pid = 8486]
06/14/09 23:12:32.957316 zmwatch[2773].INF [Restarting capture daemon for battery, shared memory not valid]
06/14/09 23:12:33.472041 zmwatch[2773].INF ['zmc -d /dev/video1' starting at 09/06/14 23:12:33, pid = 8488]


[/var/log/syslog]
--------------------
Jun 14 23:14:12 hunter-aspire zmc_dvideo0[8606]: INF [Debug Level = 0, Debug Log = <none>]
Jun 14 23:14:12 hunter-aspire zmc_dvideo0[8606]: ERR [Failed to set picture attributes: Invalid argument]
Jun 14 23:14:12 hunter-aspire zmdc[2738]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jun 14 23:14:12 hunter-aspire zmdc[2738]: INF ['zmc -d /dev/video1' starting at 09/06/14 23:14:12, pid = 8608]
Jun 14 23:14:12 hunter-aspire zmdc[8608]: INF ['zmc -d /dev/video1' started at 09/06/14 23:14:12]
Jun 14 23:14:12 hunter-aspire zmwatch[2773]: INF ['zmc -d /dev/video1' starting at 09/06/14 23:14:12, pid = 8608]
Jun 14 23:14:12 hunter-aspire zmc_dvideo1[8608]: INF [Debug Level = 0, Debug Log = <none>]
Jun 14 23:14:13 hunter-aspire zmc_dvideo1[8608]: ERR [Failed to set picture attributes: Invalid argument]
Jun 14 23:14:13 hunter-aspire zmdc[2738]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]


[var/log/dmesg]
-------------------
[ 12.409870] uvcvideo: Found UVC 1.00 device <unnamed> (046d:09a1)
[ 12.415241] input: UVC Camera (046d:09a1) as /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/input/input8
[ 12.433636] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0)
[ 12.436803] input: USB 2.0 Camera as /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/input/input9
[ 12.437089] ath5k_pci 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 12.437133] ath5k_pci 0000:03:00.0: setting latency timer to 64
[ 12.437268] ath5k_pci 0000:03:00.0: registered as 'phy0'
[ 12.487052] phy0: Selected rate control algorithm 'pid'
[ 12.498122] usbcore: registered new interface driver uvcvideo
[ 12.498208] USB Video Class driver (v0.1.0)
[ 12.574657] synaptics was reset on resume, see synaptics_resume_reset if you have trouble on resume



Sorry if any of that is repetitive, but I am not 100% sure what it all means. Is this just driver problems? Let me know if I should post any more output from different commands. I would appreciate any help, even a point in the right direction.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Guiding you to the solution

you here the main problem

06/14/09 23:12:21.988149 zmwatch[2773].INF [Restarting capture daemon for battery, shared memory not valid]

look at the documentation in the wiki
http://www.zoneminder.com/wiki/index.php/Documentation
aloishis89
Posts: 2
Joined: Mon Jun 15, 2009 2:58 am

Post by aloishis89 »

Well, I messed with some stuff, and I have some fresh new errors :)

[zmdc.log]
06/16/09 20:18:56.099237 zmdc[2679].INF [Starting pending process, zmc -d /dev/video1]
06/16/09 20:18:56.102248 zmdc[2679].INF ['zmc -d /dev/video1' starting at 09/06/16 20:18:56, pid = 5674]
06/16/09 20:18:56.224197 zmdc[2679].ERR ['zmc -d /dev/video1' exited abnormally, exit status 6]
06/16/09 20:21:45.075037 zmdc[2679].INF [Starting pending process, zmc -d /dev/video0]
06/16/09 20:21:45.077135 zmdc[2679].INF ['zmc -d /dev/video0' starting at 09/06/16 20:21:45, pid = 6287]
06/16/09 20:21:45.184635 zmdc[2679].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]

And whenever I try to look at the monitor, the page loads continually and says it is waiting for localhost (I am running the server locally).
Locked