[PATCH] Add CHIP ID of the uPD61151

2010-03-17 Thread Dmitri Belimov
Hi Add CHIP ID of the NEC MPEG2 encoders uPD61151 and uPD61152. diff -r b6b82258cf5e linux/include/media/v4l2-chip-ident.h --- a/linux/include/media/v4l2-chip-ident.h Thu Dec 31 19:14:54 2009 -0200 +++ b/linux/include/media/v4l2-chip-ident.h Wed Mar 17 04:53:52 2010 +0900 @@ -278,6 +278,1

audio drive fails to initialise after latest FC12 kernel

2010-03-17 Thread Paul
I have a digitalnow DNTV Live! DVB-T Pro [card=42,] which has a Audio input jack, and after the new cx88 drivers which the kernal I don't see that audio device any more uname -a Linux mythbox.salsola 2.6.32.9-70.fc12.i686 #1 SMP Wed Mar 3 05:14:32 UTC 2010 i686 athlon i386 GNU/Linux here are c

[PULL] http://kernellabs.com/hg/~dheitmueller/v4l-dvb-em28xx-quality-2

2010-03-17 Thread Devin Heitmueller
Hello, Please PULL from http://kernellabs.com/hg/~dheitmueller/v4l-dvb-em28xx-quality-2 for the following: em28xx: adjust number of packets per URB em28xx: reduce cropping for VBI area em28xx: rework buffer pointer tracking for offset to start of video saa7115: enable anti-alias filter videodev2:

[PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-pageable user-allocated memory

2010-03-17 Thread Arnout Vandecappelle
videobuf_dma_init_user_locked() uses get_user_pages() to get the virtual-to-physical address mapping for user-allocated memory. However, the user-allocated memory may be non-pageable because it is an I/O range or similar. get_user_pages() fails with -EFAULT in that case. If the user-allocated mem

[PATCH 1/2] V4L/DVB: buf-dma-sg.c: don't assume nr_pages == sglen

2010-03-17 Thread Arnout Vandecappelle
videobuf_pages_to_sg() and videobuf_vmalloc_to_sg() happen to create a scatterlist element for every page. However, this is not true for bus addresses, so other functions shouldn't rely on the length of the scatter list being equal to nr_pages. --- drivers/media/video/videobuf-dma-sg.c |4 ++-

[PATCH v3] Support for zerocopy to DMA buffers

2010-03-17 Thread Arnout Vandecappelle
Hoi, [Please CC me, I'm not subscribed.] I'm implementing zerocopy transfer from a v4l2 camera to the DSP on an OMAP3 (based on earlier work by Stefan Kost [1][2]). Therefore I'm using V4L2_MEMORY_USERPTR to pass in the memory area allocated by TI's DMAI driver. However, this has flags VM

Re: [PATCH 1/2] V4L/DVB: buf-dma-sg.c: don't assume nr_pages == sglen

2010-03-17 Thread Arnout Vandecappelle
On Wednesday 17 March 2010 21:57:18, Sakari Ailus wrote: > Arnout Vandecappelle wrote: > > diff --git a/drivers/media/video/videobuf-dma-sg.c > > b/drivers/media/video/videobuf-dma-sg.c index da1790e..3b6f1b8 100644 > > --- a/drivers/media/video/videobuf-dma-sg.c > > +++ b/drivers/media/video/vide

Sony DCR-HC23 + USB (0540:00c0) + Linux?

2010-03-17 Thread Németh Márton
Hi, does anybody have experience connecting Sony DCR-HC23 Handycam to Linux through USB? I send the USB descriptor below. The device appears only after selecting the "FN/MENU/SETUP MENU/USB STREAM" menu item of the handycam to "ON". When I select "OFF" and press "EXEC" button then the device disc

Re: [PATCH] V4L: introduce a Kconfig variable to disable helper-chip autoselection

2010-03-17 Thread Mauro Carvalho Chehab
Hans, Hans Verkuil wrote: > On Wednesday 17 March 2010 20:28:07 Mauro Carvalho Chehab wrote: >> Guennadi Liakhovetski wrote: >> >>> Hi Mauro >>> >>> we just discussed this with Hans on IRC, and if I understood him >>> correctly, he was of the same opinion, that adding such a variable could >>> h

Re: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Mauro Carvalho Chehab
Hans Verkuil wrote: > On Wednesday 17 March 2010 14:04:21 Pawel Osciak wrote: >> Make videobuf pass checkpatch; minor code cleanups. >> >> Signed-off-by: Pawel Osciak >> Reviewed-by: Kyungmin Park > > Reviewed-by: Hans Verkuil > > It would be really nice if this can be merged soon. With all th

Re: [PATCH 1/2] V4L/DVB: buf-dma-sg.c: don't assume nr_pages == sglen

2010-03-17 Thread Sakari Ailus
Hi Arnout, Arnout Vandecappelle wrote: > videobuf_pages_to_sg() and videobuf_vmalloc_to_sg() happen to create > a scatterlist element for every page. However, this is not true for > bus addresses, so other functions shouldn't rely on the length of the > scatter list being equal to nr_pages. > ---

Re: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Hans Verkuil
On Wednesday 17 March 2010 14:04:21 Pawel Osciak wrote: > Make videobuf pass checkpatch; minor code cleanups. > > Signed-off-by: Pawel Osciak > Reviewed-by: Kyungmin Park Reviewed-by: Hans Verkuil It would be really nice if this can be merged soon. With all the work that we want to do on vide

Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Sakari Ailus
Aguirre, Sergio wrote: >> What exactly does not work? > > Ok, let me explain: > > In my boardfile, I have: > > static struct omap34xxcam_platform_data zoom_camera_pdata = { > .isp= &omap3isp_device, > .subdevs[0] = zoom_camera_primary_subdevs, > .sensors[0]

Re: [PATCH] v4l: videobuf: make poll() report proper flags for output video devices

2010-03-17 Thread Hans Verkuil
On Wednesday 17 March 2010 15:00:02 Pawel Osciak wrote: > According to the V4L2 specification, poll() should set POLLOUT | POLLWRNORM > flags for output devices after the frame has been displayed. > > Signed-off-by: Pawel Osciak > Reviewed-by: Kyungmin Park > --- > drivers/media/video/videobuf-

Re: [PATCH/RFC 0/2] Fix DQBUF behavior for recoverable streaming errors

2010-03-17 Thread Hans Verkuil
On Wednesday 17 March 2010 15:29:48 Pawel Osciak wrote: > Hello, > > during the V4L2 brainstorm meeting in Norway we have concluded that streaming > error handling in dqbuf is lacking a bit and might result in the application > losing video buffers. > > V4L2 specification states that DQBUF should

Re: [PATCH] V4L: introduce a Kconfig variable to disable helper-chip autoselection

2010-03-17 Thread Hans Verkuil
On Wednesday 17 March 2010 20:28:07 Mauro Carvalho Chehab wrote: > Guennadi Liakhovetski wrote: > > > Hi Mauro > > > > we just discussed this with Hans on IRC, and if I understood him > > correctly, he was of the same opinion, that adding such a variable could > > help. > > > > The problem is

[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS

2010-03-17 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:Wed Mar 17 19:00:11 CET 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14492:749f7ddc61ab git master:

Re: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Mauro Carvalho Chehab
Pawel Osciak wrote: >> Aguirre, Sergio wrote: >>> Make videobuf pass checkpatch; minor code cleanups. >> I thought this kind patches were frowned upon.. >> >> http://www.mjmwired.net/kernel/Documentation/development-process/4.Coding#41 >> >> But maybe it's acceptable in this case... I'm not an expe

Re: [PATCH] V4L: introduce a Kconfig variable to disable helper-chip autoselection

2010-03-17 Thread Mauro Carvalho Chehab
Guennadi Liakhovetski wrote: > Hi Mauro > > we just discussed this with Hans on IRC, and if I understood him > correctly, he was of the same opinion, that adding such a variable could > help. > > The problem is the following: this automatic selection works in a way, > that various bridge driv

[GIT FIX for 2.6.34] V4L - vpfe capture - fix for kernel crash on DM365

2010-03-17 Thread m-karicheri2
From: Muralidharan Karicheri As part of upstream merge, set_params() function was removed from isif.c. This requires removal of BUG_ON() and check for set_params ptr in vpfe_capture.c. Signed-off-by: Muralidharan Karicheri --- drivers/media/video/davinci/vpfe_capture.c | 24 +---

Problems with ngene based DVB cards (Digital Devices Cine S2 Dual DVB-S2 , Mystique SaTiX S2 Dual)

2010-03-17 Thread Andreas Besse
Hello, we discovered several problems with the ngene based dual DVB cards. The problems occur with the Digital Devices Cine S2 Dual DVB-S2 device (Linux4Media cineS2 DVB-S2 Twin Tuner), the clones like Mystique SaTiX S2 Dual should also be affected. We are using the ngene drivers from the linuxtv

Re: Problem with em28xx card, PAL and teletext

2010-03-17 Thread Devin Heitmueller
On Wed, Mar 17, 2010 at 10:59 AM, Eugeniy Meshcheryakov wrote: > Hello, > > I have a Pinnacle Hybrid Pro Stick (in kernel source "Pinnacle Hybrid > Pro (2)", driver em28xx). Several kernel releases ago it started to have > problem displaying analog tv correctly. The picture is shifted and > there

[patch] ivtv: sizeof() => ARRAY_SIZE()

2010-03-17 Thread Dan Carpenter
This fixes a smatch warning: drivers/media/video/ivtv/ivtv-vbi.c +138 ivtv_write_vbi(43) error: buffer overflow 'vi->cc_payload' 256 <= 1023 Signed-off-by: Dan Carpenter diff --git a/drivers/media/video/ivtv/ivtv-vbi.c b/drivers/media/video/ivtv/ivtv-vbi.c index f420d31..d73af45 100644

Problem with em28xx card, PAL and teletext

2010-03-17 Thread Eugeniy Meshcheryakov
Hello, I have a Pinnacle Hybrid Pro Stick (in kernel source "Pinnacle Hybrid Pro (2)", driver em28xx). Several kernel releases ago it started to have problem displaying analog tv correctly. The picture is shifted and there is green line on the bottom (see http://people.debian.org/~eugen/tv.png). A

RE: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Aguirre, Sergio
> -Original Message- > From: Sakari Ailus [mailto:sakari.ai...@maxwell.research.nokia.com] > Sent: Wednesday, March 17, 2010 9:59 AM > To: Aguirre, Sergio > Cc: Laurent Pinchart; linux-media@vger.kernel.org > Subject: Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630) > > Aguirre, Ser

Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Sakari Ailus
Aguirre, Sergio wrote: > > >> -Original Message- >> From: Sakari Ailus [mailto:sakari.ai...@maxwell.research.nokia.com] >> Sent: Wednesday, March 17, 2010 9:16 AM >> To: Laurent Pinchart >> Cc: Aguirre, Sergio; linux-media@vger.kernel.org >> Subject: Re: [omap3camera] Camera bring-up on Z

RE: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Pawel Osciak
> Aguirre, Sergio wrote: >> >> Aguirre, Sergio wrote: >> >>> Make videobuf pass checkpatch; minor code cleanups. >> >> >> >>I thought this kind patches were frowned upon.. >> >> >> >>http://www.mjmwired.net/kernel/Documentation/development- >> process/4.Coding#41 >> >> >> >>But maybe it's acceptabl

RE: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Aguirre, Sergio
> -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Wednesday, March 17, 2010 9:29 AM > To: Pawel Osciak > Cc: Aguirre, Sergio; linux-media@vger.kernel.org; Marek Szyprowski; > kyungmin.p...@samsung.com > Subject: RE: [PATCH v2] v4l: videobuf: code cleanup. > >

RE: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Aguirre, Sergio
> -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Wednesday, March 17, 2010 9:26 AM > To: Aguirre, Sergio > Cc: Pawel Osciak; linux-media@vger.kernel.org; m.szyprow...@samsung.com; > kyungmin.p...@samsung.com > Subject: RE: [PATCH v2] v4l: videobuf: code cleanu

[PATCH/RFC 0/2] Fix DQBUF behavior for recoverable streaming errors

2010-03-17 Thread Pawel Osciak
Hello, during the V4L2 brainstorm meeting in Norway we have concluded that streaming error handling in dqbuf is lacking a bit and might result in the application losing video buffers. V4L2 specification states that DQBUF should set errno to EIO in such cases: "EIO VIDIOC_DQBUF failed due to an

[PATCH 1/2] v4l: Add a new ERROR flag for DQBUF after recoverable streaming errors

2010-03-17 Thread Pawel Osciak
This flag is to be set together with V4L2_BUF_FLAG_DONE. It is intended to indicate streaming errors that might have resulted in corrupted video data in the buffer, but the buffer can still be reused and the streaming may continue. Setting this flag and returning 0 is different from returning EIO.

[PATCH 2/2] v4l: videobuf: Add support for V4L2_BUF_FLAG_ERROR

2010-03-17 Thread Pawel Osciak
On dqbuf videobuf will now return 0 and an error flag will be set, instead of returning EIO in case of recoverable streaming errors. --- drivers/media/video/videobuf-core.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/videobuf-core.c b/drivers/m

RE: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Hans Verkuil
>> Aguirre, Sergio wrote: >>> Make videobuf pass checkpatch; minor code cleanups. >> >>I thought this kind patches were frowned upon.. >> >>http://www.mjmwired.net/kernel/Documentation/development-process/4.Coding#41 >> >>But maybe it's acceptable in this case... I'm not an expert on community >>

RE: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Hans Verkuil
> Hi, > >> -Original Message- >> From: linux-media-ow...@vger.kernel.org [mailto:linux-media- >> ow...@vger.kernel.org] On Behalf Of Pawel Osciak >> Sent: Wednesday, March 17, 2010 8:04 AM >> To: linux-media@vger.kernel.org >> Cc: p.osc...@samsung.com; m.szyprow...@samsung.com; >> kyungmin

RE: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Aguirre, Sergio
> -Original Message- > From: Sakari Ailus [mailto:sakari.ai...@maxwell.research.nokia.com] > Sent: Wednesday, March 17, 2010 9:16 AM > To: Laurent Pinchart > Cc: Aguirre, Sergio; linux-media@vger.kernel.org > Subject: Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630) > > Laurent Pinc

Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Laurent Pinchart
On Wednesday 17 March 2010 15:16:20 Sakari Ailus wrote: > Laurent Pinchart wrote: > I'm trying to get latest Sakari's tree (gitorious.org/omap3camera) > 'devel' branch running on my Zoom3 HW (which has an OMAP3630, and a > Sony IMX046 8MP sensor). > > I had first one NULL

RE: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Pawel Osciak
> Aguirre, Sergio wrote: >> Make videobuf pass checkpatch; minor code cleanups. > >I thought this kind patches were frowned upon.. > >http://www.mjmwired.net/kernel/Documentation/development-process/4.Coding#41 > >But maybe it's acceptable in this case... I'm not an expert on community >policies :

Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Sakari Ailus
Laurent Pinchart wrote: I'm trying to get latest Sakari's tree (gitorious.org/omap3camera) 'devel' branch running on my Zoom3 HW (which has an OMAP3630, and a Sony IMX046 8MP sensor). I had first one NULL pointer dereference while the driver was registering devices and

Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Laurent Pinchart
Hi Sergio, On Wednesday 17 March 2010 14:52:17 Aguirre, Sergio wrote: > > -Original Message- > > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > > Sent: Tuesday, March 16, 2010 5:30 PM > > To: Aguirre, Sergio > > Cc: Sakari Ailus; linux-media@vger.kernel.org > > Subject

RE: [PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Aguirre, Sergio
Hi, > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Pawel Osciak > Sent: Wednesday, March 17, 2010 8:04 AM > To: linux-media@vger.kernel.org > Cc: p.osc...@samsung.com; m.szyprow...@samsung.com; > kyungmin.p...@samsu

[PATCH] v4l: videobuf: make poll() report proper flags for output video devices

2010-03-17 Thread Pawel Osciak
According to the V4L2 specification, poll() should set POLLOUT | POLLWRNORM flags for output devices after the frame has been displayed. Signed-off-by: Pawel Osciak Reviewed-by: Kyungmin Park --- drivers/media/video/videobuf-core.c | 10 -- 1 files changed, 8 insertions(+), 2 deletion

Re: [PATCH] V4L: introduce a Kconfig variable to disable helper-chip autoselection

2010-03-17 Thread Guennadi Liakhovetski
On Wed, 17 Mar 2010, Mauro Carvalho Chehab wrote: > Em 17-03-2010 09:38, Guennadi Liakhovetski escreveu: > > Helper-chip autoselection doesn't work in some situations. Add a > > configuration > > variable to let drivers disable it. Use it to disable autoselection if > > SOC_CAMERA is selected. >

RE: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

2010-03-17 Thread Aguirre, Sergio
> -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Tuesday, March 16, 2010 5:30 PM > To: Aguirre, Sergio > Cc: Sakari Ailus; linux-media@vger.kernel.org > Subject: Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630) > > Hi Sergio, > > On F

Pull request: http://linuxtv.org/hg/~hgoede/gspca

2010-03-17 Thread Hans de Goede
Hi Mauro, Please pull from: http://linuxtv.org/hg/~hgoede/gspca For the following changes: gspca_spca561: Fix LED on rev12a cameras gspca_spca561: Add support for camera button sn9c102: Make hv7131d sensor code also recognize the HV7131E gspca: make usb id 0461:0815 get handled by the right dri

[PATCH v2] v4l: videobuf: code cleanup.

2010-03-17 Thread Pawel Osciak
Make videobuf pass checkpatch; minor code cleanups. Signed-off-by: Pawel Osciak Reviewed-by: Kyungmin Park --- drivers/media/video/videobuf-core.c| 116 ++--- drivers/media/video/videobuf-dma-sg.c | 276 drivers/media/video/videobuf-vmalloc.c | 1

[no subject]

2010-03-17 Thread Pawel Osciak
Changes from v1: - now includes headers as well [PATCH v2] v4l: videobuf: code cleanup. -- 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

Re: [PATCH] V4L: introduce a Kconfig variable to disable helper-chip autoselection

2010-03-17 Thread Mauro Carvalho Chehab
Em 17-03-2010 09:38, Guennadi Liakhovetski escreveu: > Helper-chip autoselection doesn't work in some situations. Add a configuration > variable to let drivers disable it. Use it to disable autoselection if > SOC_CAMERA is selected. > > Signed-off-by: Guennadi Liakhovetski > --- > > This will al

[PATCH] V4L: introduce a Kconfig variable to disable helper-chip autoselection

2010-03-17 Thread Guennadi Liakhovetski
Helper-chip autoselection doesn't work in some situations. Add a configuration variable to let drivers disable it. Use it to disable autoselection if SOC_CAMERA is selected. Signed-off-by: Guennadi Liakhovetski --- This will also be used from VOU video-output driver, other SoC drivers might als

DMX Input selection

2010-03-17 Thread The Duke Forever
Hello, I'm currently developing a DVB test application without real hardware, instead, I'm using dvb_dummy_adapter (+dvb-core and dvb_dummy_fe) Testing PES filtering is OK, since I have read/write operations on the logical dvr device "/dev/dvb/adapter0/dvr0" I have problems with section filtering,

Re: Magic in videobuf

2010-03-17 Thread Hans Verkuil
On Wednesday 17 March 2010 07:50:27 Pawel Osciak wrote: >>That is my opinion, yes. However, there is one case where this is actually >>useful. Take for example the function videobuf_to_dma in >>videobuf-dma-sg.c. This is called by drivers and it makes sense that that >>function should double-check

[PATCH] v4l: videobuf: code cleanup.

2010-03-17 Thread Pawel Osciak
Make videobuf pass checkpatch; minor code cleanups. Signed-off-by: Pawel Osciak Reviewed-by: Kyungmin Park --- drivers/media/video/videobuf-core.c| 116 ++--- drivers/media/video/videobuf-dma-sg.c | 276 drivers/media/video/videobuf-vmalloc.c | 1