Re: [RFCv2 PATCH 08/11] v4l2-ctrls: simplify event subscription.

2011-06-03 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Wednesday 25 May 2011 15:33:52 Hans Verkuil wrote: > From: Hans Verkuil > > Signed-off-by: Hans Verkuil > --- > drivers/media/video/v4l2-ctrls.c | 31 +++ > include/media/v4l2-ctrls.h | 25 + > 2 f

Re: [RFCv2 PATCH 05/11] v4l2-ctrls: add v4l2_fh pointer to the set control functions.

2011-06-03 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Wednesday 25 May 2011 15:33:49 Hans Verkuil wrote: > From: Hans Verkuil > > When an application changes a control you want to generate an event. > However, you want to avoid sending such an event back to the application > (file handle) that caused the change. >

Re: [RFCv2 PATCH 04/11] v4l2-ctrls: Replace v4l2_ctrl_activate/grab with v4l2_ctrl_flags.

2011-06-03 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Wednesday 25 May 2011 15:33:48 Hans Verkuil wrote: > From: Hans Verkuil > > This more generic function makes it possible to have a single function > that takes care of flags handling, in particular with regards to sending > a control event when the flags change

Re: [RFCv2 PATCH 09/11] vivi: support control events.

2011-06-03 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Wednesday 25 May 2011 15:33:53 Hans Verkuil wrote: > From: Hans Verkuil > > Signed-off-by: Hans Verkuil > --- > drivers/media/video/vivi.c | 161 > ++- 1 files changed, 97 > insertions(+), 64 deletions(-) > > diff --gi

Re: [RFCv2 PATCH 00/11] Control Event

2011-06-03 Thread Laurent Pinchart
Hi Hans, Thanks for the patch set. On Wednesday 25 May 2011 15:33:44 Hans Verkuil wrote: > This is the second version of the patch series introducing a new event that > is triggered when a control's value or state changes. One general comment. The API lets applications subscribe to events for i

[PATCH] [media] rc-core support for Microsoft IR keyboard/mouse

2011-06-03 Thread Jarod Wilson
This is a custom IR protocol decoder, for the RC-6-ish protocol used by the Microsoft Remote Keyboard. http://www.amazon.com/Microsoft-Remote-Keyboard-Windows-ZV1-4/dp/B000AOAAN8 Its a standard keyboard with embedded thumb stick mouse pointer and mouse buttons, along with a number of media ke

Re: The mailing list linux-dvb@linuxtv is closed. use linux-media@vger.kernel.org instead

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 16:03, Stefan-W. Hahn escreveu: > subscribe linux-media Hi Stefan, In order to subscribe, you should send the subscribe message to: majord...@vger.kernel.org Thanks, Mauro > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a mess

Re: [PATCH] [media] V4L/videobuf2-memops: use pr_debug for debug messages

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 16:50, Uwe Kleine-König escreveu: > >> Fortunately, as the patches on this branch are meant to go to v3.1, >> I just renamed the branch to staging/for_v3.1, keeping the wrong patch >> at the old branch. This way, the need of rebasing was avoided. > I don't get what you mean here. Whic

Re: [PATCH] [media] V4L/videobuf2-memops: use pr_debug for debug messages

2011-06-03 Thread Uwe Kleine-König
Hello Mauro, On Fri, Jun 03, 2011 at 12:39:52PM -0300, Mauro Carvalho Chehab wrote: > Em 03-06-2011 04:39, Uwe Kleine-König escreveu: > > Hello Mauro, > > > > On Wed, Jun 01, 2011 at 10:34:31PM -0300, Mauro Carvalho Chehab wrote: > >> Hi Kyungmin, > >> > >> Em 01-06-2011 21:50, Kyungmin Park escr

Re: The mailing list linux-dvb@linuxtv is closed. use linux-media@vger.kernel.org instead

2011-06-03 Thread Stefan-W. Hahn
subscribe linux-media -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[cron job] v4l-dvb daily build: ERRORS

2011-06-03 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Fri Jun 3 19:00:36 CEST 2011 git hash:f9b51477fe540fb4c65a05027fdd6f2ecce4db3b gcc version: i686-linux-gcc (GCC) 4.5

Re: [PATCH] drivers/media: fix uninitialized variable

2011-06-03 Thread Guennadi Liakhovetski
On Fri, 3 Jun 2011, Andre Bartke wrote: > mx1_camera_add_device() can return an > uninitialized value of ret. > > Signed-off-by: Andre Bartke Thanks, will push to 3.0 Guennadi > --- > drivers/media/video/mx1_camera.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --g

[PATCH] drivers/media/video: fix memory leak of snd_cx18_init()

2011-06-03 Thread Andre Bartke
cxsc is not freed in the error case. Signed-off-by: Andre Bartke --- drivers/media/video/cx18/cx18-alsa-main.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/cx18/cx18-alsa-main.c b/drivers/media/video/cx18/cx18-alsa-main.c index d50d69d..a1e6c2a 10

[PATCH] drivers/media: fix uninitialized variable

2011-06-03 Thread Andre Bartke
mx1_camera_add_device() can return an uninitialized value of ret. Signed-off-by: Andre Bartke --- drivers/media/video/mx1_camera.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mx1_camera.c b/drivers/media/video/mx1_camera.c index bc0c23a..d9fc4b2

Re: AverMedia A306 (cx23385, xc3028, af9013) (A577 too ?)

2011-06-03 Thread Daniel Gimpelevich
On Thu, 2011-05-19 at 23:13 +0200, wal...@free.fr wrote: > I've tried to use my A306 board on my system. All the main chips are > fully > supported by linux. I have the A307 (product ID 0xc939) and I'd like to coordinate with you regarding adapting your A306 support for it. If you use IRC at all,

since kernel 2.6.39.1 : "kernel: dib0700: tx buffer length is larger than 4. Not supported"

2011-06-03 Thread Toralf Förster
I get that message with the new kernel for this card : 2011-06-03T17:29:43.861+02:00 n22 kernel: usb 1-1: new high speed USB device number 10 using ehci_hcd 2011-06-03T17:29:43.975+02:00 n22 kernel: usb 1-1: New USB device found, idVendor=0ccd, idProduct=00ab 2011-06-03T17:29:43.975+02:00 n22 ke

Re: [RFC 0/6] iommu: generic api migration and grouping

2011-06-03 Thread Arnd Bergmann
On Friday 03 June 2011, Ohad Ben-Cohen wrote: > First stab at iommu consolidation: Hi Ohad, Great to see your progress here! > - Migrate OMAP's iommu driver to the generic iommu API. With this in hand, > users can now start using the generic iommu layer instead of calling > omap-specific io

Re: [PATCH] [media] V4L/videobuf2-memops: use pr_debug for debug messages

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 04:39, Uwe Kleine-König escreveu: > Hello Mauro, > > On Wed, Jun 01, 2011 at 10:34:31PM -0300, Mauro Carvalho Chehab wrote: >> Hi Kyungmin, >> >> Em 01-06-2011 21:50, Kyungmin Park escreveu: >>> Acked-by: Kyungmin Park >> >> As this patch is really trivial and makes sense, I've just

XC4000: fixed frequency error

2011-06-03 Thread istva...@mailbox.hu
The xc_get_frequency_error() function reported the frequency error incorrectly. The data read from the hardware is a signed integer, in 15625 Hz units. The attached patch fixes the bug. Signed-off-by: Istvan Varga diff -uNr xc4000_orig/drivers/media/common/tuners/xc4000.c xc4000/drivers/media/co

XC4000: added mutex

2011-06-03 Thread istva...@mailbox.hu
This patch adds a mutex to xc4000_priv, to protect the driver from being accessed by multiple processes at the same time. Signed-off-by: Istvan Varga diff -uNr xc4000_orig/drivers/media/common/tuners/xc4000.c xc4000/drivers/media/common/tuners/xc4000.c --- xc4000_orig/drivers/media/common/tuners

XC4000: added support for 7 MHz DVB-T

2011-06-03 Thread istva...@mailbox.hu
The following patch implements support for DVB-T with 7 MHz bandwidth. Signed-off-by: Istvan Varga diff -uNr xc4000_orig/drivers/media/common/tuners/xc4000.c xc4000/drivers/media/common/tuners/xc4000.c --- xc4000_orig/drivers/media/common/tuners/xc4000.c 2011-06-03 15:47:04.0 +0200 +++ x

Re: [PATCH v3] [media] at91: add Atmel Image Sensor Interface (ISI) support

2011-06-03 Thread Guennadi Liakhovetski
On Fri, 3 Jun 2011, Josh Wu wrote: > This patch is to enable Atmel Image Sensor Interface (ISI) driver support. > - Using soc-camera framework with videobuf2 dma-contig allocator > - Supporting video streaming of YUV packed format > - Tested on AT91SAM9M10G45-EK with OV2640 > > Signed-off-by: Jos

XC4000: updated standards table

2011-06-03 Thread istva...@mailbox.hu
This patch makes the following changes to the standards table: - added 'u16 int_freq' to struct XC_TV_STANDARD (needed for analog TV and radio, 0 for DVB-T) - added new standard for SECAM-D/K video with PAL-D/K audio - the 'int_freq' values are now specified in the table - changed Video

Re: XC4000: added card_type

2011-06-03 Thread istva...@mailbox.hu
On 06/03/2011 04:00 PM, Mauro Carvalho Chehab wrote: > While the xc4000 is not merged upstream, we may have such hack, but > before merging, this issue should be solved. > > However, it seems better to just do the right thing since the beginning: > > just add a patch for cx88 adding the xc4000 b

Re: [GIT PULL FOR 2.6.40] PCTV nanoStick T2 290e (Sony CXD2820R DVB-T/T2/C)

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 09:34, Antti Palosaari escreveu: > On 06/01/2011 04:27 PM, Mauro Carvalho Chehab wrote: >> Em 25-05-2011 17:42, Antti Palosaari escreveu: >>> Antti Palosaari (7): >>>em28xx-dvb: add module param "options" and use it for LNA >> >> That patch is ugly, for several reasons: >> >>

Re: XC4000: added card_type

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 10:16, istva...@mailbox.hu escreveu: > On 06/03/2011 02:46 PM, Devin Heitmueller wrote: > >> I understand what you're trying to do here, but this is not a good >> approach. We do not want to be littering tuner drivers with >> card-specific if() statements. Also, this is inconsisten

Re: [PATCH] FE_GET_PROPERTY should be _IOW, because the associated structure is transferred from userspace to kernelspace. Keep the old ioctl around for compatibility so that existing code is not brok

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 09:44, Andreas Oberritter escreveu: > On 06/01/2011 11:15 PM, Mauro Carvalho Chehab wrote: >> The dvb_usercopy will do the right thing, if we use _IOR or _IORW. > > It only works, because _IOC_READ triggers a copy_from_user, as a > workaround for wrongly marked ioctls like this, acco

Re: Fwd: XC4000: code cleanup

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 10:11, Mauro Carvalho Chehab escreveu: > > > Mensagem original > Assunto: XC4000: code cleanup > Data: Fri, 03 Jun 2011 12:02:15 +0200 > De: istva...@mailbox.hu > Para: Devin Heitmueller > CC: Dmitri Belimov ,Mauro Carvalho Chehab > , thunde...@email.cz,

TM5600 based tuner not working

2011-06-03 Thread Rajendra Mishra
Hi All, I had bought a "USB 2.0 laptop TV tuner card" (as mentioned on the device). It has a TM5600 chip with following written on it. TVMASTER TM5600 B HCCO2 D49KK 1 0923 2013F0F906F071003 Downloaded the v4l code and compiled on Ubuntu 2.6.32-25-generic. Loaded the drivers in following order

Re: [GIT PULL FOR 2.6.40] PCTV nanoStick T2 290e (Sony CXD2820R DVB-T/T2/C)

2011-06-03 Thread Steve Kerrison
Here in the UK the mux strengths and parameters are all over the place. I have had situations in the past (with dib0700 I think) where I've had to twiddle the force_lna setting one way or the other depending on how they've decided to reconfigure my local transmitter. So I'd be cautious about flat

Re: [GIT PULL FOR 2.6.40] PCTV nanoStick T2 290e (Sony CXD2820R DVB-T/T2/C)

2011-06-03 Thread Bjørn Mork
Antti Palosaari writes: > On 06/01/2011 04:27 PM, Mauro Carvalho Chehab wrote: >> Em 25-05-2011 17:42, Antti Palosaari escreveu: >>> Antti Palosaari (7): >>>em28xx-dvb: add module param "options" and use it for LNA >> >> That patch is ugly, for several reasons: >> >> 1) we don't want a gen

Re: Anchor Chips V4L2 driver

2011-06-03 Thread Hans de Goede
Hi, On 06/03/2011 02:15 PM, Mauro Carvalho Chehab wrote: Em 03-06-2011 02:40, John McMaster escreveu: I'd like to write a driver for an Anchor Chips (seems to be bought by Cypress) USB camera Linux driver sold as an AmScope MD1800. It seems like this implies I need to write a V4L2 driver. The

Re: [bug-report] unconditionally calling cxd2820r_get_tuner_i2c_adapter() from em28xx-dvb.c creates a hard module dependency

2011-06-03 Thread Bjørn Mork
Antti Palosaari writes: > On 06/03/2011 03:50 PM, Bjørn Mork wrote: > >> This probably means that a generic i2c_tuner wrapper, similar to >> dvb_attach, would be useful. > > For the cxd2820r it is also possible to return I2C adapter as pointer > from dvb_attach like pointer to FE0 is carried for F

Fwd: XC4000: code cleanup

2011-06-03 Thread Mauro Carvalho Chehab
Mensagem original Assunto: XC4000: code cleanup Data: Fri, 03 Jun 2011 12:02:15 +0200 De: istva...@mailbox.hu Para: Devin Heitmueller CC: Dmitri Belimov ,Mauro Carvalho Chehab , thunde...@email.cz,linux-...@linuxtv.org This is the first of a set of patches th

Re: XC4000: added card_type

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 09:38, istva...@mailbox.hu escreveu: > This patch adds support for selecting a card type in struct > xc4000_config, to allow for implementing some card specific code > in the driver. Hi Istvan, Please send your patches to linux-media@vger.kernel.org. The linux-dvb ML is obsolete. I

Fwd: XC4000: code cleanup

2011-06-03 Thread Mauro Carvalho Chehab
Mensagem original Assunto: XC4000: code cleanup Data: Fri, 03 Jun 2011 12:02:15 +0200 De: istva...@mailbox.hu Para: Devin Heitmueller CC: Dmitri Belimov ,Mauro Carvalho Chehab , thunde...@email.cz,linux-...@linuxtv.org This is the first of a set of patches th

Re: [bug-report] unconditionally calling cxd2820r_get_tuner_i2c_adapter() from em28xx-dvb.c creates a hard module dependency

2011-06-03 Thread Antti Palosaari
On 06/03/2011 03:50 PM, Bjørn Mork wrote: Antti Palosaari writes: There is some other FEs having also I2C adapter, I wonder how those handle this situation. I looked example from cx24123 and s5h1420 drivers, both used by flexcop. Did you see what is magic used those devices? None. They hav

Re: [bug-report] unconditionally calling cxd2820r_get_tuner_i2c_adapter() from em28xx-dvb.c creates a hard module dependency

2011-06-03 Thread Bjørn Mork
Antti Palosaari writes: > There is some other FEs having also I2C adapter, I wonder how those > handle this situation. I looked example from cx24123 and s5h1420 > drivers, both used by flexcop. > > Did you see what is magic used those devices? None. They have the same problem, creating hard mod

Re: [PATCH] FE_GET_PROPERTY should be _IOW, because the associated structure is transferred from userspace to kernelspace. Keep the old ioctl around for compatibility so that existing code is not brok

2011-06-03 Thread Andreas Oberritter
On 06/01/2011 11:15 PM, Mauro Carvalho Chehab wrote: > The dvb_usercopy will do the right thing, if we use _IOR or _IORW. It only works, because _IOC_READ triggers a copy_from_user, as a workaround for wrongly marked ioctls like this, according to a code comment. It does not really do the right th

Re: [GIT PULL FOR 2.6.40] PCTV nanoStick T2 290e (Sony CXD2820R DVB-T/T2/C)

2011-06-03 Thread Antti Palosaari
On 06/01/2011 04:27 PM, Mauro Carvalho Chehab wrote: Em 25-05-2011 17:42, Antti Palosaari escreveu: Antti Palosaari (7): em28xx-dvb: add module param "options" and use it for LNA That patch is ugly, for several reasons: 1) we don't want a generic "options" parameter, whose meaning chan

Re: [bug-report] unconditionally calling cxd2820r_get_tuner_i2c_adapter() from em28xx-dvb.c creates a hard module dependency

2011-06-03 Thread Antti Palosaari
On 06/01/2011 08:18 PM, Bjørn Mork wrote: Bjørn Mork writes: diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c index 7904ca4..d994592 100644 --- a/drivers/media/video/em28xx/em28xx-dvb.c +++ b/drivers/media/video/em28xx/em28xx-dvb.c @@ -669,7 +669,

Re: Anchor Chips V4L2 driver

2011-06-03 Thread Mauro Carvalho Chehab
Em 03-06-2011 02:40, John McMaster escreveu: > I'd like to write a driver for an Anchor Chips (seems to be bought by > Cypress) USB camera Linux driver sold as an AmScope MD1800. It seems > like this implies I need to write a V4L2 driver. The camera does not > seem its currently supported (checke

Re: [linux-dvb] XC4000 patches for kernel 2.6.37.2

2011-06-03 Thread Mauro Carvalho Chehab
Em 02-06-2011 22:41, Dmitri Belimov escreveu: > On Thu, 02 Jun 2011 11:41:53 -0300 > Mauro Carvalho Chehab wrote: > One of our TV card has this tuner. It works in analog mode. I try get right > firmware > cleanup and test. > > Can I use > git://linuxtv.org/mchehab/experimental.git branch xc400

[PATCH v3] [media] at91: add Atmel Image Sensor Interface (ISI) support

2011-06-03 Thread Josh Wu
This patch is to enable Atmel Image Sensor Interface (ISI) driver support. - Using soc-camera framework with videobuf2 dma-contig allocator - Supporting video streaming of YUV packed format - Tested on AT91SAM9M10G45-EK with OV2640 Signed-off-by: Josh Wu --- base on branch staging/for_v3.0 Modifi

Re: [PATCH V2] V4L/DVB: v4l: Add driver for Marvell PXA910 CCIC

2011-06-03 Thread Guennadi Liakhovetski
Ok, this will be converted to use a common "cafe" code, but I'll comment on this version anyway, for your future reference. On Wed, 1 Jun 2011, Kassey Lee wrote: > This driver exports a video device node per each CCIC > (CMOS Camera Interface Controller) > device contained in Marvell Mobile PXA9

RE: [PATCH v2] [media] at91: add Atmel Image Sensor Interface (ISI) support

2011-06-03 Thread Wu, Josh
Hi, Arnd On Friday, May 27, 2011 9:50 PM, Arnd Bergmann wrote >On Friday 27 May 2011, Josh Wu wrote: >> This patch is to enable Atmel Image Sensor Interface (ISI) driver support. >> - Using soc-camera framework with videobuf2 dma-contig allocator >> - Supporting video streaming of YUV packed form

RE: [PATCH v2] [media] at91: add Atmel Image Sensor Interface (ISI) support

2011-06-03 Thread Wu, Josh
Hi, Jean-Christophe Thank you for the review. Jean-Christophe PLAGNIOL-VILLARD wrote on Friday, May 27, 2011 8:06 PM: >> +/* ISI interrupt service routine */ >> +static irqreturn_t isi_interrupt(int irq, void *dev_id) { >> +struct atmel_isi *isi = dev_id; >> +u32 status, mask, pending; >

RE: [PATCH v2] [media] at91: add Atmel Image Sensor Interface (ISI) support

2011-06-03 Thread Wu, Josh
Hi, Guennadi Guennadi Liakhovetski wrote on May 29, 2011 4:25 AM > Hi Josh > Thanks for the update. A general note: I much prefer the new IO accessors and > > register names and values - thanks for changing that! Thank you for the reviewing. I also think this version is clearer. :) Base on the

Re: [RFCv1 PATCH 4/5] DocBook: document autoclusters.

2011-06-03 Thread Hans Verkuil
On Friday, May 27, 2011 16:57:54 Hans Verkuil wrote: > From: Hans Verkuil > > Signed-off-by: Hans Verkuil > --- > Documentation/video4linux/v4l2-controls.txt | 56 > +++ > 1 files changed, 56 insertions(+), 0 deletions(-) > > diff --git a/Documentation/video4linux/v4

HELLO

2011-06-03 Thread anna johnson
hello i like us to communicate as you reply to my mail hope to hear from you soon i will reply with my picture and more about me. with love Anna -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH] [media] V4L/videobuf2-memops: use pr_debug for debug messages

2011-06-03 Thread Uwe Kleine-König
Hello Mauro, On Wed, Jun 01, 2011 at 10:34:31PM -0300, Mauro Carvalho Chehab wrote: > Hi Kyungmin, > > Em 01-06-2011 21:50, Kyungmin Park escreveu: > > Acked-by: Kyungmin Park > > As this patch is really trivial and makes sense, I've just applied it earlier > today. You somehow screwed up my na

RE: [RFC/PATCH v2] v4l: add control definitions for codec devices.

2011-06-03 Thread Jeongtae Park
Hi, > -Original Message- > From: Kamil Debski [mailto:k.deb...@samsung.com] > Sent: Thursday, June 02, 2011 11:44 PM > To: jtp.p...@samsung.com; linux-media@vger.kernel.org > Cc: jaeryul...@samsung.com; june@samsung.com; janghyuck@samsung.com; > kyungmin.p...@samsung.com; > youngl