Page 1 of 1

Creative Webcam Live!

Posted: Tue Mar 10, 2009 2:57 am
by chandi
Hi,

I've been trying to make my creative Live! webcams work under Zoneminder with no success.

Yesterday I got it working with xawtv but I had nothing with zoneminder. I was using driver gspcav1 (the latest from gentoo repository) with kernel 2.6.22 .

Today I've read that the newest gspca drivers were included in kernel 2.6.27 so I upgraded to it. It detects my webcam and loads the modules. xawtv shows no image, just a black window but doing "cat /dev/video0 > test.jpg" gives me working jpg images.

the /var/log/messages gives me this :

Code: Select all

Mar  9 22:44:26 goa zmpkg[20054]: INF [Command: start]
Mar  9 22:44:26 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/bin/true
Mar  9 22:44:26 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl check
Mar  9 22:44:26 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmfix
Mar  9 22:44:26 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl startup
Mar  9 22:44:27 goa zmdc[20064]: INF [Server starting at 09/03/09 22:44:27]
Mar  9 22:44:30 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmc -d /dev/video0
Mar  9 22:44:30 goa zmdc[20090]: INF ['zmc -d /dev/video0' started at 09/03/09 22:44:30]
Mar  9 22:44:30 goa zmdc[20064]: INF ['zmc -d /dev/video0' starting at 09/03/09 22:44:30, pid = 20090]
Mar  9 22:44:30 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmfilter.pl
Mar  9 22:44:30 goa zmc_dvideo0[20090]: INF [Debug Level = 0, Debug Log = <none>]
Mar  9 22:44:30 goa zmc_dvideo0[20090]: INF [Starting Capture]
Mar  9 22:44:31 goa zmdc[20064]: INF ['zmfilter.pl' starting at 09/03/09 22:44:31, pid = 20096]
Mar  9 22:44:31 goa zmdc[20096]: INF ['zmfilter.pl' started at 09/03/09 22:44:31]
Mar  9 22:44:31 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmaudit.pl -c
Mar  9 22:44:31 goa zmdc[20064]: INF ['zmaudit.pl -c' starting at 09/03/09 22:44:31, pid = 20098]
Mar  9 22:44:31 goa zmdc[20098]: INF ['zmaudit.pl -c' started at 09/03/09 22:44:31]
Mar  9 22:44:31 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmwatch.pl
Mar  9 22:44:32 goa [ 8094.449615] zc3xx: probe 2wr ov vga 0x0000
Mar  9 22:44:32 goa [ 8094.707659] uhci_hcd 0000:00:1f.2: reserve dev 3 ep81-ISO, period 1, phase 0, 608 us
Mar  9 22:44:32 goa zmc_dvideo0[20090]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Mar  9 22:44:32 goa zmc_dvideo0[20090]: ERR [Failed to post-capture monitor 0]
Mar  9 22:44:32 goa [ 8094.759608] uhci_hcd 0000:00:1f.2: release dev 3 ep81-ISO, period 1, phase 0, 608 us
Mar  9 22:44:32 goa zmdc[20064]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Mar  9 22:44:32 goa zmdc[20064]: INF [Starting pending process, zmc -d /dev/video0]
Mar  9 22:44:32 goa zmdc[20064]: INF ['zmc -d /dev/video0' starting at 09/03/09 22:44:32, pid = 20100]
Mar  9 22:44:32 goa zmdc[20100]: INF ['zmc -d /dev/video0' started at 09/03/09 22:44:32]
Mar  9 22:44:32 goa zmc_dvideo0[20100]: INF [Debug Level = 0, Debug Log = <none>]
Mar  9 22:44:32 goa zmc_dvideo0[20100]: INF [Starting Capture]
Mar  9 22:44:33 goa zmdc[20109]: INF ['zmwatch.pl' started at 09/03/09 22:44:33]
Mar  9 22:44:33 goa zmdc[20064]: INF ['zmwatch.pl' starting at 09/03/09 22:44:33, pid = 20109]
Mar  9 22:44:33 goa sudo:     root : TTY=pts/5 ; PWD=/var/www/zoneminder/htdocs ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmupdate.pl -c
Mar  9 22:44:33 goa zmfilter[20096]: INF [Scanning for events]
Mar  9 22:44:34 goa zmwatch[20109]: INF [Watchdog starting]
Mar  9 22:44:34 goa zmwatch[20109]: INF [Watchdog pausing for 30 seconds]
Mar  9 22:44:34 goa zmdc[20113]: INF ['zmupdate.pl -c' started at 09/03/09 22:44:34]
Mar  9 22:44:34 goa zmdc[20064]: INF ['zmupdate.pl -c' starting at 09/03/09 22:44:34, pid = 20113]
Mar  9 22:44:34 goa [ 8096.618512] zc3xx: probe 2wr ov vga 0x0000
Mar  9 22:44:34 goa [ 8096.898514] uhci_hcd 0000:00:1f.2: reserve dev 3 ep81-ISO, period 1, phase 0, 608 us
Mar  9 22:44:34 goa zmc_dvideo0[20100]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Mar  9 22:44:34 goa zmc_dvideo0[20100]: ERR [Failed to post-capture monitor 0]
Mar  9 22:44:34 goa [ 8096.950482] uhci_hcd 0000:00:1f.2: release dev 3 ep81-ISO, period 1, phase 0, 608 us
Mar  9 22:44:34 goa zmdc[20064]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Mar  9 22:44:39 goa zmdc[20064]: INF [Starting pending process, zmc -d /dev/video0]
Mar  9 22:44:39 goa zmdc[20199]: INF ['zmc -d /dev/video0' started at 09/03/09 22:44:39]
Mar  9 22:44:39 goa zmdc[20064]: INF ['zmc -d /dev/video0' starting at 09/03/09 22:44:39, pid = 20199]
Mar  9 22:44:39 goa zmc_dvideo0[20199]: INF [Debug Level = 0, Debug Log = <none>]
Mar  9 22:44:39 goa zmc_dvideo0[20199]: INF [Starting Capture]
Mar  9 22:44:40 goa [ 8102.776181] zc3xx: probe 2wr ov vga 0x0000
Mar  9 22:44:40 goa [ 8103.052195] uhci_hcd 0000:00:1f.2: reserve dev 3 ep81-ISO, period 1, phase 0, 608 us
Mar  9 22:44:41 goa zmc_dvideo0[20199]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Mar  9 22:44:41 goa zmc_dvideo0[20199]: ERR [Failed to post-capture monitor 0]
Mar  9 22:44:41 goa [ 8103.106151] uhci_hcd 0000:00:1f.2: release dev 3 ep81-ISO, period 1, phase 0, 608 us
Mar  9 22:44:41 goa zmdc[20064]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

Are there any chances it will work ? Should I go back to my 2.6.22 kernel with gspcav1 instead of the newer gspcav2 included in 2.6.27 ?

Any ideas on the next steps I should try ?

Thanks,

Chandi