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

Re: Possible bug on libv4l read() emulation

2009-10-16 Thread Pablo Baena
out what's the problem with that though. Thanks for the reply. On Fri, Oct 16, 2009 at 2:42 PM, Hans de Goede hdego...@redhat.com wrote: 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

Re: uvcvideo kernel panic when using libv4l

2009-12-10 Thread Pablo Baena
Can you tell me how to obtain such backtrace? This is a hard panic and I don't know how to obtain a backtrace, since the keyboard gets unresponsive. On Thu, Dec 10, 2009 at 11:19 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Pablo, On Monday 07 December 2009 18:18:11 Pablo

Re: uvcvideo kernel panic when using libv4l

2009-12-15 Thread Pablo Baena
With that patch, libv4l throws an error at some point, no crashes so far though: libv4l2: error dequeuing buf: Invalid argument read error 22, Invalid argument On Tue, Dec 15, 2009 at 9:12 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Leandro and Pablo, could you please try

Re: uvcvideo kernel panic when using libv4l

2009-12-16 Thread Pablo Baena
2009 07:51:20 Pablo Baena wrote: With that patch, libv4l throws an error at some point, no crashes so far  though: libv4l2: error dequeuing buf: Invalid argument read error 22, Invalid argument Could you please try this updated patch ? diff -r c1f376eae978 linux/drivers/media/video/uvc

Capturing errors when doing v4l2_read

2010-04-08 Thread Pablo Baena
I'm trying to detect when a user unplugs a camera while I'm doing v4l2_read, but even when I get logs like this: libv4l2: error queuing buf 0: No such device libv4l2: error queuing buf 1: No such device libv4l2: error queuing buf 2: No such device libv4l2: error dequeuing buf: Input/output error