Re: BUG at mm/mmap.c:2309 when cx18.ko and cx18-alsa.ko loaded

2011-03-06 Thread Hugh Dickins
On Sun, 6 Mar 2011, Andy Walls wrote: > On Sun, 2011-03-06 at 10:37 -0800, Hugh Dickins wrote: > > > There was a horrid list corruption bug in early 2.6.38-rc, fixed in > > -rc6; but although I guess it could cause all kinds of havoc, its > > particular signature was not like this, so I don't real

Re: [RFC/PATCH 1/2] v4l: videobuf2: Handle buf_queue errors

2011-03-06 Thread Andy Walls
On Sun, 2011-03-06 at 15:20 -0800, Pawel Osciak wrote: > Hi Laurent, > > On Tue, Mar 1, 2011 at 02:54, Laurent Pinchart > > I think a disconnection is pretty fatal. If the user unplugs the webcam, > > there's not much that can be done anymore. Userspace needs to be woken up > > with > > all buf

Re: [RFC/PATCH 1/2] v4l: videobuf2: Handle buf_queue errors

2011-03-06 Thread Pawel Osciak
Hi Laurent, On Tue, Mar 1, 2011 at 02:54, Laurent Pinchart wrote: > Hi Pawel, > > On Monday 28 February 2011 16:44:38 Pawel Osciak wrote: >> Hi Laurent, >> A few questions from me below. I feel we need to talk about this >> change a bit more, it introduces some recovery and consistency >> problem

[PATCH 2/2] v4l-utils: change keymap to better reflect key names on imon_mce remote

2011-03-06 Thread Hans-Frieder Vogt
v4l-utils: the key definitions in the imon_mce keymap do not currently reflect well the names printed on the remote: key on remote is named "back", but keymap uses "exit", key on remote is named "Teletext", but keymap uses "subtitle" In addition, I think that "menu" is rather representative to the

[PATCH 1/2] v4l-utils: remove conflicting definitions in keymap for imon_mce

2011-03-06 Thread Hans-Frieder Vogt
v4l-utils: Trivial patch that removes doublicate and conflicting definitions of keys. The patch is checked against a git pull of today. Signed-off-by: Hans-Frieder Vogt imon_mce |2 -- 1 file changed, 2 deletions(-) --- a/utils/keytable/rc_keymaps/imon_mce2011-02-19 19:04:44.97479

Re: BUG at mm/mmap.c:2309 when cx18.ko and cx18-alsa.ko loaded

2011-03-06 Thread Andy Walls
On Sun, 2011-03-06 at 10:37 -0800, Hugh Dickins wrote: > On Sat, Mar 5, 2011 at 6:03 PM, Andy Walls wrote: > > On Sat, 2011-03-05 at 16:59 -0500, Andy Walls wrote: > >> On Thu, 2011-03-03 at 21:06 -0500, Andy Walls wrote: > >> > Hi, > >> > > >> > I got a BUG when loading the cx18.ko module (which

[cron job] v4l-dvb daily build: ERRORS

2011-03-06 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:Sun Mar 6 19:00:33 CET 2011 git hash:88a763df226facb74fdb254563e30e9efb64275c gcc version: i686-linux-gcc (GCC) 4.5.

Re: [Query] What is the best way to handle V4L2_PIX_FMT_NV12 buffers?

2011-03-06 Thread Guennadi Liakhovetski
On Sun, 6 Mar 2011, Andy Walls wrote: > On Sat, 2011-03-05 at 22:49 -0600, Aguirre, Sergio wrote: > > Hi, > > > > I was curious in how to handle properly buffers of pixelformat > > V4L2_PIX_FMT_NV12. > > > > I see that the standard convention for determining a bytesize of an image > > buffer i

Re: BUG at mm/mmap.c:2309 when cx18.ko and cx18-alsa.ko loaded

2011-03-06 Thread Hugh Dickins
On Sat, Mar 5, 2011 at 6:03 PM, Andy Walls wrote: > On Sat, 2011-03-05 at 16:59 -0500, Andy Walls wrote: >> On Thu, 2011-03-03 at 21:06 -0500, Andy Walls wrote: >> > Hi, >> > >> > I got a BUG when loading the cx18.ko module (which in turn requests the >> > cx18-alsa.ko module) on a kernel built fr

Re: [PATCH 1/2 v3] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Florian Mickler
On Sun, 6 Mar 2011 18:47:56 +0100 Florian Mickler wrote: > +static void dib0700_disconnect(struct usb_interface *intf) { That { should go on its own line... sorry ;-) If that patch is acceptable, I can resend with that fixed. Regards, Flo -- To unsubscribe from this list: send the line "un

Re: [Query] What is the best way to handle V4L2_PIX_FMT_NV12 buffers?

2011-03-06 Thread Andy Walls
On Sat, 2011-03-05 at 22:49 -0600, Aguirre, Sergio wrote: > Hi, > > I was curious in how to handle properly buffers of pixelformat > V4L2_PIX_FMT_NV12. > > I see that the standard convention for determining a bytesize of an image > buffer is: > > bytesperline * height > > However, for NV12 ca

[PATCH 2/2] [media] dib0700: remove unused variable

2011-03-06 Thread Florian Mickler
Signed-off-by: Florian Mickler CC: linux-media@vger.kernel.org CC: linux-ker...@vger.kernel.org CC: Greg Kroah-Hartman CC: Rafael J. Wysocki CC: Maciej Rutecki CC: Oliver Neukum --- drivers/media/dvb/dvb-usb/dib0700_core.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --gi

[PATCH 1/2 v3] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Florian Mickler
This should fix warnings seen by some: WARNING: at lib/dma-debug.c:866 check_for_stack Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=15977. Reported-by: Zdenek Kabelac Signed-off-by: Florian Mickler CC: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org CC: linux-ker...@vger.ker

Re: [RFC] davinci: vpfe: mdia controller implementation for capture

2011-03-06 Thread Laurent Pinchart
Hi Manjunath, On Sunday 06 March 2011 16:36:05 Manjunath Hadli wrote: > Introduction > > This is the proposal of the initial version of design and implementation > of the Davinci family (dm644x,dm355,dm365)VPFE (Video Port Front End) > drivers using Media Controloler , the initial ve

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-06 Thread Laurent Pinchart
Hi Mauro, On Sunday 06 March 2011 14:32:44 Mauro Carvalho Chehab wrote: > Em 06-03-2011 08:38, Laurent Pinchart escreveu: > > On Sunday 06 March 2011 11:56:04 Mauro Carvalho Chehab wrote: > >> Em 05-03-2011 20:23, Sylwester Nawrocki escreveu: > >> > >> A somewhat unrelated question that occurred

Re: [PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Oliver Neukum
Am Sonntag, 6. März 2011, 16:45:21 schrieb Florian Mickler: > Hm.. allocating the buffer > in the probe routine and deallocating it in the usb_driver disconnect > callback should work? Yes. > How come that it must be a seperate kmalloc buffer? Is it some aligning > that kmalloc garantees? On

[PATCH] STV0288 added full frontend status

2011-03-06 Thread Malcolm Priestley
status now returns FE_HAS_CARRIER FE_HAS_SIGNAL FE_HAS_VITERBI Signed-off-by: Malcolm Priestley --- drivers/media/dvb/frontends/stv0288.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends/stv0288.c b/drivers/media/dvb/frontends/stv0288

[PATCH] saa7134-input: key up events not sent after suspend/resume

2011-03-06 Thread Vadim Solomin
On my AverMedia AverTV Studio 507, key up events are no longer sent after a suspend-to-disk/resume cycle, resulting in "stuck" keys. Apparently, for key up events to be generated, a certain GPIO pin must be set. Currently it's set in saa7134_input_init1(), but that function is not called on devi

Re: [PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Florian Mickler
On Sun, 6 Mar 2011 16:06:38 +0100 Oliver Neukum wrote: > Am Sonntag, 6. März 2011, 15:38:05 schrieb Florian Mickler: > > On Sun, 6 Mar 2011 13:06:09 +0100 > > Oliver Neukum wrote: > > > > > Am Sonntag, 6. März 2011, 12:16:52 schrieb Florian Mickler: > > > > > Please take a look at it, as I do

[RFC] davinci: vpfe: mdia controller implementation for capture

2011-03-06 Thread Manjunath Hadli
Introduction This is the proposal of the initial version of design and implementation of the Davinci family (dm644x,dm355,dm365)VPFE (Video Port Front End) drivers using Media Controloler , the initial version which supports the following: 1) dm365 vpfe 2) ccdc,previewer,resizer,h3a,

Re: [PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Oliver Neukum
Am Sonntag, 6. März 2011, 15:38:05 schrieb Florian Mickler: > On Sun, 6 Mar 2011 13:06:09 +0100 > Oliver Neukum wrote: > > > Am Sonntag, 6. März 2011, 12:16:52 schrieb Florian Mickler: > > > Please take a look at it, as I do not do that much kernel hacking > > > and don't wanna brake anybodys co

[PATCH 3/3] [media] dib0700: don't ignore errors in driver probe

2011-03-06 Thread Florian Mickler
Signed-off-by: Florian Mickler CC: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org CC: linux-ker...@vger.kernel.org CC: Greg Kroah-Hartman CC: Rafael J. Wysocki CC: Maciej Rutecki CC: Oliver Neukum CC: Jack Stone --- drivers/media/dvb/dvb-usb/dib0700_core.c | 13 ++--- 1 fil

[PATCH 2/3] [media] dib0700: remove unused variable

2011-03-06 Thread Florian Mickler
Signed-off-by: Florian Mickler CC: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org CC: linux-ker...@vger.kernel.org CC: Greg Kroah-Hartman CC: Rafael J. Wysocki CC: Maciej Rutecki CC: Oliver Neukum CC: Jack Stone --- drivers/media/dvb/dvb-usb/dib0700_core.c |2 -- 1 files changed,

[PATCH 1/3 v2] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Florian Mickler
This should fix warnings seen by some: WARNING: at lib/dma-debug.c:866 check_for_stack Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=15977. Reported-by: Zdenek Kabelac Signed-off-by: Florian Mickler CC: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org CC: linux-ker...@vger.ker

Re: [PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Florian Mickler
On Sun, 6 Mar 2011 13:06:09 +0100 Oliver Neukum wrote: > Am Sonntag, 6. März 2011, 12:16:52 schrieb Florian Mickler: > > This should fix warnings seen by some: > > WARNING: at lib/dma-debug.c:866 check_for_stack > > > > Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=15977. > > Reported-b

analog sound on Mygica X8506

2011-03-06 Thread Alfredo Jesús Delaiti
Hi all First of all, please if I'm on the wrong list tell me which is correct. I bought a new TV-card "MyGica X8507" if I set it up as DMB-TH Mygica X8506 "card 22" analog TV I can see but not hear. Can you help me to configure this card so I can listen? I hope that soon this support and can also

Re: [PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Florian Mickler
On Sun, 06 Mar 2011 13:49:56 + Jack Stone wrote: > On 06/03/2011 11:16, Florian Mickler wrote: > > This should fix warnings seen by some: > > WARNING: at lib/dma-debug.c:866 check_for_stack > > > > Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=15977. > > Reported-by: Zdenek Kabelac

Re: [PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Jack Stone
On 06/03/2011 11:16, Florian Mickler wrote: > This should fix warnings seen by some: > WARNING: at lib/dma-debug.c:866 check_for_stack > > Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=15977. > Reported-by: Zdenek Kabelac > Signed-off-by: Florian Mickler > CC: Mauro Carvalho Chehab >

[patch 2/2] [media] stv0367: typo in function parameter

2011-03-06 Thread Dan Carpenter
The CellsCoeffs arrays are [3][6][5] not [2][6][5]. Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb/frontends/stv0367.c b/drivers/media/dvb/frontends/stv0367.c index 7117ce9..ec9de40 100644 --- a/drivers/media/dvb/frontends/stv0367.c +++ b/drivers/media/dvb/frontends/stv0367.c @@ -1

[patch 1/2] [media] stv0367: signedness bug in stv0367_get_tuner_freq()

2011-03-06 Thread Dan Carpenter
We use err to store negative error codes so it should be signed. And if we return an error from stv0367_get_tuner_freq() that needs to be handled properly as well. (param->frequency is a u32). Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb/frontends/stv0367.c b/drivers/media/dvb/

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-06 Thread Mauro Carvalho Chehab
Em 06-03-2011 08:38, Laurent Pinchart escreveu: > Hi Mauro, > > On Sunday 06 March 2011 11:56:04 Mauro Carvalho Chehab wrote: >> Em 05-03-2011 20:23, Sylwester Nawrocki escreveu: >> >> A somewhat unrelated question that occurred to me today: what happens when >> a format change happens while strea

patches missing in git ? - TT S2 1600

2011-03-06 Thread Steffen Barszus
I have one patch lying around which will fix a kernel oops if more than one TT S2 1600 is build into the same computer. It still applies and compiles - does someone know if this has been obsoleted by another patch or if that means it is still missing ? Thanks ! Kind Regards Steffen diff -r

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

2011-03-06 Thread adq
2011/3/6 adq : > 2011/3/6 Antti Palosaari : >> On 03/06/2011 02:24 PM, adq wrote: >>> >>> Another issue I've noticed just now: The UCBLOCKS measure isn't reset: >>> it seems to be an accumulative counter, which isn't correct from the >>> DVB API (if I remember correctly). >>> >>> This explains why

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

2011-03-06 Thread adq
2011/3/6 Antti Palosaari : > On 03/06/2011 02:24 PM, adq wrote: >> >> Another issue I've noticed just now: The UCBLOCKS measure isn't reset: >> it seems to be an accumulative counter, which isn't correct from the >> DVB API (if I remember correctly). >> >> This explains why tvheadend's "quallity" m

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

2011-03-06 Thread Antti Palosaari
On 03/06/2011 02:24 PM, adq wrote: Another issue I've noticed just now: The UCBLOCKS measure isn't reset: it seems to be an accumulative counter, which isn't correct from the DVB API (if I remember correctly). This explains why tvheadend's "quallity" measure gradually tends to 0, since it is ass

Re: Patches an media build tree

2011-03-06 Thread Steffen Barszus
On Sun, 6 Mar 2011 17:23:11 +0530 Manu Abraham wrote: > Hi Steffen, Hi Manu , thx for the reply :) > On Sat, Mar 5, 2011 at 9:13 PM, Steffen Barszus > > Manu , Mauro please comment ! Thanks ! > > > > Avoid unnecessary data copying inside dvb_dmx_swfilter_204() > > function 2010-08-07      Ma

Re: [GIT PATCHES FOR 2.6.39] Fix compile error/warnings

2011-03-06 Thread Hans Verkuil
On Sunday, March 06, 2011 13:43:32 Hans Verkuil wrote: > A bunch of trivial compile fixes for 2.6.39. > > Regards, > > Hans Added one more: altera-ci.h: add missing inline Regards, Hans > > The following changes since commit 88a763df226facb74fdb254563e30e9efb64275c: >

[GIT PATCHES FOR 2.6.39] Fix compile error/warnings

2011-03-06 Thread Hans Verkuil
A bunch of trivial compile fixes for 2.6.39. Regards, Hans The following changes since commit 88a763df226facb74fdb254563e30e9efb64275c: [media] dw2102: prof 1100 corrected (2011-03-02 16:56:54 -0300) are available in the git repository at: ssh://linuxtv.org/git/hverkuil/media_tree.

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

2011-03-06 Thread adq
2011/3/6 adq : > 2011/3/5 adq : >> 2011/3/5 Juan Jesús García de Soria Lucena : >>> Hi, Andrew. >>> >>> This is what happens to me with both the KWorld dual tuner (when using only >>> one tuner) and the Avermedia Volar Black (single tuner), both based on >>> AF9015. >>> >>> I also got corrupted str

Re: [PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Oliver Neukum
Am Sonntag, 6. März 2011, 12:16:52 schrieb Florian Mickler: > This should fix warnings seen by some: > WARNING: at lib/dma-debug.c:866 check_for_stack > > Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=15977. > Reported-by: Zdenek Kabelac > Signed-off-by: Florian Mickler > CC: Mauro Ca

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

2011-03-06 Thread adq
2011/3/5 adq : > 2011/3/5 Juan Jesús García de Soria Lucena : >> Hi, Andrew. >> >> This is what happens to me with both the KWorld dual tuner (when using only >> one tuner) and the Avermedia Volar Black (single tuner), both based on >> AF9015. >> >> I also got corrupted streams with the KWorld when

Re: Patches an media build tree

2011-03-06 Thread Manu Abraham
Hi Steffen, On Sat, Mar 5, 2011 at 9:13 PM, Steffen Barszus wrote: > On Sun, 16 Jan 2011 16:37:38 -0200 > Mauro Carvalho Chehab wrote: > >> Em 15-01-2011 11:46, Helmut Auer escreveu: >> > Hello List >> > >> > How long does it usually take til patches are integrated into the >> > media build tree

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-06 Thread Laurent Pinchart
Hi Mauro, On Sunday 06 March 2011 11:56:04 Mauro Carvalho Chehab wrote: > Em 05-03-2011 20:23, Sylwester Nawrocki escreveu: > > A somewhat unrelated question that occurred to me today: what happens when > a format change happens while streaming? > > Considering that some formats need more bits th

[PATCH] [media] dib0700: get rid of on-stack dma buffers

2011-03-06 Thread Florian Mickler
This should fix warnings seen by some: WARNING: at lib/dma-debug.c:866 check_for_stack Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=15977. Reported-by: Zdenek Kabelac Signed-off-by: Florian Mickler CC: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org CC: linux-ker...@vger.ker

NCT 677x lirc driver for Asrock 330HT and others

2011-03-06 Thread Steffen Barszus
Hi ! Note sure where exactly to put it. Here is an lirc driver provided by Nuovoton as it seems, which can be downloaded from the vendors site: http://www.asrock.com/Nettop/download.asp?Model=ION%20330HT&o=Linux It adds an lirc driver for the receiver as used in the Asrock 330HT and newer models

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-06 Thread Mauro Carvalho Chehab
Em 05-03-2011 20:23, Sylwester Nawrocki escreveu: > Hi Mauro, > > On 03/05/2011 07:14 PM, Mauro Carvalho Chehab wrote: >> Em 05-03-2011 11:29, Sylwester Nawrocki escreveu: >>> Hi David, >>> >>> On 03/05/2011 02:04 PM, David Cohen wrote: Hi Hans, On Sat, Mar 5, 2011 at 1:52 PM, Hans

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-06 Thread Laurent Pinchart
Hi Sakari, On Sunday 06 March 2011 09:34:50 Sakari Ailus wrote: > Hi Laurent, > > Many thanks for the pull req! > > On Thu, Feb 17, 2011 at 04:06:58PM +0100, Laurent Pinchart wrote: > ... > > > drivers/media/video/omap3-isp/ispresizer.c | 1693 ++ > > drivers/media/video/om

Re: [RFC] snapshot mode, flash capabilities and control

2011-03-06 Thread Sakari Ailus
Guennadi Liakhovetski wrote: On Fri, 25 Feb 2011, Sakari Ailus wrote: On Fri, Feb 25, 2011 at 06:08:07PM +0100, Guennadi Liakhovetski wrote: Hi Sakari Hi Guennadi, On Fri, 25 Feb 2011, Sakari Ailus wrote: I agree with that. Flash synchronisation is just one of the many parameters that wou

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-06 Thread Sakari Ailus
Hi Laurent, Many thanks for the pull req! On Thu, Feb 17, 2011 at 04:06:58PM +0100, Laurent Pinchart wrote: ... drivers/media/video/omap3-isp/ispresizer.c | 1693 ++ drivers/media/video/omap3-isp/ispresizer.h | 147 ++ drivers/media/video/omap3-isp/ispstat.c