USB 2.0 video capture

2011-09-15 Thread Frank R
I purchase the following video capture USB device: : SVID2USB2 Not sure what to do at this point. dmesg said to email the following: [ 217.496381] CE: hpet increased min_delta_ns to 11520 nsec [ 229.836347] usb 2-3: new high speed USB device using ehci_hcd and address 5 [ 230.017201] IR NEC

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Guennadi Liakhovetski
On Thu, 15 Sep 2011, Scott Jiang wrote: accually this array is to convert mbus to pixformat. ppi supports any formats. You mean, it doesn't distinguish formats? It just packs bytes in RAM exactly as it ready them from the bus, and doesn't support any formats natively, i.e., doesn't offer any

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Scott Jiang
+ +#define CAPTURE_DRV_NAME        bfin_capture +#define BCAP_MIN_NUM_BUF        2 + +struct bcap_format { +     u8 *desc; +     u32 pixelformat; +     enum v4l2_mbus_pixelcode mbus_code; +     int bpp; /* bytes per pixel */ Don't you think you might have to process 12 bpp formats at

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Scott Jiang
2011/9/15 Guennadi Liakhovetski g.liakhovet...@gmx.de: On Thu, 15 Sep 2011, Scott Jiang wrote: accually this array is to convert mbus to pixformat. ppi supports any formats. You mean, it doesn't distinguish formats? It just packs bytes in RAM exactly as it ready them from the bus, and

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Guennadi Liakhovetski
On Thu, 15 Sep 2011, Scott Jiang wrote: 2011/9/15 Guennadi Liakhovetski g.liakhovet...@gmx.de: On Thu, 15 Sep 2011, Scott Jiang wrote: accually this array is to convert mbus to pixformat. ppi supports any formats. You mean, it doesn't distinguish formats? It just packs bytes in RAM

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Scott Jiang
I have considered using soc, but it can't support decoder when I began to write this driver in 2.6.38. soc_mediabus.c is a stand-alone module, it has no dependencies on soc-camera. Out of interest - what kind of decoder you mean? A tv-decoder? We do have a tv-decoder driver tw9910 under

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Guennadi Liakhovetski
On Thu, 15 Sep 2011, Scott Jiang wrote: I have considered using soc, but it can't support decoder when I began to write this driver in 2.6.38. soc_mediabus.c is a stand-alone module, it has no dependencies on soc-camera. Out of interest - what kind of decoder you mean? A tv-decoder?

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Sylwester Nawrocki
On 09/15/2011 08:37 AM, Scott Jiang wrote: + +#define CAPTURE_DRV_NAMEbfin_capture +#define BCAP_MIN_NUM_BUF2 + +struct bcap_format { + u8 *desc; + u32 pixelformat; + enum v4l2_mbus_pixelcode mbus_code; + int bpp; /* bytes per pixel */ Don't you think

Re: Asking advice for Camera/ISP driver framework design

2011-09-15 Thread Laurent Pinchart
Hi Cliff, On Wednesday 14 September 2011 08:13:32 Cliff Cai wrote: Dear guys, I'm currently working on a camera/ISP Linux driver project.Of course,I want it to be a V4L2 driver,but I got a problem about how to design the driver framework. let me introduce the background of this ISP(Image

Re: [PATCH][Resend] viacam: Don't explode if pci_find_bus() returns NULL

2011-09-15 Thread Jiri Kosina
On Mon, 1 Aug 2011, Jesper Juhl wrote: In the unlikely case that pci_find_bus() should return NULL viacam_serial_is_enabled() is going to dereference a NULL pointer and blow up. Better safe than sorry, so be defensive and check the pointer. Signed-off-by: Jesper Juhl j...@chaosbits.net

Re: [PATCH v2] [media] at91: add code to initialize and manage the ISI_MCK for Atmel ISI driver.

2011-09-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:08 Tue 06 Sep , Sylwester Nawrocki wrote: On 09/06/2011 10:05 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: I'm not entirely sure on this one, but as we had a similar situation with clocks, we decided to extablish the clock hierarchy in the board code, and only deal with the actual

Re: [PATCH v2] [media] at91: add code to initialize and manage the ISI_MCK for Atmel ISI driver.

2011-09-15 Thread Sylwester Nawrocki
On 09/15/2011 03:23 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 23:08 Tue 06 Sep , Sylwester Nawrocki wrote: On 09/06/2011 10:05 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: I'm not entirely sure on this one, but as we had a similar situation with clocks, we decided to extablish the

Re: Asking advice for Camera/ISP driver framework design

2011-09-15 Thread Cliff Cai
On Thu, Sep 15, 2011 at 6:20 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Cliff, On Wednesday 14 September 2011 08:13:32 Cliff Cai wrote: Dear guys, I'm currently working on a camera/ISP Linux driver project.Of course,I want it to be a V4L2 driver,but I got a problem

Re: [PATCH 2/2] mfd: remove CONFIG_MFD_SUPPORT

2011-09-15 Thread Samuel Ortiz
Hi Arnd, On Fri, Sep 02, 2011 at 04:43:36PM +0200, Arnd Bergmann wrote: We currently have two symbols to control compilation the MFD subsystem, MFD_SUPPORT and MFD_CORE. The MFD_SUPPORT is actually not required at all, it only hides the submenu when not set, with the effect that Kconfig warns

Re: Asking advice for Camera/ISP driver framework design

2011-09-15 Thread Sakari Ailus
Cliff Cai wrote: On Thu, Sep 15, 2011 at 6:20 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Cliff, On Wednesday 14 September 2011 08:13:32 Cliff Cai wrote: Dear guys, I'm currently working on a camera/ISP Linux driver project.Of course,I want it to be a V4L2 driver,but

Re: Asking advice for Camera/ISP driver framework design

2011-09-15 Thread Sakari Ailus
Cliff Cai wrote: Dear guys, Hi Cliff, I'm currently working on a camera/ISP Linux driver project.Of course,I want it to be a V4L2 driver,but I got a problem about how to design the driver framework. let me introduce the background of this ISP(Image signal processor) a little bit. 1.The

Re: [PATCH] DVB-APPS: azap gets -p argument

2011-09-15 Thread Christian Ulrich
Patch still not pushed? 2011/4/6 Janne Grunau j...@jannau.net: On Wed, Apr 06, 2011 at 08:39:05AM +0200, Oliver Endriss wrote: On Monday 04 April 2011 13:05:19 Janne Grunau wrote: On Tue, Mar 15, 2011 at 02:50:05PM +0100, Oliver Endriss wrote: The PAT/PMT from the stream does not describe

Re: [PATCH] mfd: Combine MFD_SUPPORT and MFD_CORE

2011-09-15 Thread Grant Likely
On Mon, Aug 29, 2011 at 09:41:47PM +0300, Luciano Coelho wrote: --- @@ -417,7 +417,6 @@ config GPIO_TIMBERDALE config GPIO_RDC321X tristate RDC R-321x GPIO support depends on PCI - select MFD_SUPPORT select MFD_CORE select MFD_RDC321X help diff --git

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2011-09-15 Thread Sakari Ailus
javier Martin wrote: Hi, Hi Javier, we are planning to add support to H.264/MPEG4 encoder inside the i.MX27 to v4l2. It is mainly a hardware module that has the following features: - It needs two input buffers (current frame and previous frame). - It produces a third buffer as output,

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2011-09-15 Thread Guennadi Liakhovetski
On Thu, 15 Sep 2011, Sakari Ailus wrote: javier Martin wrote: Hi, Hi Javier, we are planning to add support to H.264/MPEG4 encoder inside the i.MX27 to v4l2. It is mainly a hardware module that has the following features: - It needs two input buffers (current frame and previous

cron job: media_tree daily build: ERRORS

2011-09-15 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Thu Sep 15 19:00:38 CEST 2011 git hash:2d04c13a507f5a01daa7422cd52250809573cfdb gcc version: i686-linux-gcc

[PATCH/RFC] preserve video-device parent, set by the driver

2011-09-15 Thread Guennadi Liakhovetski
There doesn't seem to be any real requirement to override video-device parent, set by the driver, even if a v4l2-device is linked to the video-device, being registered. Let the driver control the parent pointer, if it needs to. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de ---

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Sylwester Nawrocki
On 09/15/2011 04:40 AM, Scott Jiang wrote: 2011/9/14 Sylwester Nawrockis.nawro...@samsung.com: On 09/14/2011 09:10 AM, Scott Jiang wrote: + fmt =bcap_formats[i]; + if (mbus_code) + *mbus_code = fmt-mbus_code; +

[PATCH] [ver 1.06] it913x-fe - correct tuner settings

2011-09-15 Thread tvboxspy
Correct tuner settings for more accuracy. This now makes the tuner section more compatible with other versions of the IT913X series. TODO Version 2 chip. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/it913x-fe-priv.h | 24 +

Re: Question about USB interface index restriction in gspca

2011-09-15 Thread Frank Schäfer
Am 14.09.2011 08:25, schrieb Jean-Francois Moine: On Tue, 13 Sep 2011 21:14:28 +0200 Frank Schäferfschaefer@googlemail.com wrote: I have a question about the following code in gspca.c: in function gspca_dev_probe(...): ... /* the USB video interface must be the first one */

ARDATA My Vision Hybrid TV support

2011-09-15 Thread Krzysztof Glowiński
I've got My Vision Hybrid TV DVB-T tuner. lsub shows: Bus 002 Device 002: ID 1b80:d412 Afatech Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2011-09-15 Thread Sakari Ailus
On Thu, Sep 15, 2011 at 07:48:36PM +0200, Guennadi Liakhovetski wrote: On Thu, 15 Sep 2011, Sakari Ailus wrote: javier Martin wrote: Hi, Hi Javier, we are planning to add support to H.264/MPEG4 encoder inside the i.MX27 to v4l2. It is mainly a hardware module that has the

Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

2011-09-15 Thread Scott Jiang
2011/9/16 Sylwester Nawrocki snj...@gmail.com: On 09/15/2011 04:40 AM, Scott Jiang wrote: 2011/9/14 Sylwester Nawrockis.nawro...@samsung.com: On 09/14/2011 09:10 AM, Scott Jiang wrote: +                     fmt =bcap_formats[i]; +                     if (mbus_code) +                        

Re: Asking advice for Camera/ISP driver framework design

2011-09-15 Thread Cliff Cai
On Fri, Sep 16, 2011 at 1:14 AM, Sakari Ailus sakari.ai...@iki.fi wrote: Cliff Cai wrote: Dear guys, Hi Cliff, I'm currently working on a camera/ISP Linux driver project.Of course,I want it to be a V4L2 driver,but I got a problem about how to design the driver framework. let me introduce