Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 14:34:27 +0100
From:      Hans Petter Selasky <hselasky@freebsd.org>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Cuse4BSD + Webcamd + FE_GET_EVENT ioctl
Message-ID:  <201003021434.27133.hselasky@freebsd.org>
In-Reply-To: <alpine.BSF.2.00.1003021412300.1647@unqrf.nqzva.sez2>
References:  <alpine.BSF.2.00.1003021005510.1647@unqrf.nqzva.sez2> <201003021123.52292.hselasky@freebsd.org> <alpine.BSF.2.00.1003021412300.1647@unqrf.nqzva.sez2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 March 2010 14:18:55 Joerg Pulz wrote:

> 
> int fd_frontend = DvbOpen(DEV_DVB_FRONTEND, adapter, frontend, O_RDWR |
>  O_NONBLOCK); -----
> 
> So for me it looks like O_NONBLOCK is set and used but it still hangs at
> the ioctl.

Make sure the flag is also received by webcamd. Maybe there is a bug there.

> 
> Any other ideas?
> 
> Kind regards
> Joerg
> 

Could you compile webcamd with -g and run it from gdb. Then dump all threads 
when it is hanging?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003021434.27133.hselasky>