LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2009, 12:19 AM   #1
mazouz_n
LQ Newbie
 
Registered: Jan 2008
Location: Moscow
Distribution: fedora 8 64 bits
Posts: 23

Rep: Reputation: 15
QuickCam Messenger - gspca DKMS driver


Hi all,
I want to use webcam under skype. I installed dkms-gspca.noarch package as mentioned here (http://wiki.centos.org/AdditionalRes...reList/Webcams), and when launching video test under skype, all is frozen and I'm forced to restart my PC.
I have centos5

Code:
$ /sbin/lsusb 
Bus 001 Device 001: ID 0000:0000  
Bus 002 Device 002: ID 046d:08da Logitech, Inc. QuickCam Messanger
Bus 002 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 004 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
How to avoid this ?
 
Old 02-27-2009, 07:01 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,827

Rep: Reputation: Disabled
hi

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

gspca2

Starting with 2.6.27, the kernel ships with the new v4l2 based gspca2 driver, which replaces the old v4l1 based external gspca driver, which is needed for a large number of different webcams. Unfortunately most userspace programs are not aware of the new v4l2 API for devices formerly covered by gspca, meanwhile they need to be started using "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so <program>".

# apt-get update
# apt-get install libv4l-0
$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

but you would use your package manager instead of apt-get to download libv4l-0

then edit the icon pathway for skype from command skype to
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
 
Old 02-28-2009, 01:18 AM   #3
mazouz_n
LQ Newbie
 
Registered: Jan 2008
Location: Moscow
Distribution: fedora 8 64 bits
Posts: 23

Original Poster
Rep: Reputation: 15
Hi aus9
I installed libv4l-0.4.0-1.i386.rpm and removed dkms-gspca.noarch, but skype till now can't detect webcam. What's wrong ?
 
Old 02-28-2009, 07:26 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,827

Rep: Reputation: Disabled
hi

before we look at skype, can you post the output of this pls

Code:
lsmod | grep snd
I am assuming you know how to configure your sound and video devices in skype as well?

I am not familar with dkms-gspca.noarch so I want to look at what modules are loaded.

EDIT
to save me asking...later since you have yet to succeed..what is exact kernel name you are running pls...and a link to your packages you installed would be greatly appreciated.

(Me thinks maybe you are not running a more recent kernel)

Basically ...if hw works...your usb modules must be loaded and then the relevant webcam module(s) and then for gspca2 modules....a link to tell old software how to handle the new module.

Last edited by aus9; 02-28-2009 at 07:31 AM.
 
Old 03-02-2009, 02:56 AM   #5
mazouz_n
LQ Newbie
 
Registered: Jan 2008
Location: Moscow
Distribution: fedora 8 64 bits
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9 View Post
hi

before we look at skype, can you post the output of this pls

Code:
lsmod | grep snd
Code:
$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype &
[1] 12457

$ /sbin/lsmod | grep snd
snd_usb_audio         122689  0 
snd_usb_lib            50497  1 snd_usb_audio
snd_rawmidi            59713  1 snd_usb_lib
snd_hwdep              43593  1 snd_usb_audio
snd_hda_intel          56033  4 
snd_hda_codec         308929  1 snd_hda_intel
snd_seq_dummy          37061  0 
snd_seq_oss            65473  0 
snd_seq_midi_event     41024  1 snd_seq_oss
snd_seq                87777  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         41557  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            77505  0 
snd_mixer_oss          49985  1 snd_pcm_oss
snd_pcm               116681  5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              57161  3 snd_seq,snd_pcm
snd                    95977  18 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              41825  1 snd
snd_page_alloc         44113  2 snd_hda_intel,snd_pcm
Quote:
I am assuming you know how to configure your sound and video devices in skype as well?
yes

Quote:
I am not familar with dkms-gspca.noarch so I want to look at what modules are loaded.

EDIT
to save me asking...later since you have yet to succeed..what is exact kernel name you are running pls...and a link to your packages you installed would be greatly appreciated.
Kernel version is
Code:
$ uname -r
2.6.18-92.1.13.el5
link for package "libv4l-0.4.0-1.i386.rpm" is
http://www.lfarkas.org/linux/packages/centos/5/i386/
 
Old 03-04-2009, 05:26 AM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,827

Rep: Reputation: Disabled
sheesh that kernel is relatively old.

I am on 2.6.28-7

and that prev link about gspca2 referred to a kernel which was 2.6.27.

could you do me a favour and update the kernel it might be just that easy.
 
  


Reply


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
Logitech Quickcam Messenger.. help! Cotobear Linux - Hardware 1 01-11-2008 10:25 AM
quickcam gspca driver compile problem anirudhvij Linux - Hardware 0 05-03-2007 02:19 AM
Logitech Quickcam Messenger dudeman41465 Linux - Hardware 0 09-23-2006 07:31 AM
Quickcam Messenger not working natewlew Linux - Software 9 04-11-2006 12:13 AM
Logitech Quickcam Messenger - Problems compiling driver Yukino Linux - Hardware 0 02-01-2005 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration