Hi,
Poll() is not supported, but you could do select() call. Please try it. It had 
worked for us.

Murali Karicheri
Software Design Engineer
Texas Instruments Inc.
Germantown, MD 20874
email: m-kariche...@ti.com

________________________________
From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
zuowenping
Sent: Monday, August 17, 2009 2:41 AM
To: davinci-linux-open-source
Subject: does vpfe driver support select or poll sys call?

dear all:
I want to use select method  to query data in capture buffer(ioctl VIDIOC_DQBUF 
),but when i look up the driver in davinci_vpfe.c,I cann't find it realized it:
static struct file_operations vpfe_fops = {
.owner = THIS_MODULE,
.open = vpfe_open,
.release = vpfe_release,
.ioctl = vpfe_ioctl,
.mmap = vpfe_mmap
};

It has not realized poll() function in the file_operations set! so it is 
uselessly for sys_call select i thinked! but the v4l2 interface support the 
system call!


2009-08-17
________________________________
zuowenping
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to