pwc
[Top] [All Lists]

Re: [pwc] aMSN keeps using /dev/video0 after webcam session is closed

To: Antti Huopana <>
Subject: Re: [pwc] aMSN keeps using /dev/video0 after webcam session is closed
From: Luc Saillard <>
Date: Tue, 25 Jul 2006 14:59:45 +0200
On Tue, Jul 25, 2006 at 03:05:58PM +0300, Antti Huopana wrote:
> Hi
> 
> After aMSN webcam session is closed I can't use webcam anymore without
> closing aMSN first. Bug is also blocking webcam from other programs
> (ekiga, camorama,...).
> 
>       $ fuser -v /dev/video0
>                            USER        PID ACCESS COMMAND
>       /dev/video0          user       4070 ....m  wish
> 
> 
> aMSN developers claim problem is in pwc driver. Do you agree? If you do,
> is there anything we can do about it?

I've try ekiga, and didn't have the same problem.

The kernel doesn't call close() of the driver when you do a close(). If you
keep a reference (like a mmap) the kernel doesn't call the close function.
Using small application for testing the driver (using the capture.c for
example doesn't produce this bug). Do you have an (small with tk layer)
application to test it ?

Luc
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU