Creative Live! Cam Notebook Pro on Debian Squeeze

Forum for questions and support relating to the 1.24.x releases only.
Locked
zorrua
Posts: 7
Joined: Thu Jan 27, 2011 6:02 pm

Creative Live! Cam Notebook Pro on Debian Squeeze

Post by zorrua »

Hello forum! This is my first post in this forum.

I have a Debian Squeeze machine, I want to add a webcam to get working with ZoneMinder.

I add the webcam but I can get good image on the web.

This is my webcam info:

Code: Select all

# lsusb 
Bus 003 Device 004: ID 041e:4051 Creative Technology, Ltd Live! Cam Notebook Pro [VF0250]

Code: Select all

# v4l-info /dev/video0 

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
	driver                  : "zc3xx"
	card                    : "USB Camera (041e:4051)"
	bus_info                : "usb-0000:00:04.0-4"
	version                 : 2.9.0
	capabilities            : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
	index                   : 0
	name                    : "zc3xx"
	type                    : CAMERA
	audioset                : 0
	tuner                   : 0
	std                     : 0x0 []
	status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
	index                   : 0
	type                    : VIDEO_CAPTURE
	flags                   : 1
	description             : "JPEG"
	pixelformat             : 0x4745504a [JPEG]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
	type                    : VIDEO_CAPTURE
	fmt.pix.width           : 320
	fmt.pix.height          : 240
	fmt.pix.pixelformat     : 0x4745504a [JPEG]
	fmt.pix.field           : NONE
	fmt.pix.bytesperline    : 320
	fmt.pix.sizeimage       : 29390
	fmt.pix.colorspace      : JPEG
	fmt.pix.priv            : 1

controls
    VIDIOC_QUERYCTRL(BASE+0)
	id                      : 9963776
	type                    : INTEGER
	name                    : "Brightness"
	minimum                 : 0
	maximum                 : 255
	step                    : 1
	default_value           : 128
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+1)
	id                      : 9963777
	type                    : INTEGER
	name                    : "Contrast"
	minimum                 : 0
	maximum                 : 255
	step                    : 1
	default_value           : 128
	flags                   : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
	name                    : "USB Camera (041e:4051)"
	type                    : 0x1 [CAPTURE]
	channels                : 1
	audios                  : 0
	maxwidth                : 640
	maxheight               : 480
	minwidth                : 48
	minheight               : 32

channels
    VIDIOCGCHAN(0)
	channel                 : 0
	name                    : "zc3xx"
	tuners                  : 0
	flags                   : 0x0 []
	type                    : CAMERA
	norm                    : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
    VIDIOCGAUDIO
	audio                   : 0
	volume                  : 0
	bass                    : 0
	treble                  : 0

picture
    VIDIOCGPICT
	brightness              : 32896
	hue                     : 0
	colour                  : 0
	contrast                : 32896
	whiteness               : 26214
	depth                   : 8
	palette                 : unknown

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
	x                       : 0
	y                       : 0
	width                   : 320
	height                  : 240
	chromakey               : 0
	flags                   : 0

How I must config the webcam on the web page?

I want to use it to detect motion and send to mail, but firstly I need to get a clear image on the web.

Thanks for all your help and best regards.
zorrua
Posts: 7
Joined: Thu Jan 27, 2011 6:02 pm

Re: Creative Live! Cam Notebook Pro on Debian Squeeze

Post by zorrua »

Hello again, I try all configurations on Monitor device:

Image
Image
Image
Image

But there is no way to get a correct image.

I need your help, I read lots of tutorial but there is no way to get it working.

Best regards.
rangerbob
Posts: 61
Joined: Sat Jun 06, 2009 3:40 am

Re: Creative Live! Cam Notebook Pro on Debian Squeeze

Post by rangerbob »

whats in your logs..

cat /var/log/syslog |grep zm |tail

cat /tmp/zmdc.log
cat /tmp/zmdc.log |tail

might be something there that might point to something you are doing or might need to do.
zorrua
Posts: 7
Joined: Thu Jan 27, 2011 6:02 pm

Re: Creative Live! Cam Notebook Pro on Debian Squeeze

Post by zorrua »

rangerbob wrote:whats in your logs..

cat /var/log/syslog |grep zm |tail

cat /tmp/zmdc.log
cat /tmp/zmdc.log |tail

might be something there that might point to something you are doing or might need to do.
Thanks for the reply, here are the output:

Code: Select all

# cat /var/log/syslog |grep zm |tail
Mar 14 17:50:55 upc zms[26365]: INF [New Debug Level = 9, New Debug Log = /var/log/zm/zm_debug.log.26365]
Mar 14 17:51:03 upc zmc_dvideo0[25974]: INF [Monitor-3: 15000 - Capturing at 11.11 fps]
Mar 14 17:52:26 upc zmdc[25052]: INF [Starting pending process, zmc -m 2]
Mar 14 17:52:26 upc zmdc[25052]: INF ['zmc -m 2' starting at 11/03/14 17:52:26, pid = 26372]
Mar 14 17:52:26 upc zmdc[26372]: INF ['zmc -m 2' started at 11/03/14 17:52:26]
Mar 14 17:52:26 upc zmc_m2[26372]: INF [Debug Level = 0, Debug Log = <none>]
Mar 14 17:52:26 upc zmc_m2[26372]: INF [New Debug Level = 9, New Debug Log = /var/log/zm/zm_debug.log.26372]
Mar 14 17:52:26 upc zmc_m2[26372]: ERR [No monitors found]
Mar 14 17:52:26 upc zmdc[25052]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Mar 14 17:52:33 upc zmc_dvideo0[25974]: INF [Monitor-3: 16000 - Capturing at 11.11 fps]

Code: Select all

# cat /tmp/zmdc.log |tail
03/14/2011 17:32:28.296140 zmdc[25052].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
03/14/2011 17:32:32.338916 zmdc[25052].INF [Command 'zmc -d /dev/video0' removed from pending list at 11/03/14 17:32:32]
03/14/2011 17:32:32.753696 zmdc[25052].INF ['zmc -d /dev/video0' starting at 11/03/14 17:32:32, pid = 25974]
03/14/2011 17:32:33.177244 zmdc[25052].WAR [Can't find process with command of 'zma -m 3']
03/14/2011 17:42:26.043083 zmdc[25052].INF [Starting pending process, zmc -m 2]
03/14/2011 17:42:26.044620 zmdc[25052].INF ['zmc -m 2' starting at 11/03/14 17:42:26, pid = 26216]
03/14/2011 17:42:26.096059 zmdc[25052].ERR ['zmc -m 2' exited abnormally, exit status 255]
03/14/2011 17:52:26.029865 zmdc[25052].INF [Starting pending process, zmc -m 2]
03/14/2011 17:52:26.031641 zmdc[25052].INF ['zmc -m 2' starting at 11/03/14 17:52:26, pid = 26372]
03/14/2011 17:52:26.149683 zmdc[25052].ERR ['zmc -m 2' exited abnormally, exit status 255]
How can I get more debug info?

I am using Debian Squeeze with v1.24.2.

Kind regards.
Locked