VectorLinux
November 28, 2014, 04:58:10 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Intel webcam CS330 not working properly  (Read 2028 times)
Andy Price
Packager
Vectorite
****
Posts: 237


« on: March 23, 2009, 08:08:37 am »

Hi

I'm trying to get my old Intel CS330 webcam working under VL6 Standard. When I open the wxcam application I don't get a proper picture. I've tried every combination of Frame format and Driver - sometimes it's blank, sometimes green lines etc.

Below are the outputs from lsusb, lspci and lsmod (which were asked for in another webcam-related query).

I've read some place that gspca is supposed to support this webcam so any ideas how I can get it working?

Thanks
Andy

Code:
ibm://home/andy
root:# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0733:0401 ViewQuest Technologies, Inc. CS330 WebCam
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

ibm://home/andy
root:# lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
03:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

ibm://home/andy
root:# lsmod
Module                  Size  Used by
gspca_spca501          15488  0
gspca_main             20352  1 gspca_spca501
videodev               33792  1 gspca_main
v4l1_compat            14852  1 videodev
vboxnetflt             85768  0
vboxdrv               112296  1 vboxnetflt
fuse                   53788  1
snd_seq_dummy           3716  0
snd_seq_oss            31872  0
snd_seq_midi_event      6912  1 snd_seq_oss
snd_seq                48368  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7436  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            37408  0
snd_mixer_oss          15104  1 snd_pcm_oss
p4_clockmod             4900  0
speedstep_lib           4740  1 p4_clockmod
freq_table              4352  1 p4_clockmod
snd_intel8x0           29980  2
rtc_cmos               10144  0
rtc_core               15132  1 rtc_cmos
snd_ac97_codec         99492  1 snd_intel8x0
rtc_lib                 3328  1 rtc_core
ac97_bus                2432  1 snd_ac97_codec
snd_pcm                67972  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              19976  2 snd_seq,snd_pcm
snd                    51492  14 snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7008  1 snd
i2c_i801                9616  0
snd_page_alloc          8840  2 snd_intel8x0,snd_pcm
i2c_core               21268  1 i2c_i801
e100                   33036  0
mii                     5376  1 e100
iTCO_wdt               10916  0
shpchp                 29716  0
pci_hotplug            27040  1 shpchp
parport_pc             35908  0
parport                31724  1 parport_pc
evdev                  10144  3
Logged
rbistolfi
Packager
Vectorian
****
Posts: 2291


« Reply #1 on: March 23, 2009, 10:27:04 am »

Apparently your webcam is supported by the gspca driver, but not by the one included in VL.
Try to build another one from source, we need to patch it for recent kernels. Login as root and run:

Code:
wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
tar xvf gspcav1-20071224.tar.gz && cd gspcav1-20071224
wget http://www.slackware.com/~alien/slackbuilds/gspcav1/build/gspca_kernel_2.6.27.diff
patch -p1 <gspca_kernel_2.6.27.diff
make && make install

That will install the driver, now we need to remove the old ones before loading the new one:

Code:
modprobe -r gspca_spca501
modprobe -r gspca_main

Now insert the new compiled module:

Code:
modprobe gspca

Now you should be able to test your cam. If it work we will need to blacklist the offending modules so they are not inserted in the kernel at boot time anymore:

Code:
echo "blacklist gspca_spca501" >> /etc/modprobe.d/blacklist

Let us know how it goes.

EDIT: I corrected a path, is modprobe.d instead modules.d Smiley
« Last Edit: March 23, 2009, 04:59:25 pm by rbistolfi » Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Andy Price
Packager
Vectorite
****
Posts: 237


« Reply #2 on: March 23, 2009, 06:24:26 pm »

Thanks for the quick reply, worked a treat. Can't beat the help given on this forum!
Logged
Andy Price
Packager
Vectorite
****
Posts: 237


« Reply #3 on: March 24, 2009, 12:48:36 am »

Sligthly off topic, but should the settings you make to the image balance (contrast etc) be retained when you close wxcam? For me they are lost and I have to set them each time. I tried adding lines such as Contrast: 50 into the ~/ .wxcam file, but no joy.
Thanks
Andy
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!