[PATCH] V4L: SuperH Video Output Unit (VOU) driver

2010-03-11 Thread Guennadi Liakhovetski
A number of SuperH SoCs, including sh7724, include a Video Output Unit. This patch adds a video (V4L2) output driver for it. The driver uses v4l2-subdev and mediabus APIs to interface to TV encoders. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Tested on ms7724se

[PATCH] V4L: v4l2-subdev driver for AK8813 and AK8814 TV-encoders from AKM

2010-03-11 Thread Guennadi Liakhovetski
AK8814 only differs from AK8813 by included Macrovision Copy Protection function. This patch adds a driver for AK8813 and AK8814 I2C PAL/NTSC TV encoders. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- as is easy to guess, also tested on the same ms7724se

[PATCH 5/7] V4L/DVB: tm6000: Replace naming convention for registers of req 05 group

2010-03-11 Thread Mauro Carvalho Chehab
After looking at the magic registers, it is clear that usb registers belong to request 5. Replace them with this script: cat /tmp/reg3 |perl -ne 'if (m/define (TM6000_U_)([^\s]+)\s+0x([A-F0-9].)/) { \ $name=$2; $val=$3; printf s,$1$2,TM6010_REQ05_R%s_%s,g\n, $val, $name; }' a; sed -f a

[PATCH 3/7] V4L/DVB: tm6000: Add request at Req07/Req08 register definitions

2010-03-11 Thread Mauro Carvalho Chehab
Use a pair Req/Reg for all registers at req07 and req08 groups. This makes easier to replace them at the code with a script and helps to avoid using the wrong req with some register. This change were generated by this script: if (m/^(\#define TM6010_REQ)([0-9].)([^\s]+)(\s+)0x([A-F0-9].)/) {

[PATCH 2/7] V4L/DVB: tm6000: Replace all Req 8 group of regs with another naming convention

2010-03-11 Thread Mauro Carvalho Chehab
According with the original patch that added the register names, those are related to tm6010, so name it properly as such. Also, clearly indicates when a register belongs to Request 0x08 and add its register value at the name. This makes easier to double check if the proper register is used along

[PATCH 7/7] V4L/DVB: tm6000: replace occurences of req05 magic by a naming alias

2010-03-11 Thread Mauro Carvalho Chehab
Yet another naming replace magic thanks to perl scripts. This time, it is done with: cat tm6000-regs.h |perl -ne 'if (m/(TM6010_REQ[^\s]+)\s+0x([a-f0-9]+)\, 0x([a-f0-9]+)/) { $name=$1; $req=$2; $val=$3; printf s/REQ_${req}_SET_GET_USBREG, 0x[0]*$3,/$1,/\n }' a; for i in tm*.c; do sed -f a $i b

[PATCH 1/7] V4L/DVB: tm6000: Replace all Req 7 group of regs with another naming convention

2010-03-11 Thread Mauro Carvalho Chehab
According with the original patch that added the register names, those are related to tm6010, so name it properly as such. Also, clearly indicates when a register belongs to Request 0x07 and add its register value at the name. This makes easier to double check if the proper register is used along

[PATCH 0/7] tm6000: Remove register magic

2010-03-11 Thread Mauro Carvalho Chehab
Thanks to Dmitri, changeset 2fe1b227458f7a411ab3b5959169a0de6703b60a added aliases for most of tm6000 registers. Yet, the driver still uses the old magic numbers. This set of patches replaces the magic numbers with the help of some simple perl scripts. After it, just two registers at req 07 will

[PATCH 3/3] sh: add Video Output Unit (VOU) and AK8813 TV-encoder support to ms7724se

2010-03-11 Thread Guennadi Liakhovetski
Add platform bindings, GPIO initialisation and allocation and AK8813 reset code to ms7724se. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Obviously depends on the previous two VOU and AK881x patches, sorry for not marking those with PATCH x/3 accordingly. Those two patches do

COME ON! [Was: [PULL] http://endr...@linuxtv.org/hg/~endriss/ngene]

2010-03-11 Thread David Kubicek
On 03/10/2010 05:05 PM, Oliver Endriss wrote: Mauro, Please pull from http://endr...@linuxtv.org/hg/~endriss/ngene for the following changeset: 01/01: ngene: Add support for cineS2 v5 and SaTiX-S2 Dual v2 http://endr...@linuxtv.org/hg/~endriss/ngene?cmd=changeset;node=510e37da759e Can you

[GIT PATCHES FOR 2.6.34] gspca development

2010-03-11 Thread Jean-Francois Moine
The following changes since commit ac8b45fc29b7dc4837c9b541033b62305fdccb85: Max Thrun (1): V4L/DVB: gspca - ov534: Update copyright info are available in the git repository at: git://linuxtv.org/jfrancois/gspca.git devel Erik Andrén (1): gspca - stv06xx: Remove the 046d:08da

Re: problem compiling modoule mt9t031 in current v4l-dvb-hg

2010-03-11 Thread Douglas Schilling Landgraf
Hi, On 03/07/2010 08:32 AM, Halim Sahin wrote: Hi Folks, I was not able to build v4l-dvb from hg (checked out today). /root/work/v4l-dvb/v4l/mt9t031.c:729: error: unknown field 'runtime_suspend' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: error: unknown field

Re: v4l-dvb build problem with soc_camera

2010-03-11 Thread Douglas Schilling Landgraf
Hi, On 03/07/2010 08:38 AM, Halim Sahin wrote: Hi, Same environment like in my previous mail: /root/work/v4l-dvb/v4l/soc_camera.c:27:30: error: linux/pm_runtime.h: No such file or directory /root/work/v4l-dvb/v4l/soc_camera.c: In function 'soc_camera_open':

Re: v4l-utils: i2c-id.h and alevt

2010-03-11 Thread Douglas Schilling Landgraf
On 03/10/2010 02:04 AM, hermann pitton wrote: Hi Hans, both, Am Dienstag, den 09.03.2010, 08:48 +0100 schrieb Hans Verkuil: It's nice to see this new tree, that should be make it easier to develop utilities! After a quick check I noticed that the i2c-id.h header was copied from the

Re: v4l-utils: i2c-id.h and alevt

2010-03-11 Thread Devin Heitmueller
On Thu, Mar 11, 2010 at 9:14 AM, Douglas Schilling Landgraf dougsl...@gmail.com wrote: On 03/10/2010 02:04 AM, hermann pitton wrote: Hi Hans, both, Am Dienstag, den 09.03.2010, 08:48 +0100 schrieb Hans Verkuil: It's nice to see this new tree, that should be make it easier to develop

Re: Hw capabilities of the HVR-2200

2010-03-11 Thread Steven Toth
On 3/9/10 12:16 PM, Jed wrote: 19/09/09 Jed wrote: 2) Component input for the A/V-in Yes, this exists on the HVR2250 product only. Ah shite, are you sure? If you look at the specs for the reference card it was there, did they take it out at the last minute? It's not feature Hauppauge

Re: Hauppauge WinTV-HVR-2200 - support analog ?

2010-03-11 Thread Steven Toth
On 3/10/10 2:12 PM, RoboSK wrote: Hi, support drivers for linux analog part WinTV-HVR-2200 ? if yes is possible watch/record two analog source at the same time ? thanks -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

[PATCH] V4L/DVB: ir: Add a link to associate /sys/class/ir/irrcv with the input device

2010-03-11 Thread Mauro Carvalho Chehab
In order to allow userspace programs to autoload an IR table, a link is needed to point to the corresponding input device. $ tree /sys/class/irrcv/irrcv0 /sys/class/irrcv/irrcv0 |-- current_protocol |-- input - ../../../pci:00/:00:0b.1/usb1/1-3/input/input22 |-- power | `-- wakeup |--

Hama DVB-T Hybrid USB Stick support

2010-03-11 Thread Piotr Oleszczyk
Hello, I bought a Hama DVB-T Hybrid stick (147f:2758). I haven't found it in supported devices list though it was extremely cheap, so I risked. It's not working, but I opened it and found that it's a clone of TerraTec Cinergy HT USB XE. It uses DIB7700C1, XC3028 and CX25843. I tried to make a

DNTV Dual Hybrid (7164) PCIe

2010-03-11 Thread Jed
Hi Kernellabs, I'm thinking of getting this: http://forums.dvbowners.com/index.php?showtopic=11720 It seems very similar to the HVR-2200 yet has component-in. Do you reckon your module/s might support it? Thank-you! Jed -- To unsubscribe from this list: send the line unsubscribe linux-media in

Re: DNTV Dual Hybrid (7164) PCIe

2010-03-11 Thread Steven Toth
On 3/11/10 11:26 AM, Jed wrote: Hi Kernellabs, I'm thinking of getting this: http://forums.dvbowners.com/index.php?showtopic=11720 It seems very similar to the HVR-2200 yet has component-in. Do you reckon your module/s might support it? Thank-you! Highly likely the drivers will not support

Re: Hw capabilities of the HVR-2200

2010-03-11 Thread Jed
*woops* Just saw your status update from 24/01, sigh, doesn't sound good :( http://www.kernellabs.com/blog/?p=1339 19/09/09 Jed wrote: 2) Component input for the A/V-in Yes, this exists on the HVR2250 product only. Ah shite, are you sure? If you look at the specs for the reference card it

Re: DNTV Dual Hybrid (7164) PCIe

2010-03-11 Thread Jed
Happy to do this, so long as I can get it back eventually? Steven Toth wrote: On 3/11/10 11:26 AM, Jed wrote: Hi Kernellabs, I'm thinking of getting this: http://forums.dvbowners.com/index.php?showtopic=11720 It seems very similar to the HVR-2200 yet has component-in. Do you reckon your

Re: DNTV Dual Hybrid (7164) PCIe

2010-03-11 Thread Steven Toth
On 3/11/10 11:47 AM, Jed wrote: Happy to do this, so long as I can get it back eventually? Assuming you want me to continue supporting that product then I generally keep hold of the hardware indefinitely, else 2-3 driver patches from now your card will no longer be regression tested and

Re: DNTV Dual Hybrid (7164) PCIe

2010-03-11 Thread Jed
Actually I'd be happy to donate... So long as I knew there'd be some progress on the analogue side. Already got the HVR-2200 for DVB. Jed wrote: Happy to do this, so long as I can get it back eventually? Steven Toth wrote: On 3/11/10 11:26 AM, Jed wrote: Hi Kernellabs, I'm thinking of

Re: s2-liplianin, mantis: sysfs: cannot create duplicate filename '/devices/virtual/irrcv'

2010-03-11 Thread Igor M. Liplianin
On 10 марта 2010 23:31:06 VDR User wrote: 2010/3/10 Igor M. Liplianin liplia...@me.by: I'm glad to hear you're going to rebase the mantis driver with the up-to-date code rather then keeping the old outdated stuff that's currently in there! Do you know when you'll be doing this?? I know

Re: DNTV Dual Hybrid (7164) PCIe

2010-03-11 Thread Jed
By analogue side I mainly mean A/V-in Thank-you/Good night Jed wrote: Actually I'd be happy to donate... So long as I knew there'd be some progress on the analogue side. Already got the HVR-2200 for DVB. Jed wrote: Happy to do this, so long as I can get it back eventually? Steven Toth wrote:

Re: [PATCH] V4L/DVB: ir: Add a link to associate /sys/class/ir/irrcv with the input device

2010-03-11 Thread Dmitry Torokhov
Hi Mauro, On Thu, Mar 11, 2010 at 12:46:19PM -0300, Mauro Carvalho Chehab wrote: In order to allow userspace programs to autoload an IR table, a link is needed to point to the corresponding input device. $ tree /sys/class/irrcv/irrcv0 /sys/class/irrcv/irrcv0 |-- current_protocol |-- input

Re: s2-liplianin, mantis: sysfs: cannot create duplicate filename '/devices/virtual/irrcv'

2010-03-11 Thread VDR User
2010/3/11 Igor M. Liplianin liplia...@me.by: On 10 марта 2010 23:31:06 VDR User wrote: 2010/3/10 Igor M. Liplianin liplia...@me.by: I'm glad to hear you're going to rebase the mantis driver with the up-to-date code rather then keeping the old outdated stuff that's currently in there!  Do

Re: DNTV Dual Hybrid (7164) PCIe

2010-03-11 Thread Jed
Judging by the silence I'm guessing that's a negative ;-) I actually had a closer read of this... http://www.kernellabs.com/blog/?p=1339 So even if I donated a card I guess that's not going to compensate you nearly enough to get analogue a/v-in at least partially working?! So it seems I went

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

2010-03-11 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:Thu Mar 11 19:00:20 CET 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14420:0d06fd6b500e git master:

[patch 2/5] drivers/media/video: move dereference after NULL test

2010-03-11 Thread akpm
From: Julia Lawall ju...@diku.dk In quickcam_messenger.c, if the NULL test on uvd is needed, then the dereference should be after the NULL test. In vpif_display.c, std_info is initialized to the address of a structure field. This seems unlikely to be NULL. If it could somehow be NULL, then the

[patch 3/5] v4l/dvb: gspca - sn9c20x: correct onstack wait_queue_head declaration

2010-03-11 Thread akpm
From: Yong Zhang yong.zha...@gmail.com Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy. Signed-off-by: Yong Zhang yong.zha...@gmail.com Cc: Brian Johnson brij...@gmail.com Cc: Jean-Francois Moine moin...@free.fr Cc: Mauro Carvalho Chehab mche...@infradead.org Signed-off-by: Andrew

[patch 1/5] drivers/media/video/cx23885 needs kfifo conversion

2010-03-11 Thread akpm
From: Andrew Morton a...@linux-foundation.org linux-next: drivers/media/video/cx23885/cx23888-ir.c: In function 'cx23888_ir_irq_handler': drivers/media/video/cx23885/cx23888-ir.c:597: error: implicit declaration of function 'kfifo_put' drivers/media/video/cx23885/cx23888-ir.c: In function

[patch 5/5] dib7000p: reduce large stack usage

2010-03-11 Thread akpm
From: Randy Dunlap randy.dun...@oracle.com Reduce the static stack usage of one of the 2 top offenders as listed by 'make checkstack': Building with CONFIG_FRAME_WARN=2048 produces: drivers/media/dvb/frontends/dib7000p.c:1367: warning: the frame size of 2320 bytes is larger than 2048 bytes

[patch 4/5] dib3000mc: reduce large stack usage

2010-03-11 Thread akpm
From: Randy Dunlap randy.dun...@oracle.com Reduce the static stack usage of one of the 2 top offenders as listed by 'make checkstack': Building with CONFIG_FRAME_WARN=2048 produces: drivers/media/dvb/frontends/dib3000mc.c:853: warning: the frame size of 2224 bytes is larger than 2048 bytes

Re: [PATCH] V4L/DVB: ir: Add a link to associate /sys/class/ir/irrcv with the input device

2010-03-11 Thread Mauro Carvalho Chehab
Dmitry, Dmitry Torokhov wrote: Hi Mauro, On Thu, Mar 11, 2010 at 12:46:19PM -0300, Mauro Carvalho Chehab wrote: In order to allow userspace programs to autoload an IR table, a link is needed to point to the corresponding input device. $ tree /sys/class/irrcv/irrcv0

[GIT PULL] V4L2 file handles and event interface

2010-03-11 Thread Sakari Ailus
Hi Mauro, The latest event patchset is available in my Gitorious tree now. The file handles documentation patch changed due to unrelated changes in Documentation/video4linux/v4l2-framework.txt. There are no other changes compared to the patches sent to the list earlier. Please pull. The

RE: [patch 2/5] drivers/media/video: move dereference after NULL test

2010-03-11 Thread Karicheri, Muralidharan
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of a...@linux-foundation.org Sent: Thursday, March 11, 2010 5:02 PM To: mche...@infradead.org Cc: linux-media@vger.kernel.org; a...@linux-foundation.org; ju...@diku.dk Subject:

Re: [patch 2/5] drivers/media/video: move dereference after NULL test

2010-03-11 Thread Andrew Morton
On Thu, 11 Mar 2010 16:38:21 -0600 Karicheri, Muralidharan m-kariche...@ti.com wrote: diff -puN drivers/media/video/davinci/vpif_display.c~drivers-media-video- move-dereference-after-null-test drivers/media/video/davinci/vpif_display.c ---

[PATCH] v4l2-ctl: fix regression in ability to set/get private controls

2010-03-11 Thread Devin Heitmueller
From 3dbab2e437c4a1673c1966937faec6e0fc56be01 Mon Sep 17 00:00:00 2001 From: Devin Heitmueller dheitmuel...@kernellabs.com Date: Wed, 10 Mar 2010 23:01:53 -0500 Subject: [PATCH] v4l2-ctl: fix regression in ability to set/get private controls From: Devin Heitmueller dheitmuel...@kernellabs.com In

pushes at v4l-utils tree

2010-03-11 Thread Mauro Carvalho Chehab
Hi Hans, As we've agreed that the idea is to allow multiple people to commit at v4l-utils, today, I've added 3 commits at v4l-utils tree (2 keycode-related and 1 is .gitignore stuff). One of the reasons were to test the viability for such commits. I've temporarily enabled the same script that

Re: [PATCH] V4L/DVB: ir: Add a link to associate /sys/class/ir/irrcv with the input device

2010-03-11 Thread Mauro Carvalho Chehab
Dmitry Torokhov wrote: Hi Mauro, On Thu, Mar 11, 2010 at 12:46:19PM -0300, Mauro Carvalho Chehab wrote: In order to allow userspace programs to autoload an IR table, a link is needed to point to the corresponding input device. $ tree /sys/class/irrcv/irrcv0 /sys/class/irrcv/irrcv0 |--

RE: [patch 2/5] drivers/media/video: move dereference after NULL test

2010-03-11 Thread Julia Lawall
Oops, my mistake. I will fix that. julia On Thu, 11 Mar 2010, Karicheri, Muralidharan wrote: -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of a...@linux-foundation.org Sent: Thursday, March 11, 2010 5:02 PM To:

Re: v4l-utils: i2c-id.h and alevt

2010-03-11 Thread Hans Verkuil
On Thursday 11 March 2010 15:31:32 Devin Heitmueller wrote: On Thu, Mar 11, 2010 at 9:14 AM, Douglas Schilling Landgraf dougsl...@gmail.com wrote: On 03/10/2010 02:04 AM, hermann pitton wrote: Hi Hans, both, Am Dienstag, den 09.03.2010, 08:48 +0100 schrieb Hans Verkuil: It's nice to