Cuse4BSD + Webcamd + FE_GET_EVENT ioctl

Hans Petter Selasky hselasky at freebsd.org
Tue Mar 2 13:36:03 UTC 2010


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


More information about the freebsd-multimedia mailing list