Bug 472503

Summary: webcam does not work as expected with newer kernels
Product: [Fedora] Fedora Reporter: Eli Wapniarski <eli>
Component: kernelAssignee: Hans de Goede <hdegoede>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: kernel-maint, quintela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-26 13:36:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eli Wapniarski 2008-11-21 07:57:13 UTC
kernel-2.6.27.5-41.fc9.x86_64

libv4l-0.5.4-1.fc9.i386.rpm (koji)
libv4l-0.5.4-1.fc9.x86_64.rpm (koji)


WEBCAM: Logitech quickcam

Modules loaded
--------------
gspca_spca561 gspca_main compat_ioctl32 videodev v4l1_compat


kopete and ekiga works when loaded with

LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so kopete -caption "%c" %u
LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so ekiga

Other minor problems:

1) When I close access to the web cam the pilot light on the camera
   goes out even though the camera still seems to work

2) Only one application can access the camera at a time.

   a) If I run kopete first then kopete will have access to the camera.
      If I then run ekiga the display shows green.

   b) If I run ekiga first, then ekiga has access to the camera.
      If I then run kopete. kopete crashes alltogether.


skype crashes when trying to access the camera when using

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

Comment 1 Hans de Goede 2008-11-26 13:36:35 UTC
(In reply to comment #0)
> kernel-2.6.27.5-41.fc9.x86_64
> 
> libv4l-0.5.4-1.fc9.i386.rpm (koji)
> libv4l-0.5.4-1.fc9.x86_64.rpm (koji)
> 
> 
> WEBCAM: Logitech quickcam
> 
> Modules loaded
> --------------
> gspca_spca561 gspca_main compat_ioctl32 videodev v4l1_compat
> 
> 
> kopete and ekiga works when loaded with
> 
> LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so kopete -caption "%c" %u
> LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so ekiga
> 
> Other minor problems:
> 
> 1) When I close access to the web cam the pilot light on the camera
>    goes out even though the camera still seems to work
> 

That is a feature not a bug, the light indicates if videodata is actually being streamed. So if you close the app showing the camstream the light goes off.

> 2) Only one application can access the camera at a time.
> 

Yes, that is normal video4linux behavior.

>    a) If I run kopete first then kopete will have access to the camera.
>       If I then run ekiga the display shows green.
> 
>    b) If I run ekiga first, then ekiga has access to the camera.
>       If I then run kopete. kopete crashes alltogether.
> 

Apps misbehaving when they get -EBUSY errors is not the drivers problem.

> skype crashes when trying to access the camera when using
> 
> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

skyoe works for me and a lot of other users with an spca561 based cam, do you have the latest skype? Anyways I cannot help you with that as skype is closed source software and as such not supported by Fedora.