OpenWrt Forum Archive

Topic: PWC and Quickcam - bad images

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I built the kernel with pwc built-in and also installed motion to grad images from my Logitech Quickcam Zoom. I insert module using insmod pwc power_save=1 (necessary for this camera). But the problem is all the images I got are greenish and distorted. Can someone help me? Got stuck on this and help is badly needed.

I am using Asus WL-500g with brcm-2.4

I check the dmesg which shows an error message:
pwc Video mode SIF@10 fps is only supported with the decompressor module (pwcx).

What does this mean and is there a parameter I need to set in motion.conf?

root@Asus01:~# lsmod
Module                  Size  Used by    Tainted: P 
pwc                    43368   0
videodev                8016   1 [pwc]
wlcompat               14944   0 (unused)
ehci-hcd               20556   0 (unused)
uhci                   29044   0 (unused)
ip_conntrack_tftp       1712   0 (unused)
ip_nat_irc              2336   0 (unused)
ip_conntrack_irc        3128   1
ip_nat_ftp              2960   0 (unused)
ip_conntrack_ftp        4272   1
ppp_async               7884   0 (unused)
ppp_generic            22300   0 [ppp_async]
slhc                    6064   0 [ppp_generic]
wl                    630776   0 (unused)
usbcore                71296   1 [pwc ehci-hcd uhci]
switch-robo             4540   0 (unused)
switch-core             4864   0 [switch-robo]
diag                   25520   0 (unused)


There was a thread here with similar problem but nobody answered ...
http://forum.openwrt.org/viewtopic.php?id=11559

Thanks!
Gary

Can you try to compile latest Kamikaze trunk (brcm47xx, 2.6 Kernel) with kmod-video-pwc and setpwc packages and the other related packages?

Maybe it works better with 2.6 Kernel. Can't help you with devices running OpenWrt and a 2.4 Kernel. I don't care about the 2.4 Kernel series anymore...

(Last edited by forum2008 on 8 Mar 2008, 09:45)

:-(

The reason I chose 2.4 is that I need the wifi and I have little budget left to replace Asus' wifi card with an atheros card because I have 20+ routers to be deployed...

Anybody with experience of pwc on 2.4? Or maybe you can suggest a cheap webcam with a working driver other than pwc on 2.4?

Thanks!

ok, I really wanted to get this work and I had a feeling that the problem was configuration - probably sampling too fast from the camera given the error msg. So I sat through the day and brute force different option combinations. Eventually, it turned out that I needed to set the width to 160 and height to 128 (in motion.conf), much smaller than the original default 320:240, even if the camera quickcom zoom itself can support 640:480. Now I can get tiny images but at least they are not greenish and distorted! Hopefully this will be useful to someone else using pwc on a 2.4 kernel.

The discussion might have continued from here.