Re: [PATCH] v4l: make sure drivers supply a zeroed struct v4l2_subdev

2011-04-02 Thread Hans Verkuil
On Friday, April 01, 2011 19:12:02 Herton Ronaldo Krzesinski wrote: Some v4l drivers currently don't initialize their struct v4l2_subdev with zeros, and this is a problem since some of the v4l2 code expects this. One example is the addition of internal_ops in commit 45f6f84, after that we are

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-04-02 Thread Antti Palosaari
On 04/02/2011 04:24 AM, adq wrote: Hi, just been trying it out, with no success. On my test machine, FE0 no longer tunes, but FE1 is still fine, so I've just been testing FE0. You try to say other frontend / tuner is physically dead? Which one? I've tried your suggestions, mainly

[RFC/PATCH 0/3] locking fixes for cx88

2011-04-02 Thread Jonathan Nieder
Hi, Huber Andreas wrote[1]: Processes that try to open a cx88-blackbird driven MPEG device will hang up. Here's a possible fix based on a patch by Ben Hutchings and corrections from Andi Huber. Warning: probably full of mistakes (my fault) since I'm not familiar with any of this stuff.

[PATCH v16 00/13] davinci vpbe: dm6446 v4l2 driver

2011-04-02 Thread Manjunath Hadli
The more important among the patch history from previous comments 1. Removal of platform resource overlap. 2. Removal of unused macros. 3. Fixing the module params typo. 4. Minor changes in the GPL licensing header. 5. Removed the initializer for field inversion parameter. 6. Changing the Field

[PATCH 1/3] [media] cx88: protect per-device driver list with device lock

2011-04-02 Thread Jonathan Nieder
The BKL conversion of this family of drivers seems to have gone wrong. Opening cx88-blackbird will deadlock. Various other uses of the sub-device and driver lists appear to be subject to race conditions. For example: various functions access drvlist without a relevant lock held, which will race

[PATCH v16 02/13] davinci vpbe: VPBE display driver

2011-04-02 Thread Manjunath Hadli
This patch implements the core functionality of the display driver, mainly controlling the VENC and other encoders, and acting as the one point interface for the main V4L2 driver. This implements the core of each of the V4L2 IOCTLs. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by:

[PATCH v16 03/13] davinci vpbe: OSD(On Screen Display) block

2011-04-02 Thread Manjunath Hadli
This patch implements the functionality of the OSD block of the VPBE. The OSD in total supports 4 planes or Video sources - 2 mainly RGB and 2 Video. The patch implements general handling of all the planes, with specific emphasis on the Video plane capabilities as the Video planes are supported

[PATCH v16 04/13] davinci vpbe: VENC( Video Encoder) implementation

2011-04-02 Thread Manjunath Hadli
This patch adds the VENC or the Video encoder, which is responsible for the blending of all source planes and timing generation for Video modes like NTSC, PAL and other digital outputs. the VENC implementation currently supports COMPOSITE and COMPONENT outputs and NTSC and PAL resolutions through

[PATCH 2/3] [media] cx88: fix locking of sub-driver operations

2011-04-02 Thread Jonathan Nieder
From: Ben Hutchings b...@decadent.org.uk Date: Tue, 29 Mar 2011 03:25:15 +0100 The BKL conversion of this family of drivers seems to have gone wrong. Opening cx88-blackbird will deadlock. Various other uses of the sub-device and driver lists appear to be subject to race conditions. In

[PATCH v16 05/13] davinci vpbe: Build infrastructure for VPBE driver

2011-04-02 Thread Manjunath Hadli
This patch adds the build infra-structure for Davinci VPBE dislay driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Muralidharan Karicheri m-kariche...@ti.com Acked-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/davinci/Kconfig | 22 ++

[PATCH v16 06/13] davinci vpbe: Readme text for Dm6446 vpbe

2011-04-02 Thread Manjunath Hadli
Please refer to this file for detailed documentation of davinci vpbe v4l2 driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Muralidharan Karicheri m-kariche...@ti.com Acked-by: Hans Verkuil hverk...@xs4all.nl --- Documentation/video4linux/README.davinci-vpbe | 93

[PATCH v18 07/13] davinci: move DM64XX_VDD3P3V_PWDN to devices.c

2011-04-02 Thread Manjunath Hadli
Move the definition of DM64XX_VDD3P3V_PWDN from hardware.h to devices.c since it is used only there. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/devices.c |1 +

[PATCH v18 10/13] davinci: dm644x: change vpfe capture structure variables for consistency

2011-04-02 Thread Manjunath Hadli
Add SoC and board prefixes to variable names so that it is consistent with the rest of the file. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c | 24 arch/arm/mach-davinci/dm644x.c

[PATCH v18 11/13] davinci: dm644x: move vpfe init from soc to board specific files

2011-04-02 Thread Manjunath Hadli
Move all vpfe platform device registrations to the board specific file like the rest of the devices, and have all of them together. This would remove the restriction of inclusion and registration of vpfe platform devices for non-vpfe boards. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

[PATCH v18 08/13] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-04-02 Thread Manjunath Hadli
Current devices.c file has a number of instances where IO_ADDRESS() is used for system module register access. Eliminate this in favor of a ioremap() based access. Consequent to this, a new global pointer davinci_sysmodbase has been introduced which gets initialized during the initialization of

[PATCH v18 12/13] davinci: dm644x: add support for v4l2 video display

2011-04-02 Thread Manjunath Hadli
Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm644x. Change the dm644x_init_video to make room for display config, and register the vpfe or vpbe devices based on the config pointer validity to make sure boards without vpfe or vpbe can be built with

[PATCH v18 09/13] davinci: dm644x: Replace register base value with a defined macro

2011-04-02 Thread Manjunath Hadli
Replace hard coded value of vpss register base to a define macro DM644X_VPSS_REG_BASE for proper readability Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/dm644x.c |8 +--- 1 files changed, 5 insertions(+), 3

[PATCH v18 13/13] davinci: dm644x EVM: add support for VPBE display

2011-04-02 Thread Manjunath Hadli
This patch adds support for V4L2 video display to DM6446 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs.Also added vpbe_config as a parameter for dm644x_init_video to allow for registration of vpbe platform devices. Signed-off-by: Manjunath Hadli

[GIT PULL for 2.6.39-rc2] media fixes

2011-04-02 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git v4l_for_linus For two small bug fixes. Thanks! Mauro. The following changes since commit 0ce790e7d736cedc563e1fb4e998babf5a4dbc3d: Linux 2.6.39-rc1 (2011-03-29 12:09:47 -0700) are

Re: [GIT PULL] HVR-900 R2 and PCTV 330e DVB support

2011-04-02 Thread Mauro Carvalho Chehab
Hi Devin, Em 25-03-2011 13:09, Devin Heitmueller escreveu: On Fri, Mar 25, 2011 at 11:50 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: I've added a patch for it at the end of the series. Could you please double check if everything is ok, for me to move this upstream? Thanks! Mauro

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-04-02 Thread adq
2011/4/2 Antti Palosaari cr...@iki.fi: On 04/02/2011 04:24 AM, adq wrote: Hi, just been trying it out, with no success. On my test machine, FE0 no longer tunes, but FE1 is still fine, so I've just been testing FE0. You try to say other frontend / tuner is physically dead? Which one? No no -

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-04-02 Thread adq
2011/4/2 adq a...@lidskialf.net: 2011/4/2 Antti Palosaari cr...@iki.fi: On 04/02/2011 04:24 AM, adq wrote: Hi, just been trying it out, with no success. On my test machine, FE0 no longer tunes, but FE1 is still fine, so I've just been testing FE0. You try to say other frontend / tuner is

Re: Technisat Cablestar HD2 not automatically detected by kernel 2.6.33?

2011-04-02 Thread Jos Hoekstra
Op 31-3-2011 14:32, Bjørn Mork schreef: Jos Hoekstrajoshoeks...@gmx.net writes: I got this card and it doesn't seem to be detected by Ubuntu 10.4.2 with kernel 2.6.35(-25-generic #44~lucid1-Ubuntu SMP Tue Jan 25 19:17:25 UTC 2011 x86_64 GNU/Linux) The wiki seems to indicate that this card is

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-04-02 Thread Antti Palosaari
On 04/02/2011 02:06 PM, adq wrote: 2011/4/2 Antti Palosaaricr...@iki.fi: On 04/02/2011 04:24 AM, adq wrote: Hi, just been trying it out, with no success. On my test machine, FE0 no longer tunes, but FE1 is still fine, so I've just been testing FE0. You try to say other frontend / tuner is

Re: [PATCH] v1.82 DM04/QQBOX dvb-usb-lmedm04 diseqc timing changes

2011-04-02 Thread Malcolm Priestley
On Sat, 2011-03-26 at 23:29 +, Malcolm Priestley wrote: Frontend timing change for diseqc functions. Timing on the STV0288 and STV0299 frontends cause initial disegc errors on some applications. Signed-off-by: Malcolm Priestley tvbox...@gmail.com ---

dibusb device with lock problems

2011-04-02 Thread Mr Tux
Hi list, hello Patrick, A locking problem with specific dib3000mb devices is still present in kernel 2.6.38. Now people upgrading from lenny to squeeze are also affected - see: [1] Please have a look at my previous post in [2] for a detailed description and links to this bug's history. I'm

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-04-02 Thread adq
2011/4/2 Antti Palosaari cr...@iki.fi: On 04/02/2011 02:06 PM, adq wrote: 2011/4/2 Antti Palosaaricr...@iki.fi: On 04/02/2011 04:24 AM, adq wrote: Hi, just been trying it out, with no success. On my test machine, FE0 no longer tunes, but FE1 is still fine, so I've just been testing FE0.

[PATCH 1/2] DM04/QQBOX stv0288 register 42 - incorrect setting.

2011-04-02 Thread Malcolm Priestley
stv0288 Register 42 bits 6 7 should be set to 0. This is causing intermittent lock, the dvb-usb-lmedm04 driver uses register 50 (auto fine mode) to correct for this, this register is now returned to its default setting. Signed-off-by: Malcolm Priestley tvbox...@gmail.com ---

Re: [RFC/PATCH 0/3] locking fixes for cx88

2011-04-02 Thread Ben Hutchings
On Sat, 2011-04-02 at 04:38 -0500, Jonathan Nieder wrote: Hi, Huber Andreas wrote[1]: Processes that try to open a cx88-blackbird driven MPEG device will hang up. Here's a possible fix based on a patch by Ben Hutchings and corrections from Andi Huber. Warning: probably full of

[cron job] v4l-dvb daily build: ERRORS

2011-04-02 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:Sat Apr 2 19:00:36 CEST 2011 git hash:28df73703e738d8ae7a958350f74b08b2e9fe9ed gcc version: i686-linux-gcc (GCC)

Anysee E30 Combo Plus failing to tune

2011-04-02 Thread Sami Haahtinen
Hey, I have a Anysee E30 Combo Plus and i'm having trouble getting it to detect properly. According to various sources it should be supported, but yet it fails for me. I've tried with the stock driver and the backports one (one instructed in wiki) and neither work. the device is as follows:

Re: Anysee E30 Combo Plus failing to tune

2011-04-02 Thread Sami Haahtinen
On Sat, Apr 2, 2011 at 21:52, Sami Haahtinen s...@haahtinen.name wrote: Manufacturer has packaged it as Anysee E30 Combo Plus, which is listed as supported. It could be that there have been changes in revision, the device doesn't list it clearly anywhere and i've yet to take it apart. Ok,

Re: Anysee E30 Combo Plus failing to tune

2011-04-02 Thread Antti Palosaari
Moi Sami, On 04/02/2011 09:52 PM, Sami Haahtinen wrote: Hey, I have a Anysee E30 Combo Plus and i'm having trouble getting it to detect properly. According to various sources it should be supported, but yet it fails for me. I've tried with the stock driver and the backports one (one instructed

Re: Anysee E30 Combo Plus failing to tune

2011-04-02 Thread Sami Haahtinen
Hey, On Sat, Apr 2, 2011 at 22:16, Antti Palosaari cr...@iki.fi wrote: On 04/02/2011 09:52 PM, Sami Haahtinen wrote: I have a Anysee E30 Combo Plus and i'm having trouble getting it to detect properly. According to various sources it should be supported, but yet it fails for me. I've tried

Re: [PATCH 3/3] [media] cx88: use a mutex to protect cx8802_devlist

2011-04-02 Thread Jonathan Nieder
Hi Andreas, (please turn off HTML mail.) Andreas Huber wrote: There is a reference count bug in the driver code. The driver's active_ref count may become negative which leads to unpredictable behavior. (mpeg video device inaccessible, etc ...) Hmm, the patchset didn't touch active_ref

Skystar 2 2.6 broken in kernel 2.6.38

2011-04-02 Thread Steffen Barszus
Hi I just installed natty and found that one of the drivers i use is broken. Is this a known issue ? [6.115925] [ cut here ] [6.115931] WARNING: at /build/buildd/linux-2.6.38/fs/proc/generic.c:323 __xlate_proc_name+0xbb/0xd0() [6.115933] Hardware name:

Re: [PATCH 3/3] [media] cx88: use a mutex to protect cx8802_devlist

2011-04-02 Thread Andreas Huber
Hi Jonathan, thanks for locking into it. I'll try to debug more deeply what's going wrong and keep you up to date. Andi. On 02.04.2011 21:29, Jonathan Nieder wrote: Hi Andreas, (please turn off HTML mail.) Andreas Huber wrote: There is a reference count bug in the driver code. The driver's

[PATCH] DM04/QQBOX v1.84 added PID filter

2011-04-02 Thread Malcolm Priestley
A greatly simplified version of the PID Filter now added back to the Driver. The driver allows for the PID filter to be turned off. applied after patch 683781. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c | 87 +-

Re: [PULL] soc-camera: one more patch

2011-04-02 Thread Mauro Carvalho Chehab
Em 23-03-2011 17:51, Guennadi Liakhovetski escreveu: Hi Mauro Sorry, would be nice if we could manage to push one more patch for 2.6.39: The following changes since commit f772f016e15a0b93b5aa9680203107ab8cb9bdc6: [media] media-devnode: don't depend on BKL stuff (2011-03-22 19:43:01

Re: [PULL] soc-camera: one more patch

2011-04-02 Thread Guennadi Liakhovetski
Hi Mauro On Sat, 2 Apr 2011, Mauro Carvalho Chehab wrote: Em 23-03-2011 17:51, Guennadi Liakhovetski escreveu: Hi Mauro Sorry, would be nice if we could manage to push one more patch for 2.6.39: The following changes since commit f772f016e15a0b93b5aa9680203107ab8cb9bdc6:

vb2_plane 'mapped' signed bit field

2011-04-02 Thread Dr. David Alan Gilbert
Hi Pawel, 'sparse' spotted that vb2_plane's mapped field is a signed bitfield: include/media/videobuf2-core.h:78:41 1 bit signed int struct vb2_plane { void*mem_priv; int mapped:1; }; that probably should be an unsigned int (I can see code

Re: vb2_plane 'mapped' signed bit field

2011-04-02 Thread Dr. David Alan Gilbert
(Originally sent to Pawel's Samsung address that bounced) * Dr. David Alan Gilbert (li...@treblig.org) wrote: Hi Pawel, 'sparse' spotted that vb2_plane's mapped field is a signed bitfield: include/media/videobuf2-core.h:78:41 1 bit signed int struct vb2_plane { void