Posts: 74
CGarces
Joined: 21 Apr 2013
#1
Hi!

I'm trying to use my web cam

Code: Select all

# lsusb
Bus 001 Device 002: ID 041e:4053 Creative Technology, Ltd Live! Cam Video IM
Searching on google looks like I need gspca module
I have get the source code from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://mxhaard.free.fr/download.html"
linktext was:"http://mxhaard.free.fr/download.html"
====================================
but looks outdated, not works on newer kernels.

There is any way to include the gspca module?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Which version of antiX are you using?

There re lots of gspca modules included in the kernel
CGarces
Posts: 74
CGarces
Joined: 21 Apr 2013
#3
The beta version from 24 March

Code: Select all

$ uname -r
3.6.11-antix.1-486-smp
lsmod | grep gspca not return anything

Code: Select all

root@antiX1:/home/user# modprobe gspca
FATAL: Module gspca not found.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#4
The lsmod command only lists modules that are currently loaded.

Try:

Code: Select all

find /lib/modules/$(uname -r) -name"*gspca*.ko"
edit: You can also do:

Code: Select all

 zgrep GSPCA /proc/config.gz
to find all possible gscpa modules. Almost all of them are included in antiX.

edit-2: It's possible your device is UVC compliant. If you, you can use the
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.ideasonboard.org/uvc/"
linktext was:"uvcvideo driver"
====================================
. They give
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.ideasonboard.org/uvc/faq/"
linktext was:"instructions"
====================================
on how to tell if you have a UVC device or not.
Posts: 74
CGarces
Joined: 21 Apr 2013
#5
ok, now some modules are loaded... but i don't know why.

Code: Select all

$ lsmod | grep gspca
gspca_zc3xx            32399  1 
gspca_main             14652  2 gspca_zc3xx
videodev               66116  3 gspca_main,gspca_zc3xx
I'm using skype (it's mandatory for this instalation)
The webcam is detected at /dev/video0 but I can't see the image.

There is some simple app to test the webcam? I have test guvcview but minimun setup fails (I don't know what means)
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#6
The UVC instructions I linked to above said to run:

Code: Select all

 lsusb -v -d 041e:4053 | grep"14 Video"
Did this produce any output? If not then none of the uvc programs (including guvcview) will work.

If you did get output and you want to use UVC then you must unload (and blacklist) the gspca modules and use the uvcvideo driver instead.
Posts: 74
CGarces
Joined: 21 Apr 2013
#7
I got it


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.ubuntu.com/SkypeWebCams"
linktext was:"https://wiki.ubuntu.com/SkypeWebCams"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.ubunturoot.com/2010/05/how-to-fix-webcam-problem-in-skype.html"
linktext was:"http://www.ubunturoot.com/2010/05/how-t ... skype.html"
====================================


Driver used is gspca_zc3xx but I must load libv4l-0
"LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype"

Now I have skype working on my 10 years old computer.

I'll check the idea of unload gspca modules and use the uvcvideo.

Un saludo
Carlos Garcés
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#8
Congrats! Good work.