New version of webcamd [3.11.0.1] ready for testing

Juergen Lock nox at jelal.kn-bremen.de
Fri Aug 16 20:12:10 UTC 2013


On Fri, Aug 16, 2013 at 09:56:36PM +0200, Hans Petter Selasky wrote:
> Hi Srinivas,
> 
> Can you submit the patch from Juergen? Thank you!
> 
I already submitted it myself.

 Thanx, :)
	Juergen

>  >   Ah indeed that is better, now technisat-usb2 works again, including
> > it's remote. :)  Here is the patch:
> >
> > --- media_tree/drivers/media/rc/rc-main.c.orig
> > +++ media_tree/drivers/media/rc/rc-main.c
> > @@ -707,7 +707,7 @@ int rc_open(struct rc_dev *rdev)
> >   		return -EINVAL;
> >
> >   	mutex_lock(&rdev->lock);
> > -	if (!rdev->users++)
> > +	if (!rdev->users++ && rdev->open != NULL)
> >   		rval = rdev->open(rdev);
> >
> >   	if (rval)
> > @@ -731,7 +731,7 @@ void rc_close(struct rc_dev *rdev)
> >   	if (rdev) {
> >   		mutex_lock(&rdev->lock);
> >
> > -		 if (!--rdev->users)
> > +		 if (!--rdev->users && rdev->close != NULL)
> >   			rdev->close(rdev);
> >
> >   		mutex_unlock(&rdev->lock);
> >> --HPS
> >>
> >   And now I also tested rtl28xxu, af9015, af9035, ati_remote, mceusb,
> > uvc, gspca and they also all worked as before.
> >
> >   Thanx!
> > 	Juergen
> 
> I'll wait a bit for the patch to reach V4L GIT and then I'll roll 
> another tarball!
> 
> Thanks Juergen!
> 
> --HPS
> 


More information about the freebsd-multimedia mailing list