Thank you very much Александр! :)
I'm going to merge them into the m5603c-mt9v011 branch.

Regards,
Ilyes Gouta.

On Tue, Jun 3, 2008 at 9:12 AM, Александр Королев <[EMAIL PROTECTED]> wrote:
> Pathes -)
>
> This patch adds to support this webcam hardware.
> m5603c.c
>
> 38a39
>>       {USB_DEVICE(0x0458, 0x702a)},
> 45a47
>>       "Genius Slim 320",
>
>
> And this patch, adds additional debug information, and correct get video
> format. Im testing on apps: gstreamer-properties and cheese.
> m5603c_v4l.c
>
> 635a636
>> /*Check the video format 0 is fail, 1 is ok*/
> 640a642,645
>>       DEBUG(DBG_V4L2, "Trying to set pixel format %d, width %d, height
>> %d",
>>               fmt->fmt.pix.pixelformat, fmt->fmt.pix.width,
>>               fmt->fmt.pix.height);
>>
> 652,653c657,660
> <       if ((fmt->fmt.pix.width > 640) || (fmt->fmt.pix.height > 480))
> <               return 0;
> ---
>>       if ((fmt->fmt.pix.width > 640) || (fmt->fmt.pix.height > 480)) {
>>                       fmt->fmt.pix.width  = 640;
>>                       fmt->fmt.pix.height = 480;
>>       }
> 662a670
>>               DEBUG(DBG_V4L2, "Unsupported pixel format");
> 669a678,680
>>
>>       DEBUG(DBG_V4L2, "Pixel format ok");
>>
> 727c738,741
> <
> ---
>>
>>               if (fmtd.type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
>>                       return -EINVAL;
>>
> 731d744
> <               fmtd.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
> 732a746
>>
> 734c748
> <
> ---
>>
> 735a750,751
>>               fmtd.flags = 0;
>>
> 745a762,763
>>               DEBUG(DBG_V4L2,"Get video format ");
>>
> 746a765
>>
> 751a771
>
> In order to cheese apps so worket, need hal daemon, seems to webcam hardware
>
> this file needs copy to /usr/share/fdi/information/20thirdparty/
>
> 10-m5603c-webcam.fdi:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <deviceinfo version="0.2">
>   <device>
>     <match key="info.subsystem" string="usb">
>       <match key="info.linux.driver" string="m5603c">
>             <merge key="info.category" type="string">video4linux</merge>
>             <append key="info.capabilities"
> type="strlist">video4linux</append>
>             <merge key="linux.subsystem" type="string">video4linux</merge>
>             <merge key="video4linux.device"
> type="string">/dev/video0</merge>
>             <merge key="video4linux.version" type="string">2</merge>
>       </match>
>     </match>
>   </device>
> </deviceinfo>
>
>
>
> 2008/6/2 Ilyes Gouta <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> I'm glad to hear that! :)
>> Don't hesitate to post your patches to this mailing-list
>> (m560x-driver-devel@lists.sourceforge.net), it may benefit other users
>> too.
>>
>> Regards,
>> Ilyes Gouta.
>>
>> On Mon, Jun 2, 2008 at 2:08 PM, Alexander Korolev
>> <[EMAIL PROTECTED]> wrote:
>> >
>> > Message body follows:
>> >
>> > I managed to have a web camera ( genius slim 320) with your
>> > driver, but not without the help of patches. I would send
>> > patches to support this web camera, and also like to
>> > participate in the testing of drivers.
>> >
>> >
>> > --
>> > This message has been sent to you, a registered SourceForge.net user,
>> > by another site user, through the SourceForge.net site.  This message
>> > has been delivered to your SourceForge.net mail alias.  You may reply
>> > to this message using the "Reply" feature of your email client, or
>> > using the messaging facility of SourceForge.net at:
>> > https://sourceforge.net/sendmessage.php?touser=2105307
>> >
>> >
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
M560x-driver-devel mailing list
M560x-driver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to