Re: rtl28xxu - rtl2832 frontend attach

2012-05-28 Thread Thomas Mair
On 26.05.2012 04:47, poma wrote: On 05/20/2012 11:12 PM, Thomas Mair wrote: On 20.05.2012 22:08, Antti Palosaari wrote: On 20.05.2012 20:04, poma wrote: After hard/cold boot: DVB: register adapter0/net0 @ minor: 2 (0x02) rtl2832u_frontend_attach: rtl28xxu_ctrl_msg: failed=-32

Re: Firmware blob in vs6624 driver

2012-05-28 Thread Scott Jiang
Hi Ben, This doesn't touch any of the documented registers, so presumably it's a patch to the firmware loaded from non-volatile memory.  Unless you can provide source code for the patch, this should go in the linux-firmware repository and be loaded with request_firmware() instead of embedded

Re: [RFC] file tree rearrangement - was: Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Hans Verkuil
On Sun May 27 2012 21:54:58 Mauro Carvalho Chehab wrote: Em 27-05-2012 14:25, Hans Verkuil escreveu: On Sun May 27 2012 19:13:38 Mauro Carvalho Chehab wrote: Em 27-05-2012 13:56, Mauro Carvalho Chehab escreveu: The Kconfig building system is improperly selecting some drivers, like analog

Re: [RFC] file tree rearrangement - was: Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Hans Verkuil
On Sun May 27 2012 22:15:08 Mauro Carvalho Chehab wrote: Em 27-05-2012 15:47, Andy Walls escreveu: Hans Verkuil hverk...@xs4all.nl wrote: On Sun May 27 2012 19:13:38 Mauro Carvalho Chehab wrote: Em 27-05-2012 13:56, Mauro Carvalho Chehab escreveu: The Kconfig building system is

Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Stefan Richter
On May 27 Mauro Carvalho Chehab wrote: The Kconfig building system is improperly selecting some drivers, like analog TV tuners even when this is not required. Rearrange the Kconfig in a way to prevent that. Mauro Carvalho Chehab (3): media: reorganize the main Kconfig items media:

Re: [RFC/PATCH] media: Add stk1160 new driver

2012-05-28 Thread Hans Verkuil
On Sun May 27 2012 23:20:21 Ezequiel Garcia wrote: Hi Hans, On Sat, May 26, 2012 at 2:05 PM, Hans Verkuil hverk...@xs4all.nl wrote: Always test your driver using the v4l2-compliance test tool that it part of v4l-utils! If it passes that, then your code will be in really good shape!

Re: [PATCH v3 1/1] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT

2012-05-28 Thread Hans Verkuil
Hi Ezequiel, I'm just bringing this proposal to your attention as I am wondering how your driver (and the old easycap driver that your driver will replace) handle the easycap device with multiple inputs? Is it cycling through all inputs? In that case we might need the input field. Regards,

[RFCv2 PATCH 0/5] Add hwseek caps and frequency bands

2012-05-28 Thread Hans Verkuil
Changes since v1: - Fixed typo in second patch - Patch 5 now only contains the part about frequency bands - Patch 6 contains only (I hope) a non-controversial clarification regarding modulators (and a small change making a line more understandable). Regards, Hans This patch series adds

[RFCv2 PATCH 1/6] videodev2.h: add new hwseek capability bits.

2012-05-28 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Tell the application whether the hardware seek is bounded and/or wraps around. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Hans de Goede hdego...@redhat.com --- include/linux/videodev2.h |2 ++ 1 file changed, 2 insertions(+) diff

[RFCv2 PATCH 4/6] videodev2.h: add frequency band information.

2012-05-28 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Hans de Goede hdego...@redhat.com --- include/linux/videodev2.h | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/include/linux/videodev2.h

[RFCv2 PATCH 3/6] S_HW_FREQ_SEEK: set capability flags and return ENODATA instead of EAGAIN.

2012-05-28 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Set the new capability flags in G_TUNER and return ENODATA if no channels were found. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Hans de Goede hdego...@redhat.com --- drivers/media/radio/radio-mr800.c|5 +++--

[RFCv2 PATCH 2/6] v4l2 spec: document the new v4l2_tuner capabilities

2012-05-28 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Update the spec with the new capabilities and specify new error codes for S_HW_FREQ_SEEK. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Hans de Goede hdego...@redhat.com --- .../DocBook/media/v4l/vidioc-g-frequency.xml |6

[RFCv2 PATCH 6/6] V4L2 spec: clarify a few modulator issues.

2012-05-28 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/common.xml | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Documentation/DocBook/media/v4l/common.xml

Re: [RFC] file tree rearrangement - was: Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2012 06:42, Hans Verkuil escreveu: On Sun May 27 2012 22:15:08 Mauro Carvalho Chehab wrote: Em 27-05-2012 15:47, Andy Walls escreveu: Hans Verkuil hverk...@xs4all.nl wrote: On Sun May 27 2012 19:13:38 Mauro Carvalho Chehab wrote: Em 27-05-2012 13:56, Mauro Carvalho Chehab escreveu:

Re: [RFCv2 PATCH 0/5] Add hwseek caps and frequency bands

2012-05-28 Thread Hans de Goede
Hi, Looks good, the entire series is: Acked-by: Hans de Goede hdego...@redhat.com I was thinking that it would be a good idea to add a: #define V4L2_TUNER_CAP_BANDS_MASK 0x001f to videodev2.h, which apps can then easily use to test if the driver supports any bands other then the default,

Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2012 06:48, Stefan Richter escreveu: On May 27 Mauro Carvalho Chehab wrote: The Kconfig building system is improperly selecting some drivers, like analog TV tuners even when this is not required. Rearrange the Kconfig in a way to prevent that. Mauro Carvalho Chehab (3): media:

Re: [RFC] file tree rearrangement - was: Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Hans Verkuil
On Mon May 28 2012 13:03:42 Mauro Carvalho Chehab wrote: Em 28-05-2012 06:42, Hans Verkuil escreveu: On Sun May 27 2012 22:15:08 Mauro Carvalho Chehab wrote: ... /dvb-core - what is already at dvb/dvb-core /frontends - what is already at dvb/frontends /isa

Re: [GIT PULL FOR v3.5] Move sta2x11_vip to staging

2012-05-28 Thread Hans Verkuil
On Mon May 28 2012 13:47:43 Federico Vaga wrote: I didn't get any reply from Federico when I posted my concerns last week, so that makes me unhappy as well. I hope the author will fix these issues, but in the meantime this will move it to staging waiting for further developments. The

Re: [PATCH v3 1/1] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT

2012-05-28 Thread Ezequiel Garcia
Hi Hans, On Mon, May 28, 2012 at 7:27 AM, Hans Verkuil hverk...@xs4all.nl wrote: Hi Ezequiel, I'm just bringing this proposal to your attention as I am wondering how your driver (and the old easycap driver that your driver will replace) handle the easycap device with multiple inputs? Is

Re: [RFCv2 PATCH 0/5] Add hwseek caps and frequency bands

2012-05-28 Thread Hans Verkuil
On Mon May 28 2012 13:20:47 Hans de Goede wrote: Hi, Looks good, the entire series is: Acked-by: Hans de Goede hdego...@redhat.com I was thinking that it would be a good idea to add a: #define V4L2_TUNER_CAP_BANDS_MASK 0x001f to videodev2.h, which apps can then easily use to test

Re: [RFC] file tree rearrangement - was: Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2012 08:45, Hans Verkuil escreveu: On Mon May 28 2012 13:03:42 Mauro Carvalho Chehab wrote: Em 28-05-2012 06:42, Hans Verkuil escreveu: On Sun May 27 2012 22:15:08 Mauro Carvalho Chehab wrote: skip/ /media-core for the media*.c sources. media-core is a very bad name, as media is

Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Stefan Richter
On May 28 Mauro Carvalho Chehab wrote: Em 28-05-2012 06:48, Stefan Richter escreveu: c) The RC_CORE_SUPP help text gives the impression that RC core is always needed if there is hardware with an IR feature. But the firedtv driver is a case where the driver directly works on top of the

[RFC PATCHv2 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Mauro Carvalho Chehab
The Kconfig building system is improperly selecting some drivers, like analog TV tuners even when this is not required. Rearrange the Kconfig in a way to prevent that. v2: Some fixups at the first patch (typos, renames). Other patches got rebased due to that. Mauro Carvalho Chehab (3):

[RFC PATCHv2 1/3] [media] media: reorganize the main Kconfig items

2012-05-28 Thread Mauro Carvalho Chehab
Change the main items to: m Multimedia support --- [ ] Cameras/video grabbers support [ ] Analog TV support [ ] Digital TV support [ ] AM/FM radio receivers/transmitters support [ ] Remote Controller support This provides an interface that is clearer to end users that

[RFC PATCHv2 3/3] [media] media: only show V4L devices based on device type selection

2012-05-28 Thread Mauro Carvalho Chehab
After this patch, the MEDIA*_SUPPORT will be used as a filter, exposing only devices that are pertinent to one of the 3 V4L types: webcam/grabber, radio, analog TV. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/radio/Kconfig|1 +

[RFC PATCHv2 2/3] [media] media: Remove VIDEO_MEDIA Kconfig option

2012-05-28 Thread Mauro Carvalho Chehab
In the past, it was possible to have either DVB or V4L2 core as module and the other as builtin. Such config never make much sense, and created several issues in order to make the Kconfig dependency to work, as all drivers that depend on both (most TV drivers) would need to be compiled as 'm'. Due

Re: [RFC PATCH 0/3] Improve Kconfig selection for media devices

2012-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2012 09:17, Stefan Richter escreveu: On May 28 Mauro Carvalho Chehab wrote: Em 28-05-2012 06:48, Stefan Richter escreveu: c) The RC_CORE_SUPP help text gives the impression that RC core is always needed if there is hardware with an IR feature. But the firedtv driver is a case where

Re: [RFC PATCHv2 1/3] [media] media: reorganize the main Kconfig items

2012-05-28 Thread Hans Verkuil
On Mon May 28 2012 14:17:47 Mauro Carvalho Chehab wrote: Change the main items to: m Multimedia support --- [ ] Cameras/video grabbers support [ ] Analog TV support [ ] Digital TV support [ ] AM/FM radio receivers/transmitters support [ ] Remote Controller

Re: [PATCH 2/2] [media] firedtv: Port it to use rc_core

2012-05-28 Thread Stefan Richter
On May 28 Stefan Richter wrote: + idev-phys = /ir0;/* FIXME */ Something similar to drivers/media/dvb/dvb-usb/dvb-usb-remote.c:: usb_make_path(d-udev, d-rc_phys, sizeof(d-rc_phys)); strlcat(d-rc_phys, /ir0, sizeof(d-rc_phys)); should be implemented for this,

Re: [PATCH 2/2] [media] firedtv: Port it to use rc_core

2012-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2012 11:14, Stefan Richter escreveu: On May 28 Stefan Richter wrote: + idev-phys = /ir0;/* FIXME */ Something similar to drivers/media/dvb/dvb-usb/dvb-usb-remote.c:: usb_make_path(d-udev, d-rc_phys, sizeof(d-rc_phys)); strlcat(d-rc_phys, /ir0,

Re: rtl28xxu - rtl2832 frontend attach

2012-05-28 Thread Thomas Mair
On 28.05.2012 08:58, Thomas Mair wrote: On 26.05.2012 04:47, poma wrote: On 05/20/2012 11:12 PM, Thomas Mair wrote: On 20.05.2012 22:08, Antti Palosaari wrote: On 20.05.2012 20:04, poma wrote: After hard/cold boot: DVB: register adapter0/net0 @ minor: 2 (0x02) rtl2832u_frontend_attach:

Re: [media-ctl PATCH 1/1] media-ctl: Compose print fixes

2012-05-28 Thread Laurent Pinchart
Hi Sakari, On Saturday 26 May 2012 19:43:16 Sakari Ailus wrote: The compose rectangles were printed incorrectly in my recent patch Compose rectangle support for libv4l2subdev without parenthesis. Fix this. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Hi Laurent, Could you apply

Re: [PATCH v3 1/1] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT

2012-05-28 Thread Ezequiel Garcia
Hi again, On Mon, May 28, 2012 at 8:52 AM, Ezequiel Garcia elezegar...@gmail.com wrote: I'm just bringing this proposal to your attention as I am wondering how your driver (and the old easycap driver that your driver will replace) handle the easycap device with multiple inputs? Is it

[PATCH] gspca - ov534/ov534_9: Fix sccd_read/write errors

2012-05-28 Thread Jean-Francois Moine
The ov534 bridge is too slow to handle the sensor accesses requested by fast hosts giving 'sccb_reg_write failed'. A small delay fixes the problem. Signed-off-by: Jean-François Moine moin...@free.fr --- drivers/media/video/gspca/ov534.c |1 + drivers/media/video/gspca/ov534_9.c |1 + 2

[PATCH] gspca - sonixj: Fix bad values of webcam 0458:7025

2012-05-28 Thread Jean-Francois Moine
The webcam 0458:7025 (Eye911Q) has: - an inverted power pin, - a sensor mi0360b which cannot be probed. Signed-off-by: Jean-François Moine moin...@free.fr --- drivers/media/video/gspca/sonixj.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 1/1] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT

2012-05-28 Thread Hans Verkuil
On Mon May 28 2012 18:29:11 Ezequiel Garcia wrote: Hi again, On Mon, May 28, 2012 at 8:52 AM, Ezequiel Garcia elezegar...@gmail.com wrote: I'm just bringing this proposal to your attention as I am wondering how your driver (and the old easycap driver that your driver will replace)

Re: [PATCH v3 1/1] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT

2012-05-28 Thread Ezequiel Garcia
On Mon, May 28, 2012 at 2:10 PM, Hans Verkuil hverk...@xs4all.nl wrote: I may be missing something, but I don't see any relation between video buffer queue and selected input. (Perhaps this is OT and we should discuss this in another thread) Well, this particular API was intended to let the

cron job: media_tree daily build: WARNINGS

2012-05-28 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:Mon May 28 19:00:19 CEST 2012 git hash:5472d3f17845c4398c6a510b46855820920c2181 gcc version: i686-linux-gcc

Re: [PATCH v3 1/1] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT

2012-05-28 Thread Hans Verkuil
On Mon May 28 2012 19:25:41 Ezequiel Garcia wrote: On Mon, May 28, 2012 at 2:10 PM, Hans Verkuil hverk...@xs4all.nl wrote: I may be missing something, but I don't see any relation between video buffer queue and selected input. (Perhaps this is OT and we should discuss this in another

Re: [PATCHv6 01/13] v4l: Add DMABUF as a memory type

2012-05-28 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 14:10:15 Tomasz Stanislawski wrote: From: Sumit Semwal sumit.sem...@ti.com Adds DMABUF memory type to v4l framework. Also adds the related file descriptor in v4l2_plane and v4l2_buffer. Sorry not to have caught this earlier, but

Re: [PATCHv6 02/13] Documentation: media: description of DMABUF importing in V4L2

2012-05-28 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 14:10:16 Tomasz Stanislawski wrote: This patch adds description and usage examples for importing DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-05-28 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 23 May 2012 14:10:14 Tomasz Stanislawski wrote: Hello everyone, This patchset adds support for DMABUF [2] importing to V4L2 stack. The support for DMABUF exporting was moved to separate patchset due to dependency on patches for DMA mapping redesign by Marek Szyprowski