Remote Controller subsystem status

2010-04-10 Thread Mauro Carvalho Chehab
For those that are following the discussions, we're having lots of fun with the Remote Controller support those days ;) We're basically re-writing the entire subsystem, that used to be part of V4L/DVB core and drivers, into a core subsystem that can be used not only by media drivers, but also for

Re: [ivtv-devel] cx18: "missing audio" for analog recordings

2010-04-10 Thread Andy Walls
On Sun, 2010-04-11 at 00:56 -0400, Andy Walls wrote: > On Sat, 2010-04-10 at 23:21 -0400, Mark Lord wrote: > > On 10/04/10 06:54 PM, Andy Walls wrote: > > > > > > Hmmm. Darren's having problems (loss of video/black screen) with my > > > patches under my cx18-audio repo, but I'm not quite convinced

Re: cx18: "missing audio" for analog recordings

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 23:21 -0400, Mark Lord wrote: > On 10/04/10 06:54 PM, Andy Walls wrote: > > > > Hmmm. Darren's having problems (loss of video/black screen) with my > > patches under my cx18-audio repo, but I'm not quite convinced he doesn't > > have some other PCI bus problem either. > > > >

Re: cx18: "missing audio" for analog recordings

2010-04-10 Thread Mark Lord
On 10/04/10 06:54 PM, Andy Walls wrote: Hmmm. Darren's having problems (loss of video/black screen) with my patches under my cx18-audio repo, but I'm not quite convinced he doesn't have some other PCI bus problem either. Anyway, my plan now is this: 1. on cx18-av-core.c:input_change()

[PATCH 1/2] ir-core: Remove the quotation mark from the uevent names

2010-04-10 Thread Mauro Carvalho Chehab
There's no need to use quotation marks at the uevent names for the driver and table. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index a222d4f..40d9abf 100644 --- a/drivers/media/IR/ir-sysfs.c +++ b/drivers/media/IR/ir-sysfs.c @@ -1

[PATCH 2/2] ir-core: Fix the delete logic

2010-04-10 Thread Mauro Carvalho Chehab
Instead of removing an entry, the logic were doing both a deletion and a key addition, as shown by the log: [11517.323314] ir_getkeycode: unknown key for scancode 0x0050 [11517.326529] ir_do_setkeycode: #80: Deleting scan 0x0050 [11517.326529] ir_do_setkeycode: #80: New scan 0x0050 with key 0x

Re: cx18: "missing audio" for analog recordings

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 18:54 -0400, Andy Walls wrote: > On Sat, 2010-04-10 at 18:28 -0400, Mark Lord wrote: > > On 15/03/10 07:51 AM, Andy Walls wrote: > > > On Sun, 2010-03-14 at 22:48 -0400, Mark Lord wrote: > > >> On 03/02/10 07:40, Andy Walls wrote: > > .. > > >> after updating to the tip of the

Re: cx18: "missing audio" for analog recordings

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 18:28 -0400, Mark Lord wrote: > On 15/03/10 07:51 AM, Andy Walls wrote: > > On Sun, 2010-03-14 at 22:48 -0400, Mark Lord wrote: > >> On 03/02/10 07:40, Andy Walls wrote: > .. > >> after updating to the tip of the v4l2-dvb git tree last week, > >> I've been hitting the "no audi

Re: cx18: "missing audio" for analog recordings

2010-04-10 Thread Mark Lord
On 15/03/10 07:51 AM, Andy Walls wrote: On Sun, 2010-03-14 at 22:48 -0400, Mark Lord wrote: On 03/02/10 07:40, Andy Walls wrote: .. after updating to the tip of the v4l2-dvb git tree last week, I've been hitting the "no audio" on analog recordings bug much more often. Digging through google,

Re: [PATCH 4/4] Add RC6 support to ir-core

2010-04-10 Thread David Härdeman
On Fri, Apr 09, 2010 at 09:12:08PM -0400, Andy Walls wrote: > On Fri, 2010-04-09 at 01:04 +0200, David Härdeman wrote: > > +again: > > + IR_dprintk(2, "RC6 decode started at state %i (%i units, %ius)\n", > > + data->state, u, TO_US(duration)); > > + > > + if (DURATION(u) == 0 && da

Re: [PATCH 4/4] Add RC6 support to ir-core

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 21:52 +0200, David Härdeman wrote: > On Fri, Apr 09, 2010 at 09:12:08PM -0400, Andy Walls wrote: > > On Fri, 2010-04-09 at 01:04 +0200, David Härdeman wrote: > > > diff --git a/drivers/media/IR/ir-rc6-decoder.c > > > b/drivers/media/IR/ir-rc6-decoder.c > > > new file mode 100

Re: [PATCH 4/4] Add RC6 support to ir-core

2010-04-10 Thread David Härdeman
On Fri, Apr 09, 2010 at 09:12:08PM -0400, Andy Walls wrote: > On Fri, 2010-04-09 at 01:04 +0200, David Härdeman wrote: > > diff --git a/drivers/media/IR/ir-rc6-decoder.c > > b/drivers/media/IR/ir-rc6-decoder.c > > new file mode 100644 > > index 000..ccc5be2 > > --- /dev/null > > +++ b/drivers/

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

2010-04-10 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 10 19:00:18 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14561:7c0b887911cf git master:

Re: [PATCH 08/26] V4L/DVB: Break Remote Controller keymaps into modules

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 13:06 -0300, Mauro Carvalho Chehab wrote: > Andy Walls wrote: > > On Tue, 2010-04-06 at 15:18 -0300, Mauro Carvalho Chehab wrote: > >> The original Remote Controller approach were very messy: a big file, > >> that were part of ir-common kernel module, containing 64 different >

Re: [PATCH] device_attributes: add sysfs_attr_init() for dynamic attributes

2010-04-10 Thread Mauro Carvalho Chehab
Mike Isely wrote: > Acked-By: Mike Isely > > (in the context of the pvrusb2 driver related changes) Acked-by: Mauro Carvalho Chehab > > -Mike > > On Mon, 22 Mar 2010, Wolfram Sang wrote: > >> Made necessary by 6992f5334995af474c2b58d010d08bc597f0f2fe. >> >> Found by this semantic patch: >>

Re: [PATCH 09/11] pvrusb2-v4l2: Rename dev_info to pdi

2010-04-10 Thread Mike Isely
Acked-By: Mike Isely -Mike On Mon, 5 Apr 2010, Joe Perches wrote: > There is a macro called dev_info that prints struct device specific > information. Having variables with the same name can be confusing and > prevents conversion of the macro to a function. > > Rename the existing dev_inf

Re: [PATCH] device_attributes: add sysfs_attr_init() for dynamic attributes

2010-04-10 Thread Mike Isely
Acked-By: Mike Isely (in the context of the pvrusb2 driver related changes) -Mike On Mon, 22 Mar 2010, Wolfram Sang wrote: > Made necessary by 6992f5334995af474c2b58d010d08bc597f0f2fe. > > Found by this semantic patch: > > @ init @ > type T; > identifier A; > @@ > > T { >

Re: [PATCH 08/26] V4L/DVB: Break Remote Controller keymaps into modules

2010-04-10 Thread Mauro Carvalho Chehab
Andy Walls wrote: > On Tue, 2010-04-06 at 15:18 -0300, Mauro Carvalho Chehab wrote: >> The original Remote Controller approach were very messy: a big file, >> that were part of ir-common kernel module, containing 64 different >> RC keymap tables, used by the V4L/DVB drivers. >> >> Better to break e

Re: [PATCH] DVB-T initial scan file for Israel (dvb-utils)

2010-04-10 Thread Shaul Kremer
On Sat, Apr 10, 2010 at 3:02 AM, hermann pitton wrote: > Hi Shaul, > > Am Samstag, den 10.04.2010, 02:16 +0300 schrieb Shaul Kremer: >> Hi, >> >> Here is an initial scan file for IBA's DVB-T transmitters. >> >> Generated from info at http://www.iba.org.il/reception/ (Hebrew) >> >> # HG changeset p

Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 09:10 -0300, Mauro Carvalho Chehab wrote: > Andy Walls wrote: > > On Sat, 2010-04-10 at 08:48 +0200, David Härdeman wrote: > >> On Fri, Apr 09, 2010 at 11:00:41AM -0300, Mauro Carvalho Chehab wrote: > >>> struct { > >>> unsigned mark : 1; > >>> unsigned duration :31; > >>>

Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-10 Thread Jon Smirl
On Sat, Apr 10, 2010 at 2:48 AM, David Härdeman wrote: > On Fri, Apr 09, 2010 at 11:00:41AM -0300, Mauro Carvalho Chehab wrote: >> struct { >>       unsigned mark : 1; >>       unsigned duration :31; >> } >> >> There's no memory spend at all: it will use just one unsigned int and it is >> clearly

Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-10 Thread Mauro Carvalho Chehab
Andy Walls wrote: > On Sat, 2010-04-10 at 08:48 +0200, David Härdeman wrote: >> On Fri, Apr 09, 2010 at 11:00:41AM -0300, Mauro Carvalho Chehab wrote: >>> struct { >>> unsigned mark : 1; >>> unsigned duration :31; >>> } >>> >>> There's no memory spend at all: it will use just one unsigned i

Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 08:48 +0200, David Härdeman wrote: > On Fri, Apr 09, 2010 at 11:00:41AM -0300, Mauro Carvalho Chehab wrote: > > struct { > > unsigned mark : 1; > > unsigned duration :31; > > } > > > > There's no memory spend at all: it will use just one unsigned int and it is > > cle

[GIT PULL for 2.6.35] vivi cleanup and bug fixes

2010-04-10 Thread Hans Verkuil
The following changes since commit 8b680a770f6bdcd52f6816d7a5fe7aee9a9f7c78: Mauro Carvalho Chehab (1): V4L/DVB: ir Kconfig: better describe the options are available in the git repository at: ssh://linuxtv.org/git/hverkuil/v4l-dvb.git vivi Hans Verkuil (1): vivi: clean up and