tech-multimedia archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

5.1 video mmap?

I'm trying to use the video interface under 5.1.  The read(2)-based
interface seems to work fine, but when I try the mmap(2)-based
interface, everything goes fine except that VIDIOC_DQBUF never returns.
I did a little UTSLing and didn't see anything obviously wrong, but I
already found at least a few things I had to do which weren't
documented, so I'm wondering if it's just another such that's not quite
as obvious, or if that interface is just broken in 5.1, or what.

The program I'm using is up for ftp from in
/mouse/misc/video-mmap.c.  It's not long, 107 lines.  The underlying
hardware in my case is a uvideo:

uvideo0 at uhub3 port 1 configuration 1 interface 0: Vimicro Corp. Venus USB2.0 
Camera, rev 2.00/1.02, addr 2
video0 at uvideo0: Vimicro Corp. Venus USB2.0 Camera, rev 2.00/1.02, addr 2

I'd welcome any thoughts.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index