Fedora Linux Support Community & Resources Center
  #1  
Old 16th August 2006, 11:08 AM
aussie.ian Offline
Registered User
 
Join Date: Jul 2006
Posts: 52
Vimicro webcam - gspca module won't load

I have compiled the gspca driver module for my webcam but it isn't showing in lsmod or dmesg.

This is the build log:
Code:
C=make -C /lib/modules/`uname -r`/build SUBDIRS=/home/ian/gspca-20060813/gspcav1 Ccc modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2174_FC5-i686'
  CC [M]  /home/ian/gspca-20060813/gspcav1/gspca_core.o
  CC [M]  /home/ian/gspca-20060813/gspcav1/decoder/gspcadecoder.o
/home/ian/gspca-20060813/gspcav1/decoder/gspcadecoder.c: In function ‘fun_D’:
/home/ian/gspca-20060813/gspcav1/decoder/gspcadecoder.c:756: warning: value computed is not used
  LD [M]  /home/ian/gspca-20060813/gspcav1/gspca.o
  Building modules, stage 2.
  MODPOST
  CC      /home/ian/gspca-20060813/gspcav1/gspca.mod.o
  LD [M]  /home/ian/gspca-20060813/gspcav1/gspca.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2174_FC5-i686'
The module "gspca.ko is in /lib/modules/2.6.17-1.2174_FC5/kernel/drivers/usb/media
Under the previous version of this kernel the module loaded into the kernel. When I went to /dev there was a /dev/video and /dev/video0. These are no longer present in the new kernel.
I know how to make the device nodes, what I can't figure out is how to get the gspca modules loaded into the kernel.
Reply With Quote
  #2  
Old 16th August 2006, 11:52 PM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
After you ran make, did you run "make install"?? I'm running the 20060706 version with a vimicro camera and it works fine
Reply With Quote
  #3  
Old 17th August 2006, 12:10 AM
aussie.ian Offline
Registered User
 
Join Date: Jul 2006
Posts: 52
I ran make install and finally got the modules loaded. Only problem now is gspcagui starts and finds my cam ok, but all I am getting is a black screen.
This is from dmesg,
Quote:
Linux video capture interface: v1.00
/home/ian/gspca-20060813/gspcav1/gspca_core.c: USB SPCA5XX camera found.(ZC3XX)
/home/ian/gspca-20060813/gspcav1/gspca_core.c: [spca5xx_probe:3747] Camera type
JPEG
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ
10
/home/ian/gspca-20060813/gspcav1/Vimicro/zc3xx.h: [zc3xx_config:486] Find Sensor
UNKNOW_0 force Tas5130
/home/ian/gspca-20060813/gspcav1/gspca_core.c: [spca5xx_getcapability:1109] maxw
640 maxh 480 minw 176 minh 144
usbcore: registered new driver gspca
/home/ian/gspca-20060813/gspcav1/gspca_core.c: gspca driver 01.00.01 registered
This was on the end of dmesg, after I ran gspcagui.
Quote:
/home/ian/gspca-20060813/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7
)
I think the problem is that - gspcagui opens with the 640x480 interface but my cam "prefers", 320x240. Any ideas how I could set gspcagui to open with the smaller resolution?
Reply With Quote
  #4  
Old 17th August 2006, 03:38 AM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
I haven't tried the gspcagui, but I did try EKIGA (gnome meeting) which is part of Fedora
Reply With Quote
  #5  
Old 17th August 2006, 04:09 AM
aussie.ian Offline
Registered User
 
Join Date: Jul 2006
Posts: 52
Thanks Iron_Mike, I also tried Egika and still got the same blank screen, even though it correctly identifies my cam. Think I'll post the error to spca mailing list and see if they can help.
Reply With Quote
  #6  
Old 18th August 2006, 11:15 PM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
Quote:
Originally Posted by aussie.ian
I ran make install and finally got the modules loaded. Only problem now is gspcagui starts and finds my cam ok, but all I am getting is a black screen.
This is from dmesg,

This was on the end of dmesg, after I ran gspcagui.

I think the problem is that - gspcagui opens with the 640x480 interface but my cam "prefers", 320x240. Any ideas how I could set gspcagui to open with the smaller resolution?
I just got ahold of the 20060813 version of gspca and it compiled fine against the 2174 kernel, here is the dmesg log:

/home/mmcguire/gspca-20060813/gspcav1/gspca_core.c: USB SPCA5XX camera found.(ZC3XX)
/home/mmcguire/gspca-20060813/gspcav1/gspca_core.c: [spca5xx_probe:3747] Camera type JPEG
/home/mmcguire/gspca-20060813/gspcav1/Vimicro/zc3xx.h: [zc3xx_config:486] Find Sensor UNKNOW_0 force Tas5130
/home/mmcguire/gspca-20060813/gspcav1/gspca_core.c: [spca5xx_getcapability:1109] maxw 640 maxh 480 minw 176 minh 144
usbcore: registered new driver gspca
/home/mmcguire/gspca-20060813/gspcav1/gspca_core.c: gspca driver 01.00.01 registered

A option would be reinstall the camera drivers, go into the directory and run:

make clean
make
make install

in that order and see if it clears the error you are having. Also are you running the gspcav1 or the gspcav2???
Reply With Quote
  #7  
Old 19th August 2006, 07:01 AM
aussie.ian Offline
Registered User
 
Join Date: Jul 2006
Posts: 52
I tried as you suggested, below is the exert from dmesg.

Code:
Linux video capture interface: v1.00
/home/ian/gspca-20060813/gspcav1/gspca_core.c: USB SPCA5XX camera found.(ZC3XX)
/home/ian/gspca-20060813/gspcav1/gspca_core.c: [spca5xx_probe:3747] Camera type JPEG
/home/ian/gspca-20060813/gspcav1/Vimicro/zc3xx.h: [zc3xx_config:486] Find Sensor UNKNOW_0 force Tas5130
/home/ian/gspca-20060813/gspcav1/gspca_core.c: [spca5xx_getcapability:1109] maxw 640 maxh 480 minw 176 minh 144
usbcore: registered new driver gspca
/home/ian/gspca-20060813/gspcav1/gspca_core.c: gspca driver 01.00.01 registered
Unfortunately I'm still getting the same error at the bottom of dmesg. This error seems to be related to setting the palette as there is a similar error when I initialize gspcagui.
Code:
/home/ian/gspca-20060813/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
/home/ian/gspca-20060813/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
/home/ian/gspca-20060813/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
/home/ian/gspca-20060813/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
/home/ian/gspca-20060813/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
This is the error from gspcagui.
Code:
Couldnt set palette first try 7
Couldnt set palette first try 7
Couldnt set palette first try 7
Couldnt set palette first try 7
Couldnt set palette first try 7
 palette 2 size avail 0
I don't know what the problem is, all I get is a black screen no matter which utility I try it with. Might be time to buy a new cam and put this one on the windows machine where it works.
Reply With Quote
  #8  
Old 19th September 2006, 07:47 PM
macs Offline
Registered User
 
Join Date: Sep 2006
Age: 46
Posts: 19
Hi all, I've installed this new module, gspca, It worked.

BUT, after a reboot it stoped working!!! I guess it's a conflict between FC5 own driver
and gspca.

I need help.
__________________
[]'s macs
Reply With Quote
Reply

Tags
gspca, load, module, vimicro, webcam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel-2.6.27 vs gspca webcam support Mack Hardware & Laptops 1 16th March 2009 11:49 PM
F10 gspca module PAC207. Webcam problem cazbrat Using Fedora 1 10th December 2008 07:58 PM
Install GSPCA Webcam drive problem syedsmt Hardware & Laptops 2 24th December 2007 02:52 PM
Gspca webcam module failed on 2.6.23.1-21.fc7 kernel lordamus Using Fedora 0 12th November 2007 07:51 AM
Webcam and gspca kernel module psyklops Hardware & Laptops 1 16th June 2007 04:39 AM


Current GMT-time: 14:57 (Monday, 22-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Kalanggaman Island, Leyte Travel Photos on Instagram - Centennial Parklands Travel Photos on Instagram - Fairy Stream Waterfall Travel Photos - Desa Rejang Setapak Kuala Lumpur Travel Photos on Instagram