[SOLVED] wnv_cs.c: i2c question

2010-09-28 Thread Dominik Brodowski
Hey, > as I recently obtained such a PCMCIA card, I try to revive the wnv_cs driver > for Winnov Videum Traveler video cards. First (non-working, but compiling > and able to access the EEPROM and to detect the decoder) results may be > found at > > http://git.kernel.org/?p=linux/kernel/git/brodo/

Re: updated make_kconfig.pl for Ubuntu

2010-09-28 Thread Jan Hoogenraad
Douglas: Can you push the updated make_kconfig.pl ? It is in its own HG tree on: http://linuxtv.org/hg/~jhoogenraad/ubuntu-firedtv/ Mauro Carvalho Chehab wrote: Em 28-09-2010 14:48, Jan Hoogenraad escreveu: Douglas: I have an updated make_kconfig.pl for Ububtu on: http://linuxtv.org/hg/~jhoo

[cron job] v4l-dvb daily build 2.6.26 and up: ERRORS

2010-09-28 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:Tue Sep 28 19:00:17 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15164:1da5fed5c8b2 git master:

[PATCH 00/10] Several fixes for cx231xx

2010-09-28 Thread Mauro Carvalho Chehab
Those patches do several fixes needed on cx231xx for it to properly work with some new devices. They are meant to be applied after Devin's patches on his tree: https://www.kernellabs.com/hg/~dheitmueller/polaris4/ I've applied his patch (fixing some merge conflicts) on a temporary git tree

[PATCH 10/10] V4L/DVB: cx231xx-audio: fix some locking issues

2010-09-28 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/video/cx231xx/cx231xx-audio.c b/drivers/media/video/cx231xx/cx231xx-audio.c index 6ac418c..30d13c1 100644 --- a/drivers/media/video/cx231xx/cx231xx-audio.c +++ b/drivers/media/video/cx231xx/cx231xx-audio.c @@ -124,6 +124,9 @@ static

[PATCH 09/10] V4L/DVB: tda18271: Add debug message with frequency divisor

2010-09-28 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/common/tuners/tda18271-common.c b/drivers/media/common/tuners/tda18271-common.c index 195b30e..7ba3ba3 100644 --- a/drivers/media/common/tuners/tda18271-common.c +++ b/drivers/media/common/tuners/tda18271-common.c @@ -549,6 +549,13

[PATCH 08/10] V4L/DVB: tda18271: allow restricting max out to 4 bytes

2010-09-28 Thread Mauro Carvalho Chehab
By default, tda18271 tries to optimize I2C bus by updating all registers at the same time. Unfortunately, some devices doesn't support it. The current logic has a problem when small_i2c is equal to 8, since there are some transfers using 11 + 1 bytes. Fix the problem by enforcing the max size at

[PATCH 07/10] V4L/DVB: cx231xx: Only change gpio direction when needed

2010-09-28 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c index 8e088db..28f77a7 100644 --- a/drivers/media/video/cx231xx/cx231xx-cards.c +++ b/drivers/media/video/cx231xx/cx231xx-cards.c @@ -495,10 +495,11 @@ void

[PATCH 06/10] V4L/DVB: cx231xx: better handle the master port enable command

2010-09-28 Thread Mauro Carvalho Chehab
Improves the logic, for it to be clearer and to avoid having board-dependent config there. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/video/cx231xx/cx231xx-avcore.c b/drivers/media/video/cx231xx/cx231xx-avcore.c index ab9fbf8..2d773b3 100644 --- a/drivers/media/video/cx231x

[PATCH 05/10] V4L/DVB: cx231xx: properly use the right tuner i2c address

2010-09-28 Thread Mauro Carvalho Chehab
The driver has a field to indicate what bus is used by tuner and by demod. However, this field were never used. On Pixelview, it uses I2C 2 for tuner, instead of I2C 1. drivers/media/video/cx231xx/cx231xx-cards.c Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/video/cx23

[PATCH 04/10] V4L/DVB: cx231xx: properly implement URB control messages log

2010-09-28 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/video/cx231xx/cx231xx-core.c b/drivers/media/video/cx231xx/cx231xx-core.c index 5406ff2..983b120 100644 --- a/drivers/media/video/cx231xx/cx231xx-core.c +++ b/drivers/media/video/cx231xx/cx231xx-core.c @@ -47,11 +47,6 @@ static unsi

[PATCH 03/10] V4L/DVB: tda18271: Add some hint about what tda18217 reg ID returned

2010-09-28 Thread Mauro Carvalho Chehab
Instead of doing: [ 82.581639] tda18271 4-0060: creating new instance [ 82.588411] Unknown device detected @ 4-0060, device not supported. [ 82.594695] tda18271_attach: [4-0060|M] error -22 on line 1272 [ 82.600530] tda18271 4-0060: destroying instance Print: [ 468.740392] Unknown device

[PATCH 02/10] V4L/DVB: cx231xx: fix Kconfig dependencies

2010-09-28 Thread Mauro Carvalho Chehab
ERROR: "cx2341x_mpeg_ctrls" [drivers/media/video/cx231xx/cx231xx.ko] undefined! ERROR: "cx2341x_fill_defaults" [drivers/media/video/cx231xx/cx231xx.ko] undefined! ERROR: "cx2341x_log_status" [drivers/media/video/cx231xx/cx231xx.ko] undefined! ERROR: "cx2341x_ctrl_get_menu" [drivers/media/video/cx2

[PATCH 01/10] V4L/DVB: cx231xx: remove a printk warning at -avcore and at -417

2010-09-28 Thread Mauro Carvalho Chehab
drivers/media/video/cx231xx/cx231xx-avcore.c:1608: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’ drivers/media/video/cx231xx/cx231xx-417.c:1047: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ Signed-off-by: Mauro Carvalho Chehab

Re: updated make_kconfig.pl for Ubuntu

2010-09-28 Thread Mauro Carvalho Chehab
Em 28-09-2010 14:48, Jan Hoogenraad escreveu: > Douglas: > > I have an updated make_kconfig.pl for Ububtu on: > http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2/file/cb34ee1c29fc/v4l/scripts/make_kconfig.pl > > Could you test if make allyesconfig actually keeps FIREDTV enabled on a > non-Ubuntu sys

Re: updated make_kconfig.pl for Ubuntu

2010-09-28 Thread Jan Hoogenraad
Douglas: I have an updated make_kconfig.pl for Ububtu on: http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2/file/cb34ee1c29fc/v4l/scripts/make_kconfig.pl Could you test if make allyesconfig actually keeps FIREDTV enabled on a non-Ubuntu system ? If so, can you merge this version into the main str

Re: [RFC/PATCH 7/9] v4l: v4l2_subdev userspace format API

2010-09-28 Thread Sakari Ailus
Hi, Hans Verkuil wrote: + +#define VIDIOC_SUBDEV_G_FMT _IOWR('V', 4, struct v4l2_subdev_format) +#define VIDIOC_SUBDEV_S_FMT _IOWR('V', 5, struct v4l2_subdev_format) +#define VIDIOC_SUBDEV_ENUM_MBUS_CODE \ + _IOWR('V', 2, struct

Re: [RFC/PATCH 8/9] v4l: v4l2_subdev userspace frame interval API

2010-09-28 Thread Laurent Pinchart
Hi Hans, On Sunday 26 September 2010 20:31:58 Hans Verkuil wrote: > On Sunday, September 26, 2010 18:13:31 Laurent Pinchart wrote: > > The three new ioctl VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL, > > VIDIOC_SUBDEV_G_FRAME_INTERVAL and VIDIOC_SUBDEV_S_FRAME_INTERVAL can be > > used to enumerate and confi

Re: [RFC/PATCH 7/9] v4l: v4l2_subdev userspace format API

2010-09-28 Thread Laurent Pinchart
Hi Hans, On Tuesday 28 September 2010 14:11:28 Hans Verkuil wrote: > > Hi Hans, > > > > Thanks for the review. > > > > On Sunday 26 September 2010 20:25:20 Hans Verkuil wrote: > >> On Sunday, September 26, 2010 18:13:30 Laurent Pinchart wrote: > > > >> > diff --git a/Documentation/DocBook/v4l/

Re: [RFC/PATCH 7/9] v4l: v4l2_subdev userspace format API

2010-09-28 Thread Hans Verkuil
> Hi Hans, > > Thanks for the review. > > On Sunday 26 September 2010 20:25:20 Hans Verkuil wrote: >> On Sunday, September 26, 2010 18:13:30 Laurent Pinchart wrote: >> > diff --git a/Documentation/DocBook/v4l/vidioc-streamon.xml >> > b/Documentation/DocBook/v4l/vidioc-streamon.xml index e42bff1

Re: [RFC/PATCH 7/9] v4l: v4l2_subdev userspace format API

2010-09-28 Thread Laurent Pinchart
Hi Hans, Thanks for the review. On Sunday 26 September 2010 20:25:20 Hans Verkuil wrote: > On Sunday, September 26, 2010 18:13:30 Laurent Pinchart wrote: > > Add a userspace API to get, set and enumerate the media format on a > > subdev pad. > > > > Signed-off-by: Laurent Pinchart > > Signed-of

Re: RFC: Introduction of M2M capability and buffer types

2010-09-28 Thread Hans Verkuil
> Any comments? No, other than what has been discussed on irc: - Add a new V4L2_CAP_VIDEO_M2M capability instead of ORing CAPTURE and OUTPUT. - Don't add aliases, just document better if needed. - The spec has to change so that M2M devices do not need buffers to be queued before calling STREAMON

Re: RFC: Introduction of M2M capability and buffer types

2010-09-28 Thread Kyungmin Park
Any comments? On Tue, Sep 14, 2010 at 11:29 PM, Kamil Debski wrote: > Hello, > > Mem2mem devices currently use V4L2_CAP_VIDEO_CAPTURE and > V4L2_CAP_VIDEO_OUTPUT capabilities. One might expect that a capture device is > a camera and an output device can display images. If I remember correct our