Hello all, maybe somebody can help me out with this:
I checked already the forum search but didnt find exactly what is my problem.
My problem: i use USB webcam from Philips with pwc drivers:
lsusb gives this:
Bus 002 Device 003: ID 0471:0311 Philips PCVC740K ToUcam Pro [pwc]
xawtv works fine.
When I add the new camera to zm i was not sure how to enter the device channel and device path:
path:
dev/video
or
dev/video0
or
/dev/video
or
/dev/video0
and channel ? what is needed here exactly. Isn t the 0 from video0 the channel ?
The logfile gives me this:
03/04/06 11:11:29.237592 zmdc[14054].INF ['zmc -d /dev/video' starting at 06/03/04 11:11:29, pid = 27091]
03/04/06 11:11:29.566561 zmdc[14054].ERR ['zmc -d /dev/video' crashed, exit status 255]
03/04/06 11:11:39.653827 zmdc[27095].INF ['zmc -d /dev/video' started at 06/03/04 11:11:39]
03/04/06 11:11:39.662196 zmdc[14054].INF ['zmc -d /dev/video' starting at 06/03/04 11:11:39, pid = 27095]
OK not forget to mention, I get no image in zm, but in xawtv
Ok one last question what is the meaning of the different colours in the web page for function and source.
I see green, red and yellow?
Questions and questions.
If someone can get me some ideas here would be very appreciated.
regards wolfram
add USB camera device in zm doesnt work , xawt works fine
-
- Posts: 10
- Joined: Fri Mar 03, 2006 5:51 pm
try adjusting color pallette and resolution
I had to try every pallette setting to get a picture, the last one in the list worked.
Also make sure the resolution values are filled in and are correct.
Also make sure the resolution values are filled in and are correct.
-
- Posts: 10
- Joined: Fri Mar 03, 2006 5:51 pm
colors
Yellow means the device settings are correct and the camera is ready to go.
Red means it isnt working.
I think green is for Record mode.
Red means it isnt working.
I think green is for Record mode.
Camera switches on and off again
when I run XAWTV the camera LED lights are on. And I see the picture with xawtv, when I change to zoneminder the leds went off again. xawtv switchs them on again. I assume the driver does somewhat invalid to the webcam what the "camera doesn t like".
I tried nearly all settings but no image at all.
How can I find out if and what exactly zoneminder tries to do ?
wolfram
I tried nearly all settings but no image at all.
How can I find out if and what exactly zoneminder tries to do ?
wolfram
wolfram
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I'm using pwc drivers with a logitech quickcam 4000. My settings for this cam:
Source type is local
Device Path is /dev/video0 (it should tell you in the output of 'dmesg' which video device it attaches to)
Device channel is 0
Device format is 1
Capture Pallette is YUV420p
Cature width 320
Capture height 280
I don't think i changed any of the other options under source. I got these values by running:
zmu -q -d/dev/video0 -v
and....
v4l-info /dev/video0
NOTE: make sure ZM, xawtv, or anything else using the webcam is off when you do the above.
---------
Hope this helps.
Source type is local
Device Path is /dev/video0 (it should tell you in the output of 'dmesg' which video device it attaches to)
Device channel is 0
Device format is 1
Capture Pallette is YUV420p
Cature width 320
Capture height 280
I don't think i changed any of the other options under source. I got these values by running:
zmu -q -d/dev/video0 -v
and....
v4l-info /dev/video0
NOTE: make sure ZM, xawtv, or anything else using the webcam is off when you do the above.
---------
Hope this helps.
debug switch on
Hello all,
thank you for the replys.
I did try to set the debug flags (_zmc and level 9) , I restarted zm , but where are the additional debug files created
in the zmdc.log i get the following:
*** glibc detected *** realloc(): invalid next size: 0x0db06ab0 ***
03/08/06 21:25:40.696443 zmdc[13280].INF ['zmc -d /dev/video0' died, signal 6]
03/08/06 21:25:50.787054 zmdc[13447].INF ['zmc -d /dev/video0' started at 06/03/08 21:25:50]
03/08/06 21:25:50.791946 zmdc[13280].INF ['zmc -d /dev/video0' starting at 06/03/08 21:25:50, pid = 13447]
*** glibc detected *** realloc(): invalid next size: 0x0db06ab0 ***
03/08/06 21:25:51.208060 zmdc[13280].INF ['zmc -d /dev/video0' died, signal 6]
and the following in zmwatch
....
r/local/bin/zmwatch.pl line 118
03/08/06 21:28:37.724205 zmwatch[13324].INF [Restarting capture daemon for garage, shared memory not valid]
03/08/06 21:28:39.045767 zmwatch[13324].INF ['zmc -d /dev/video0' starting at 06/03/08 21:28:38, pid = 13771] at /usr/local/bin/zmwatch.pl line 118
03/08/06 21:28:49.052649 zmwatch[13324].INF [Restarting capture daemon for garage, shared memory not valid]
03/08/06 21:28:50.317183 zmwatch[13324].INF ['zmc -d /dev/video0' started at 06/03/08 21:28:50] at /usr/local/bin/zmwatch.pl line 118
....
What is the problem with the shared memory ? and how can I solve that ?
Regards Wolfram
thank you for the replys.
I did try to set the debug flags (_zmc and level 9) , I restarted zm , but where are the additional debug files created
in the zmdc.log i get the following:
*** glibc detected *** realloc(): invalid next size: 0x0db06ab0 ***
03/08/06 21:25:40.696443 zmdc[13280].INF ['zmc -d /dev/video0' died, signal 6]
03/08/06 21:25:50.787054 zmdc[13447].INF ['zmc -d /dev/video0' started at 06/03/08 21:25:50]
03/08/06 21:25:50.791946 zmdc[13280].INF ['zmc -d /dev/video0' starting at 06/03/08 21:25:50, pid = 13447]
*** glibc detected *** realloc(): invalid next size: 0x0db06ab0 ***
03/08/06 21:25:51.208060 zmdc[13280].INF ['zmc -d /dev/video0' died, signal 6]
and the following in zmwatch
....
r/local/bin/zmwatch.pl line 118
03/08/06 21:28:37.724205 zmwatch[13324].INF [Restarting capture daemon for garage, shared memory not valid]
03/08/06 21:28:39.045767 zmwatch[13324].INF ['zmc -d /dev/video0' starting at 06/03/08 21:28:38, pid = 13771] at /usr/local/bin/zmwatch.pl line 118
03/08/06 21:28:49.052649 zmwatch[13324].INF [Restarting capture daemon for garage, shared memory not valid]
03/08/06 21:28:50.317183 zmwatch[13324].INF ['zmc -d /dev/video0' started at 06/03/08 21:28:50] at /usr/local/bin/zmwatch.pl line 118
....
What is the problem with the shared memory ? and how can I solve that ?
Regards Wolfram
wolfram
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I'm in the same boat, USB logitech quickcam works in xawtv (with warnings) but didn't in zm. First step was getting the cam working in xawtv - I went to qce-ga.sourceforge.net and got those drivers running (had to install gcc to set that up...)
Already had ZM running with a 4-port BT card as /dev/video0, so the USB cam appeared as /dev/video1
Then I ran v4l-info /dev/video1 and found the cam has a strange capture resolution - once I put that into the ZM window, all was good. Thanks for the tip!
tom
Already had ZM running with a 4-port BT card as /dev/video0, so the USB cam appeared as /dev/video1
Then I ran v4l-info /dev/video1 and found the cam has a strange capture resolution - once I put that into the ZM window, all was good. Thanks for the tip!
tom