But our driver doesn't use the videobuf functions so that shouldn't be
where its getting overwritten.

But yeah it should not be checked since it is not an input variable,
it should however according to the specs be set to MMAP by this ioctl
however.


On Wed, May 6, 2009 at 3:00 AM, Ralph spitzner <[email protected]> wrote:
>
> Vasily Khoruzhick wrote:
>>
>> The thing is memory got overwritten in videobuf-core.c, 249, function
>> videobuf_status().
>>
>> I've checked out other drivers and no driver checks for memory ==
>> V4L2_MEMORY_MMAP in querybuf ioctl (even uvc) (I'm using 2.6.30_rc4-git1)
>>
>> So here's a fix in attachment: 0003-Don-t-check-memory-type-in-querybuf-
>> ioctl.patch
>>
>> Regards
>> Vasily
>>
>
> Since I'm just reading this group/list someone should get that
> patch into the driver. it'll probably fix some 22 EINVAL errors
> I've googled up from/for people using different cams, but the sn9c20x
> driver....
>
>        -rasp
>
>
>
> --
> Woman inspires us to great things, and prevents us from achieving them.
>                 -- Dumas
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to