Re: [Linux-uvc-devel] Slow framerate ...

2008-02-13 Thread Brian Pin
Hello Laurent, I can't use your patch since I am not in a Linux OS system, but I do believe your patch is going to be able to work. In my system, I use the following method to patch these alignment problems: static uint8_t get_byte(uint32_t dword, int offset) { return (0x00FF & (dword >> (

Re: [Linux-uvc-devel] Slow framerate ...

2008-02-13 Thread Laurent Pinchart
Hi Brian, On Friday 01 February 2008, Brian Pin wrote: > Hi Laurent, I found the answer why I get slow framerate on Microsoft CAM > NX600. See the following three lines: (uvc_set_video_ctrl) > *(__le16*)&data[16] = cpu_to_le16(ctrl->wDelay); > *(__le32*)&data[18] = cpu_to_le32(ctrl->dwMaxVideoFram

Re: [Linux-uvc-devel] Slow framerate ...

2008-02-03 Thread Laurent Pinchart
Hi Brian, On Friday 25 January 2008, Brian Pin wrote: > Hi Laurent: > This OS is quite simple and made by my colleague, it is running on > ARM926ejs, I adopted the driver from our USB IP vendor, and developing USB > layer from USBD, roothub to UVC driver. And I did not using the same user > space

Re: [Linux-uvc-devel] Slow framerate ...

2008-01-25 Thread Brian Pin
Hi Laurent: This OS is quite simple and made by my colleague, it is running on ARM926ejs, I adopted the driver from our USB IP vendor, and developing USB layer from USBD, roothub to UVC driver. And I did not using the same user space app on my FPGA platform. On PC, I am using windows application, o

Re: [Linux-uvc-devel] Slow framerate ...

2008-01-25 Thread Laurent Pinchart
Hi Brian, On Friday 25 January 2008 02:13, Brian Pin wrote: > I ported linux-uvc driver on our simple os system, which is quite the same > as linux, since I ported the all the usb (hcd and hub, message..) from > Linux. Nice. Just out of curiosity, what kind of OS is this ? And what kind of platf

[Linux-uvc-devel] Slow framerate ...

2008-01-25 Thread Brian Pin
I ported linux-uvc driver on our simple os system, which is quite the same as linux, since I ported the all the usb (hcd and hub, message..) from Linux. The question is our verification system runs at a FPGA platform and I can successfully connected to a Microsoft camera, get its descriptors and al