Re: Possible bug on libv4l read() emulation

2009-10-16 Thread Pablo Baena
I think I identified the problem, I used code extracted from: http://www.saillard.org/linux/pwc/files/capture.c, and the code was like: total_read_bytes = 0; do { read_bytes = read(fd, buffers[0].start, buffers[0].length); if (read_bytes < 0)

Re: Possible bug on libv4l read() emulation

2009-10-16 Thread Hans de Goede
Hi, On 10/16/2009 12:00 AM, Pablo Baena wrote: I have a program where I use libv4l's read() emulation for simplicity. But with most v4l2 webcams I've tried, I get kernel panics. I have pics of the message if anyone cares to see them, I don't want to flood the mailing list. Basically, the names

Possible bug on libv4l read() emulation

2009-10-15 Thread Pablo Baena
I have a program where I use libv4l's read() emulation for simplicity. But with most v4l2 webcams I've tried, I get kernel panics. I have pics of the message if anyone cares to see them, I don't want to flood the mailing list. Basically, the names I see in the kernel panic from a uvcvideo card is