LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-02-2009, 06:30 AM   #1
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Rep: Reputation: 16
Red face Webcam: OK with MPlayer, crashes Skype


Howdy *nixettes and *nixers.


Webcam: OK with MPlayer, crashes Skype


I've done my homework, researched everywhere, found leads that drove nowhere (like preload v4lcompat, like avoid nVidia drivers), tried all skype versions available and that's it.

Running Slackware 12.2, stock kernel SMP 2.6.27.7, x86

ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX

Pseudo: Sully - Bridge: Vc0302 - Sensor: Tas5130c
Recommended drivers: spca5xx/LE gspca v4l1/v4l2


Upon boot, my cam is recognised and GSPCA loads the gspca_zc3xx module alongside the necessary videodev, v4l1_compat, gspca_main without any error messages - quite the opposite, like:

Quote:
Linux video capture interface: v2.00
gspca: main v2.2.0 registered
gspca: probing 046d:08d7
zc3xx: probe 2wr ov vga 0x0000
zc3xx: probe sensor -> 11
zc3xx: Find Sensor HV7131R(c)
gspca: probe ok
usbcore: registered new interface driver zc3xx
zc3xx: registered
Previously, with Kernel 2.6.23 from my former install (with fedora7), I had the driver downloaded and compiled here, it used to work fine with Skype and there wasn't all that gspca_this and gspca_that various "sub-drivers(?)" to clutter my
"/lib/modules/2.6.27.7-smp/kernel/drivers/media/video/" tree like now; and "modprobe gspca.ko" was enough to get it running.

(Since 2.6.27 the gspca driver made it officially into the kernel)

As the name of the sensor according to the driver provider and the one on-screen differ, I have tried modprobing most every other 'sub-drivers' one after the other, to no avail.


Of course, I tried to download afresh from http://mxhaard.free.fr but compilation fails. Yes, sometimes compilation fails even with Slackware! I keep at hand the Alienbuild version of the driver, alongside mxhaard sources but I am abit afraid of breaking everything on this real-life workstation I must confess.

I have less extensively tried this on the Fedora9 kids' computer and my wife's Fedora10 laptop with the same crash results (Easy: call yourself from another computer, the receiver crashes. Plain.)

The webcam gets "plugged" in the very standard /dev/video0 slot, and I can watch it with:
Quote:
mplayer tv://
or even the quite funkier:
Quote:
mplayer tv:// -vo aa -monitorpixelaspect 0.5
(Try it! Plain ascii fun!)

Allright now,

WHY IS SKYPE CRASHING WHEN I TEST OR USE VIDEO? with any kernel above 2.6.24, that is...

Quote:
<(^_^)> skype_static-2.0.0.72 ./skype
Starting the process...
Skype Xv: Xv ports available: 32
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 280
<(^_^)> skype_static-2.0.0.72
(exits without further ado)

dmesg|tail only adds:
Quote:
zc3xx: probe 2wr ov vga 0x0000
zc3xx: probe 2wr ov vga 0x0000
zc3xx: probe 2wr ov vga 0x0000


An unexplored lead says I should disable Xv. What's that? How?
http://ubuntuforums.org/showthread.php?t=1098004

Thanks. I am getting nervous. All voice/sound part is OK, no issues.

Cheers
Jean-Philippe

Last edited by Peacepunk; 04-02-2009 at 06:56 AM.
 
Old 04-02-2009, 07:10 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
hi

ignore xv and look at your kernel version pls

suggest you download a recent live cd/dvd which has a recent kernel...sheesh I just found one for you ..heh heh...and read the bit lower down about gspca2 pls

http://www.sidux.com/Article485.html

Yes I know you have read stuff but I gather you have run out of ideas?
 
Old 04-02-2009, 09:34 AM   #3
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Original Poster
Rep: Reputation: 16
You are right, a brand new live disc is a good call.

Last edited by Peacepunk; 04-07-2009 at 03:22 AM.
 
Old 04-07-2009, 03:45 AM   #4
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Original Poster
Rep: Reputation: 16
I compiled my own kernel - 2.6.29.1 - and the regression is still there, what I can do with 2.6.23 isn't working anymore.

Can't compile gspca afresh from mxhaard.free.fr sources

Can't use the alienbob version either, since it was compiled for 2.6.27.7.

gspca debug:

Quote:
make -C /lib/modules/`uname -r`/build SUBDIRS=/raid/matos/kernel/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.29.1'
CC [M] /raid/matos/kernel/gspcav1-20071224/gspca_core.o
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
In file included from /raid/matos/kernel/gspcav1-20071224/gspca_core.c:845:
/raid/matos/kernel/gspcav1-20071224/utils/spcausb.h: In function 'spca5xxRegRead':
/raid/matos/kernel/gspcav1-20071224/utils/spcausb.h:95: error: implicit declaration of function 'info'
/raid/matos/kernel/gspcav1-20071224/utils/spcausb.h: In function 'spca_set_interface':
/raid/matos/kernel/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function 'warn'
In file included from /raid/matos/kernel/gspcav1-20071224/gspca_core.c:853:
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_init':
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:122: error: called object 'info' is not a function
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:136: error: called object 'info' is not a function
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:141: error: called object 'info' is not a function
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:148: error: called object 'info' is not a function
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:176: error: called object 'info' is not a function
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_start':
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:214: error: called object 'info' is not a function
/raid/matos/kernel/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:230: error: called object 'info' is not a function
/raid/matos/kernel/gspcav1-20071224/gspca_core.c: In function 'spca5xx_ioctl':
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function 'video_usercopy'
/raid/matos/kernel/gspcav1-20071224/gspca_core.c: At top level:
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:2609: error: unknown field 'owner' specified in initializer
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:2611: error: unknown field 'type' specified in initializer
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:2615: warning: initialization from incompatible pointer type
/raid/matos/kernel/gspcav1-20071224/gspca_core.c: In function 'spca50x_create_sysfs':
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function 'video_device_create_file'
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function 'video_device_remove_file'
/raid/matos/kernel/gspcav1-20071224/gspca_core.c: In function 'spca5xx_probe':
/raid/matos/kernel/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/raid/matos/kernel/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/raid/matos/kernel/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29.1'
make: *** [default] Error 2
It is the same error as when I tried to compile with 2.6.27; the error has already reported to the sourceforge page of gspca.
 
  


Reply

Tags
driver, skype, slackware, webcam


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam and Skype moshebagelfresser Linux - Hardware 5 04-11-2010 02:23 PM
Which webcam for linux and skype ? zghh Linux - Hardware 1 04-13-2008 01:33 PM
Please help me with my Skype, Audio system, Webcam configurations DarkSlayer Linux - Newbie 2 04-09-2008 10:10 PM
Video/Webcam : Is SKYPE better than Kopete ? frenchn00b Linux - Software 0 01-08-2008 06:45 AM
Which webcam would you recommand for skype video (2.0 beta)? frenchn00b General 1 12-16-2007 10:05 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration