Re: [RFC 08/17] v4l: Image source control class

2012-01-14 Thread Laurent Pinchart
Hi Sakari, On Saturday 14 January 2012 21:51:31 Sakari Ailus wrote: > Laurent Pinchart wrote: > > On Tuesday 20 December 2011 21:28:00 Sakari Ailus wrote: > >> From: Sakari Ailus > >> > >> Add image source control class. This control class is intended to > >> contain low level controls which dea

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-14 Thread Gianluca Gennari
Il 15/01/2012 00:41, RazzaList ha scritto: > I have followed the build instructions for the Hauppauge MyTV.t device here > - http://linuxtv.org/wiki/index.php/Hauppauge_myTV.t and built the drivers > as detailed here - > http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_D >

Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-14 Thread RazzaList
I have followed the build instructions for the Hauppauge MyTV.t device here - http://linuxtv.org/wiki/index.php/Hauppauge_myTV.t and built the drivers as detailed here - http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_D evice_Drivers on a CentOS 6.2 i386 build. When I u

Re: [PATCH RFCv2] add DTMB support for DVB API

2012-01-14 Thread Mauro Carvalho Chehab
Em 14-01-2012 13:35, Antti Palosaari escreveu: > On 01/14/2012 05:31 PM, Antti Palosaari wrote: >> +typedef enum fe_interleaving { >> + INTERLEAVING_NONE, >> + INTERLEAVING_240, >> + INTERLEAVING_720, >> +} fe_interleaving_t; > > Checkpatch didn't like that, but I left it as all the others are sim

Re: [RFC 08/17] v4l: Image source control class

2012-01-14 Thread Sakari Ailus
Hi Laurent, Thanks for the review! Laurent Pinchart wrote: > On Tuesday 20 December 2011 21:28:00 Sakari Ailus wrote: >> From: Sakari Ailus >> >> Add image source control class. This control class is intended to contain >> low level controls which deal with control of the image capture process -

Re: cx25840: improve audio for cx2388x drivers

2012-01-14 Thread Miroslav Slugeň
Hi, Dne 14. ledna 2012 21:21 Andy Walls napsal(a): > On Sat, 2012-01-14 at 19:44 +0100, Miroslav Slugeň wrote: >> Searching for testers, this patch is big one, it was more then week of >> work and testing, so i appriciate any comments and recommendations. > > Hi Miroslav, > > I have not exhaustiv

Re: [PATCH] [media] [PATCH] don't reset the delivery system on DTV_CLEAR

2012-01-14 Thread Malcolm Priestley
On Sat, 2012-01-14 at 18:47 +, Malcolm Priestley wrote: > On Tue, 2012-01-10 at 23:44 -0200, Mauro Carvalho Chehab wrote: > > As a DVBv3 application may be relying on the delivery system, > > don't reset it at DTV_CLEAR. For DVBv5 applications, the > > delivery system should be set anyway. > >

Re: [Linaro-mm-sig] [RFCv1 2/4] v4l:vb2: add support for shared buffer (dma_buf)

2012-01-14 Thread Sakari Ailus
Hi Sumit, Thanks for the patch! Sumit Semwal wrote: ... > @@ -962,6 +1030,109 @@ static int __qbuf_mmap(struct vb2_buffer *vb, const > struct v4l2_buffer *b) > } > > /** > + * __qbuf_dmabuf() - handle qbuf of a DMABUF buffer > + */ > +static int __qbuf_dmabuf(struct vb2_buffer *vb, const str

Re: cx25840: improve audio for cx2388x drivers

2012-01-14 Thread Andy Walls
On Sat, 2012-01-14 at 19:44 +0100, Miroslav Slugeň wrote: > Searching for testers, this patch is big one, it was more then week of > work and testing, so i appriciate any comments and recommendations. Hi Miroslav, I have not exhaustively revied this patch, but some general comments: 1. This patc

Re: [PATCH/RFC v2 3/4] gspca: sonixj: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support

2012-01-14 Thread Sylwester Nawrocki
On 01/14/2012 07:24 PM, Jean-Francois Moine wrote: > > Setting the JPEG quality in sonixj has been removed when automatic > quality adjustment has been added (git commit b96cfc33e7). At this > time, I let the JPEG get function, but it could have been removed as > well: I don't think the users are

[PATCH/RFC v4 3/3] gspca: zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support

2012-01-14 Thread Sylwester Nawrocki
The JPEG compression quality control is currently done by means of the VIDIOC_S/G_JPEGCOMP ioctls. As the quality field of struct v4l2_jpgecomp is being deprecated, we add the V4L2_CID_JPEG_COMPRESSION_QUALITY control, so after the deprecation period VIDIOC_S/G_JPEGCOMP ioctl handlers can be remove

Medion 2819 (saa7134 card=22 tuner=28) minor problems with radio applications

2012-01-14 Thread Daftcho Tabakov
Hi, Some years ago I managed to use my old Medion 2819 with the help of this maillist. Recently I upgraded the computer and installed Fedora 16. I use kradio4 for radio receiving. But after upgrade the radio plays in mono and there is no signal strength indicator. If I use radio program from xawtv

[PATCH/RFC v3 3/3] gspca: zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support

2012-01-14 Thread Sylwester Nawrocki
The JPEG compression quality control is currently done by means of the VIDIOC_S/G_JPEGCOMP ioctls. As the quality field of struct v4l2_jpgecomp is being deprecated, we add the V4L2_CID_JPEG_COMPRESSION_QUALITY control, so after the deprecation period VIDIOC_S/G_JPEGCOMP ioctl handlers can be remove

[PATCH/RFC v3 2/3] V4L: Add JPEG compression control class documentation

2012-01-14 Thread Sylwester Nawrocki
Add DocBook entries for the JPEG control class. Signed-off-by: Sylwester Nawrocki --- Documentation/DocBook/media/v4l/biblio.xml | 20 +++ Documentation/DocBook/media/v4l/compat.xml | 10 ++ Documentation/DocBook/media/v4l/controls.xml | 161 Docum

[PATCH/RFC v3 1/3] V4L: Add JPEG compression control class

2012-01-14 Thread Sylwester Nawrocki
The V4L2_CID_JPEG_CLASS control class is intended to expose various adjustable parameters of JPEG encoders and decoders. Following controls are defined: - V4L2_CID_JPEG_CHROMA_SUBSAMPLING, - V4L2_CID_JPEG_RESTART_INTERVAL, - V4L2_CID_JPEG_COMPRESSION_QUALITY, - V4L2_CID_JPEG_ACTIVE_MARKER. Th

[PATCH/RFC v3 0/3] JPEG codecs control class

2012-01-14 Thread Sylwester Nawrocki
Hello, this patch set adds new control class - V4L2_CID_JPEG_CLASS initially containing four controls. It also adds V4L2_CID_JPEG_COMPRESSION_QUALITY control to zc3xx gspca sub-device. The gspca patch has been tested with v4l2ucp and v4l2-ctl. The initial RFC can be found at http://www.mail-archi

Re: cx25840: improve audio for cx2388x drivers

2012-01-14 Thread Miroslav Slugeň
I tested Leadtek DVR3200 http://linuxtv.org/wiki/index.php/Leadtek_WinFast_PxDVR3200_H XC4000 and XC3028 versions I know that there is not yet full support for those cards, but i have few patches which are waiting to be commited, after for both tuners should work: DVB-t (already) Analog TV with

[media-ctl PATCH 1/1] libmediactl: Implement MEDIA_ENT_ID_FLAG_NEXT in media_get_entity_by_id()

2012-01-14 Thread Sakari Ailus
Signed-off-by: Sakari Ailus --- src/mediactl.c |9 +++-- src/mediactl.h |4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/mediactl.c b/src/mediactl.c index 5b8c587..f62fcdf 100644 --- a/src/mediactl.c +++ b/src/mediactl.c @@ -81,8 +81,13 @@ struct media_enti

Re: cx25840: improve audio for cx2388x drivers

2012-01-14 Thread Steven Toth
Miroslav, what cards did you test with? 2012/1/14 Miroslav Slugeň : > Searching for testers, this patch is big one, it was more then week of > work and testing, so i appriciate any comments and recommendations. -- Steven Toth - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this li

Re: [RFC 06/17] v4l: Add selections documentation.

2012-01-14 Thread Sakari Ailus
Hi Tomasz, Thanks for your reply. Tomasz Stanislawski wrote: >> Laurent Pinchart wrote: >>> On Tuesday 20 December 2011 21:27:58 Sakari Ailus wrote: >>> >>> [snip] >>> diff --git a/Documentation/DocBook/media/v4l/dev-subdev.xml b/Documentation/DocBook/media/v4l/dev-subdev.xml index 0916

cron job: media_tree daily build: ERRORS

2012-01-14 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:Sat Jan 14 19:00:19 CET 2012 git hash:240ab508aa9fb7a294b0ecb563b19ead000b2463 gcc version: i686-linux-gcc (GCC

Re: [PATCH] [media] [PATCH] don't reset the delivery system on DTV_CLEAR

2012-01-14 Thread Malcolm Priestley
On Tue, 2012-01-10 at 23:44 -0200, Mauro Carvalho Chehab wrote: > As a DVBv3 application may be relying on the delivery system, > don't reset it at DTV_CLEAR. For DVBv5 applications, the > delivery system should be set anyway. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/dvb/dv

xc2028: add registers names from datasheet

2012-01-14 Thread Miroslav Slugeň
Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Mon, 12 Dec 2011 00:19:34 +0100 Subject: [PATCH] Add registers names to XC2028 tuner from datahseet and use them. --- diff -Naurp a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c --- a/drivers/me

cx25840: improve audio for cx2388x drivers

2012-01-14 Thread Miroslav Slugeň
Searching for testers, this patch is big one, it was more then week of work and testing, so i appriciate any comments and recommendations. Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Mon, 12 Dec 2011 00:19:34 +0100 Subject: [PATCH] This patch should fix many analog audio issues for

xc4000: add direct signal and noise reading

2012-01-14 Thread Miroslav Slugeň
Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Wed, 21 Dec 2011 01:18:38 +0100 Subject: [PATCH] In xc4000 chipsets real signal and noise level is stored in register 0x0A and 0x0B, so we can use those registers to monitor signal strength. I tested this patch on 2 different cards Lea

cx25840: allow seting and reading audio mode for radio

2012-01-14 Thread Miroslav Slugeň
Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Mon, 12 Dec 2011 00:19:34 +0100 Subject: [PATCH] cx25840_g_tuner and cx25840_s_tuner should support also radio mode for detecting current audio mode, and we can use cx25840 register 0x805 for FM radio lock. --- diff -Naurp a/drivers/me

Update xc4000 tuner definition

2012-01-14 Thread Miroslav Slugeň
Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Sun, 11 Dec 2011 22:47:32 +0100 Subject: [PATCH] Update xc4000 tuner definition, number 81 is already in use by TUNER_PARTSNIC_PTI_5NF05 --- include/media/tuner.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

cx88: all radio tuners using xc2028 or xc4000 tuner and radio should have radio_type UNSET

2012-01-14 Thread Miroslav Slugeň
Please apply as soon as possible, without this patch radio doesn't work on affected tuners! M. Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Sun, 11 Dec 2011 23:00:06 +0100 Subject: [PATCH] All radio tuners in cx88 driver using same address for radio and tuner, so there is no need t

cx23885: small fix definition of radio tuners

2012-01-14 Thread Miroslav Slugeň
This time with signed-off header. Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Mon, 12 Dec 2011 00:19:34 +0100 Subject: [PATCH] All radio tuners in cx83885 driver using same address for radio and tuner, so there is no need to probe it twice for same tuner and we can use radio_type

Fix possible null dereference for Leadtek DTV 3200H

2012-01-14 Thread Miroslav Slugeň
This time with signed-off headers Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Sun, 11 Dec 2011 22:57:58 +0100 Subject: [PATCH] Fix possible null dereference for Leadtek DTV 3200H XC4000 tuner when no firmware file available. --- drivers/media/video/cx23885/cx23885-dvb.c |5 ++

cx23885: Add basic analog radio support

2012-01-14 Thread Miroslav Slugeň
New version of patch, fixed video modes for DVR3200 tuners and working audio mux. Signed-off-by: Miroslav Slugen From: Miroslav Slugen Date: Sat, 17 Dec 2011 01:23:22 +0100 Subject: [PATCH] Add support for radio tuners to cx23885 driver, and add example of radio support for Leadtek DVR3200 H tun

Re: [PATCH/RFC v2 3/4] gspca: sonixj: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support

2012-01-14 Thread Jean-Francois Moine
On Sat, 14 Jan 2012 18:42:20 +0100 Sylwester Nawrocki wrote: > Thank you for reviewing the patches. I wasn't sure I fully understood > the locking, hence I left the 'quality' field in 'struct sd' not removed. > I've modified both subdrivers according to your suggestions. I would have > one ques

Re: [PATCH/RFC v2 3/4] gspca: sonixj: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support

2012-01-14 Thread Sylwester Nawrocki
On 01/14/2012 09:47 AM, Jean-Francois Moine wrote: > On Fri, 6 Jan 2012 19:14:41 +0100 > Sylwester Nawrocki wrote: > >> The JPEG compression quality value can currently be read using the >> VIDIOC_G_JPEGCOMP ioctl. As the quality field of struct v4l2_jpgecomp >> is being deprecated, we add the V

Re: [PATCH RFCv2] add DTMB support for DVB API

2012-01-14 Thread Antti Palosaari
On 01/14/2012 05:31 PM, Antti Palosaari wrote: +typedef enum fe_interleaving { + INTERLEAVING_NONE, + INTERLEAVING_240, + INTERLEAVING_720, +} fe_interleaving_t; Checkpatch didn't like that, but I left it as all the others are similar. I am happy to fix it too if there is idea what it should b

[PATCH RFCv2] add DTMB support for DVB API

2012-01-14 Thread Antti Palosaari
Version 2. I have made some changes from feedback got and what I myself found better. I will add documentation later after API issues are resolved. Thanks to Andreas, Patrick and Mauro. Cc: Patrick Boettcher Cc: Andreas Oberritter Cc: Mauro Carvalho Chehab Signed-off-by: Antti Palosaari ---

Re: [PATCH] [media] dvb-core: preserve the delivery system at cache clear

2012-01-14 Thread Mauro Carvalho Chehab
Em 13-01-2012 22:00, Jim Darby escreveu: > Thanks for the patch Mauro. According to Gianluca that solves the backwards > compatibility issue. This is great news. Good! > In other news I've tried a few experiments. Firstly I tried using a 3.2.0 > unmodified straight out of the box kernel on my C

Re: [ddbridge] suspend-to-disk takes about a minute ("I2C timeout") if vdr in use on ASUS P8H67-M EVO

2012-01-14 Thread Eric Lavarde
Hello, On 24/12/11 08:19, Jonathan Nieder wrote: [ 570.265915] I2C timeout [ 570.265921] IRS 0001 [...] [... hundreds of line of this type ...] Ok, sounds like nothing good. This error message comes from the ddb_i2c_cmd() function in the ddbridge driver. I don't think it's supposed t

Re: [PATCH/RFC v2 3/4] gspca: sonixj: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support

2012-01-14 Thread Jean-Francois Moine
On Fri, 6 Jan 2012 19:14:41 +0100 Sylwester Nawrocki wrote: > The JPEG compression quality value can currently be read using the > VIDIOC_G_JPEGCOMP ioctl. As the quality field of struct v4l2_jpgecomp > is being deprecated, we add the V4L2_CID_JPEG_COMPRESSION_QUALITY > control, so after the dep

Re: [PATCH/RFC v2 4/4] gspca: zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support

2012-01-14 Thread Jean-Francois Moine
On Fri, 6 Jan 2012 19:14:42 +0100 Sylwester Nawrocki wrote: > The JPEG compression quality control is currently done by means of the > VIDIOC_S/G_JPEGCOMP ioctls. As the quality field of struct v4l2_jpgecomp > is being deprecated, we add the V4L2_CID_JPEG_COMPRESSION_QUALITY control, > so after