Page 1 of 1

Quickcam Express USB showing distorted image

Posted: Thu Mar 13, 2014 12:54 pm
by patpend
Hi all, I am setting up ZoneMinder for the first time, installed onto Ubuntu 10.04 using apt-get (v1.24.2). While waiting for my IP camera to arrive I decided to try the Logitech Quickcam Express I had laying around. Ubuntu recognized the camera immediately at /dev/video0. The camera is working - you can tell it responds to changes in the scene - but the image is totally distorted. Tried many combinations of format/palatte/width/height, nothing helped. Currently using PAL/YUV420/320/240 yields the image shown in the attached screenshot. Any help would be much appreciated - thank you.

Russ
"pat pend"

PS: /var/log/messages shows the following:

Mar 13 08:17:59 myhost kernel: [38222.270086] usb 5-2: new full speed USB device using ohci_hcd and address 3
Mar 13 08:17:59 myhost kernel: [38222.469481] usb 5-2: configuration #1 chosen from 1 choice
Mar 13 08:17:59 myhost kernel: [38222.471431] STV06xx: Probing for a stv06xx device
Mar 13 08:17:59 myhost kernel: [38222.471438] gspca: probing 046d:0870
Mar 13 08:17:59 myhost kernel: [38222.471444] STV06xx: Configuring camera
Mar 13 08:17:59 myhost kernel: [38222.489286] STV06xx: HDCS-1020 sensor detected
Mar 13 08:17:59 myhost kernel: [38222.489296] STV06xx: Initializing camera
Mar 13 08:18:00 myhost kernel: [38222.792422] gspca: probe ok
Mar 13 08:18:02 myhost zmdc[2891]: INF [Starting pending process, zmc -d /dev/video0]
Mar 13 08:18:02 myhost zmdc[2891]: INF ['zmc -d /dev/video0' starting at 14/03/13 08:18:02, pid = 5737]
Mar 13 08:18:02 myhost zmdc[5737]: INF ['zmc -d /dev/video0' started at 14/03/13 08:18:02]
Mar 13 08:18:02 myhost zmc_dvideo0[5737]: INF [Debug Level = 0, Debug Log = <none>]
Mar 13 08:18:02 myhost zmc_dvideo0[5737]: INF [Starting Capture]
Mar 13 08:18:02 myhost zmc_dvideo0[5737]: WAR [Contrast control is not suppported]
Mar 13 08:18:02 myhost zmc_dvideo0[5737]: WAR [Brightness control is not suppported]
Mar 13 08:18:02 myhost zmc_dvideo0[5737]: INF [Brightness 1 0]
Mar 13 08:18:02 myhost zmc_dvideo0[5737]: WAR [Hue control is not suppported]
Mar 13 08:18:02 myhost zmc_dvideo0[5737]: WAR [Saturation control is not suppported]

Re: Quickcam Express USB showing distorted image

Posted: Thu Mar 13, 2014 4:10 pm
by nixnooi
Somewhere in the back of my mind I feel Logitech Quickcam Express is a problem child.

see here ... http://ubuntuforums.org/showthread.php?t=1518477

I know I have used this driver in the past:
http://qce-ga.sourceforge.net/

Does it play nice with vlc ?

Re: Quickcam Express USB showing distorted image

Posted: Thu Mar 13, 2014 11:28 pm
by patpend
nixnooi wrote:Does it play nice with vlc ?
I am running headless, so no gui. But your links led me to this patch which seems on point:

bugzilla (dot) kernel (dot) org (slash) show_bug.cgi?id=14036#c8 (Sorry, I could not post the actual URL because the forum software thought it looked too spammy).

Now I just have to figure out if I can simply patch or update the module and dynamically reload it. I'd like to avoid recompiling the kernel if possible.

EDIT: Got it working in 320x240 using the info in this post:
http://www.zoneminder.com/forums/viewto ... 753#p80753

Thank you.