Bug 11324 - Logitech QuickCam Chat doesn't work
Summary: Logitech QuickCam Chat doesn't work
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: webcam (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Hans de Goede
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-13 13:33 UTC by David
Modified: 2008-09-11 07:54 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.27-rc6
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description David 2008-08-13 13:33:53 UTC
Latest working kernel version: NA
Earliest failing kernel version:
Distribution: Fedora 9
Hardware Environment: i686
Software Environment:
Problem Description: QuickCam doesn't work with ekiga or skype (haven't tried it with anything else).  Same camera used to work when driver outside mainline was installed.

Steps to reproduce: try selecting the QuickCam Chat device in ekiga or skype

ekiga fails like this:
Your driver doesn't seem to support any of the color formats supported by Ekiga.

skype exits.
Comment 1 David 2008-09-10 15:07:05 UTC
FYI, the ID of this camera is 046d:092e.  I've tested it with 2.6.27-rc[3456] with the same results.  This ID is listed in Documentation/video4linux/gspca.txt as a "Logitech QC Elch2".
Comment 2 Hans de Goede 2008-09-11 07:54:32 UTC
Those applications do not work because the cam produces a video format which they do not understand.

This can be fixed by using libv4l, see:
http://hansdegoede.livejournal.com/3636.html?mode=reply

The latest libv4l is available in rawhide, either get it there or download it here:
http://people.atrpms.net/~hdegoede/libv4l-0.4.2.tar.gz

And then:
tar xvfz libv4l-0.4.2.tar.gz
cd libv4l-0.4.2
make
sudo make install PREFIX=/usr
 or:
sudo make install PREFIX=/usr LIBDIR=/usr/lib64 (on x86_64)


Then do:
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
 or on x86_64:
export LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so

And then (finally) start up ekiga or skype (from the same terminal as where the export was done) to give the cam a try. In a dark room you will want to change the exposure setting use v4l2ucp for this:
http://v4l2ucp.sourceforge.net/

Most opensource applications are being patched to directly use libv4l so that the LD_PRELOAD hack is not necessary, see:
http://www.linuxtv.org/v4lwiki/index.php/Libv4l_Progress

This should fix your problems, so I'm closing this. If you still have trouble feel free to reopen this bug.

Note You need to log in before you can comment on or make changes to this bug.