Re: [PATCH] Revert most of 15cc2bb [media] DVB: dtv_property_cache_submit shouldn't modifiy the cache

2011-11-05 Thread Lawrence Rust
On Sat, 2011-11-05 at 18:38 +0100, Andreas Oberritter wrote: [snip] > I don't get how this could be useful. MythTV knows what delivery system > it wants to use, so it should pass this information to the kernel. > Trying to set an invalid delivery system must fail. > > Using SYS_UNDEFINED as a pre-

Re: [PATCH] Revert most of 15cc2bb [media] DVB: dtv_property_cache_submit shouldn't modifiy the cache

2011-11-05 Thread Lawrence Rust
On Sat, 2011-11-05 at 17:39 +0100, Andreas Oberritter wrote: [snip] > How does MythTV set the parameters (i.e. using which interface, calls)? > If using S2API, it should also set DTV_DELIVERY_SYSTEM. The following kern.log excerpt shows MythTV setting up the card: Nov 5 11:54:52 cyclops kernel:

[PATCH] Revert most of 15cc2bb [media] DVB: dtv_property_cache_submit shouldn't modifiy the cache

2011-11-05 Thread Lawrence Rust
then when tuning is started, fe->ops.set_frontend() fails. The current version of MythTV 0.24.1 is affected by this bug when using a dvb-s2 card (tbs6981) tuned to a dvb-s channel. Signed-off-by: Lawrence Rust --- drivers/media/dvb/dvb-core/dvb_frontend.c |9 - 1 files ch

[PATCH] ir-rc6-decoder: Support RC6-6A variable length data

2011-10-31 Thread Lawrence Rust
ports an error and discards the data. Hope this meets with your approval. The following patch is against 3.0 -- Lawrence >From 2c0c28cbd750db64d7591a1d1998ac3dacc7d4db Mon Sep 17 00:00:00 2001 From: Lawrence Rust Date: Mon, 26 Sep 2011 15:21:13 +0200 Subject: [PATCH] ir-rc6-decoder: Support R

Re: [RFC] ir-rc6-decoder: Support RC6-6A variable length data

2011-09-30 Thread Lawrence Rust
On Fri, 2011-09-30 at 07:01 -0300, Mauro Carvalho Chehab wrote: > Em 27-09-2011 10:11, Lawrence Rust escreveu: > > Hi, > > > > This patch to the IR RC6 decoder adds support for variable length > > mode-6A frames which can range in size from 8 to 128 bits. Please refe

[RFC] ir-rc6-decoder: Support RC6-6A variable length data

2011-09-27 Thread Lawrence Rust
a Sky RC. Comments & suggestions please. -- Lawrence Rust >From 44431fd36f4b766d2b26ff70fb79b9a7c9e869fe Mon Sep 17 00:00:00 2001 From: Lawrence Rust Date: Mon, 26 Sep 2011 15:21:13 +0200 Subject: [PATCH] ir-rc6-decoder: Support RC6-6A variable length body Signed-off-by: Lawrence Rust

Re: RC6 decoding

2011-09-24 Thread Lawrence Rust
On Sat, 2011-09-24 at 09:39 -0400, Andy Walls wrote: > On Sat, 2011-09-24 at 09:16 -0400, Andy Walls wrote: > > On Fri, 2011-09-23 at 20:43 -0300, Mauro Carvalho Chehab wrote: > > > Em 19-09-2011 08:12, Lawrence Rust escreveu: > > > > The current decoder for the RC6 I

RC6 decoding

2011-09-19 Thread Lawrence Rust
IR_dprintk(1, "RC6(6A) scancode 0x%08x (toggle: %u)\n", -- Lawrence Rust -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [mythtv-users] Anyone tested the DVB-T2 dual tuner TBS6280?

2011-08-15 Thread Lawrence Rust
On Mon, 2011-08-15 at 06:19 -0400, Andy Walls wrote: > One of the bigger problems with the cx23885 driver and hardware was that > things don't appear to work well with MSI enabled in the driver. Hack your > version of the driver to make sure MSI is not enabled for CX2388[578] chips. > > As far

Re: [mythtv-users] Anyone tested the DVB-T2 dual tuner TBS6280?

2011-08-15 Thread Lawrence Rust
On Sun, 2011-08-14 at 17:50 +0200, Harald Gustafsson wrote: > Thanks for sharing your experience. > [snip] > > Be warned that if you run a 2.6.38 or later kernel then the IR RC won't > > work because of significant changes to the RC architecture that TBS > > don't like (see http://www.tbsdtv.com/f

Re: [mythtv-users] Anyone tested the DVB-T2 dual tuner TBS6280?

2011-08-13 Thread Lawrence Rust
On Tue, 2011-08-09 at 12:35 +0200, Harald Gustafsson wrote: > Hi, > > I searched for a dual tuner PCI-e DVB-T2 card with Linux support and > found this TBS6280 card: > http://tbsdvb.blog.com/2011/07/22/tbs-6280-freeview-hd-twin-tuner-card/ > http://www.buydvb.net/tbs6280-pcie-dvbt2t-dual-tuner-car

Re: [PATCH] Fix cx88 remote control input

2011-05-03 Thread Lawrence Rust
On Mon, 2011-05-02 at 15:50 -0300, Mauro Carvalho Chehab wrote: > Em 08-04-2011 09:50, Lawrence Rust escreveu: > > This patch restores remote control input for cx2388x based boards on > > Linux kernels >= 2.6.38. > > > > After upgrading from Linux 2.6.37 to

Re: [PATCH] Fix cx88 remote control input

2011-04-08 Thread Lawrence Rust
On Fri, 2011-04-08 at 12:21 -0400, Jarod Wilson wrote: > On Apr 8, 2011, at 11:22 AM, Lawrence Rust wrote: > > > On Fri, 2011-04-08 at 10:41 -0400, Jarod Wilson wrote: > >> On Apr 8, 2011, at 8:50 AM, Lawrence Rust wrote: > >> > >>> This patch resto

Re: [PATCH] Fix cx88 remote control input

2011-04-08 Thread Lawrence Rust
On Fri, 2011-04-08 at 10:41 -0400, Jarod Wilson wrote: > On Apr 8, 2011, at 8:50 AM, Lawrence Rust wrote: > > > This patch restores remote control input for cx2388x based boards on > > Linux kernels >= 2.6.38. > > > > After upgrading from Linux 2.6.37

[PATCH] Fix cx88 remote control input

2011-04-08 Thread Lawrence Rust
fit and could have unanticipated consequences. IMHO that change should also be reverted unless there is evidence to substantiate it. Signed off by: Lawrence Rust diff --git a/drivers/media/rc/ir-rc5-decoder.c b/drivers/media/rc/ir-rc5-decoder.c index ebdba55..c4052da 100644 --- a/drivers/me

Re: Hauppauge Nova-S remote control broken in 2.6.38

2011-04-03 Thread Lawrence Rust
On Sun, 2011-04-03 at 11:25 -0300, Mauro Carvalho Chehab wrote: > Em 03-04-2011 08:41, Lawrence Rust escreveu: > > I just installed a new 2.6.38.2 kernel and found that the remote control > > on my Hauppauge Nova-S plus is no longer working. dmesg shows that > > ever

Hauppauge Nova-S remote control broken in 2.6.38

2011-04-03 Thread Lawrence Rust
I just installed a new 2.6.38.2 kernel and found that the remote control on my Hauppauge Nova-S plus is no longer working. dmesg shows that everything initialised OK: [8.002874] cx88/0: cx2388x v4l2 driver version 0.0.8 loaded [8.100260] IR NEC protocol handler initialized [8.132843] t

Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864

2011-02-05 Thread Lawrence Rust
On Tue, 2011-02-01 at 13:49 -0200, Mauro Carvalho Chehab wrote: > Hi Lawrence, > > Em 08-01-2011 16:45, Lawrence Rust escreveu: > > Thanks for the info on the PVR-150. It largely confirmed what I had > > surmised - that the two cards disagree about serial audio data format

Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864

2011-02-03 Thread Lawrence Rust
On Tue, 2011-02-01 at 13:49 -0200, Mauro Carvalho Chehab wrote: > Hi Lawrence, > > Em 08-01-2011 16:45, Lawrence Rust escreveu: > > Thanks for the info on the PVR-150. It largely confirmed what I had > > surmised - that the two cards disagree about serial audio data format

Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864

2011-01-10 Thread Lawrence Rust
On Mon, 2011-01-10 at 07:39 -0500, Andy Walls wrote: [snip] > I do see one problem with your patch at the moment: > > diff --git a/include/media/wm8775.c b/include/media/wm8775.c > ... > + sd->grp_id = WM8775_GID; /* subdev group id */ > ... > diff --git a/include/media/wm8775.h b/include/me

Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864

2011-01-08 Thread Lawrence Rust
On Sat, 2011-01-08 at 09:22 -0500, Andy Walls wrote: > On Sat, 2011-01-08 at 13:09 +0100, Lawrence Rust wrote: > > On Mon, 2011-01-03 at 17:34 -0500, Andy Walls wrote: > > > On Sun, 2011-01-02 at 23:00 -0500, Eric Sharkey wrote: > > > > On Fri, Dec 31, 2010 at 7:55

Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864

2011-01-08 Thread Lawrence Rust
On Mon, 2011-01-03 at 17:34 -0500, Andy Walls wrote: > On Sun, 2011-01-02 at 23:00 -0500, Eric Sharkey wrote: > > On Fri, Dec 31, 2010 at 7:55 PM, Andy Walls wrote: > > > Mauro, > > > > > > Please revert at least the wm8775.c portion of commit > > > fcb9757333df37cf4a7feccef7ef6f5300643864: > > >

[PATCH V3] Nova-S-Plus audio line input

2010-10-18 Thread Lawrence Rust
. This revision provides compatibility with the current 2.6.37 staging codebase. Signed-off-by: Lawrence Rust --- drivers/media/video/cx88/cx88-alsa.c | 98 +++ drivers/media/video/cx88/cx88-cards.c |7 ++ drivers/media/video/cx88/cx88-video.c | 27

[PATCH] cx88: Make static data tables and strings const.

2010-08-25 Thread lawrence rust
Making static data const avoids allocation of additional r/w memory and reduces initialisation time. It also provides some additional opportunities for compiler optimisations. Signed-off-by: Lawrence Rust --- drivers/media/common/tuners/xc5000.c |2 +- drivers/media/common/tuners

[PATCH] cx88: Kconfig: Remove EXPERIMENTAL dependency from VIDEO_CX88_ALSA

2010-08-24 Thread lawrence rust
The cx88-alsa module has been around since January 2006 and has seen no significant changes since September 2007. It is stable in operation and so I believe that the 'experimental' tag is no longer warranted. --- drivers/media/video/cx88/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 dele

[PATCH] cx88: convert core->tvaudio into an enum

2010-08-23 Thread lawrence rust
WW_M. Signed-off-by: Lawrence Rust --- drivers/media/video/cx88/cx88-core.c|2 +- drivers/media/video/cx88/cx88-dsp.c | 17 +- drivers/media/video/cx88/cx88-tvaudio.c | 37 ++ drivers/media/video/cx88/cx88.h | 28

Re: [PATCH v2] V4L2: avoid name conflicts in macros

2010-08-13 Thread lawrence rust
gle underscore and a lowercase prefix such as the library or header name e.g. _v4l_sd, _v4l_err, etc. Aside - the copious use of macros encourages leakage of identifiers and often breaks encapsulation as here, where the implementation details of subdevs are exported. A range of inline accessor/mu

[PATCH V2] Nova-S-Plus audio line input

2010-08-10 Thread lawrence rust
d manual level control. - Changes to comments & formatting in wm8775_probe() are reverted. The ALC setup is modified slightly to reduce large signal distortion. Comments, criticism & errata please. Signed-off by Lawrence Rust diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/

Re: [PATCH] Nova-S-Plus audio line input

2010-08-08 Thread lawrence rust
On Sat, 2010-08-07 at 10:29 -0400, Andy Walls wrote: > On Sat, 2010-07-31 at 16:37 +0200, lawrence rust wrote: > > Hi everyone, > > > > This patch adds audio DMA capture and ALSA mixer elements for the line > > input jack of the Hauppauge Nova-S-plus DVB-S PCI card. >

Re: Fwd: No audio in HW Compressed MPEG2 container on HVR-1300

2010-08-07 Thread lawrence rust
On Fri, 2010-08-06 at 08:22 -0400, Andy Walls wrote: > On Fri, 2010-08-06 at 11:40 +0200, lawrence rust wrote: > > On Fri, 2010-08-06 at 11:49 +1200, Shane Harrison wrote: > > > > Well still no luck this end. Have done the following: > > > > 2) Applied the pat

Re: [PATCH/RFC] V4L2: add a generic function to find the nearest discrete format

2010-08-07 Thread lawrence rust
bove, this becomes: int (*filter)( void*, const struct v4l2_frmsize_discrete*); IMHO an int return is preferred since it is ANSI c89, whereas _Bool is c99 and bool is c++/gnuc. > > > +}; > > > + > > > +struct v4l2_frmsize_discrete *v4l2_find_nearest_format(struct > > > v4l2_discrete_probe *probe, + > > >s32 width, s32 height); > > > + > > > struct v4l2_frmsize_stepwise { > > > __u32 min_width; /* Minimum frame width [pixel] > > > */ > > > __u32 max_width; /* Maximum frame width [pixel] > > > */ > > > > -- > > Regards, > > > > Laurent Pinchart > > > > --- > Guennadi Liakhovetski, Ph.D. > Freelance Open-Source Software Developer > http://www.open-technology.de/ -- Lawrence Rust -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Fwd: No audio in HW Compressed MPEG2 container on HVR-1300

2010-08-06 Thread lawrence rust
always reset and re-load the firmware. If this helps then maybe add some delays around the reset for a long term fix. -- Lawrence Rust -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Fwd: No audio in HW Compressed MPEG2 container on HVR-1300

2010-08-03 Thread lawrence rust
ace since once I get audio > I continue to have it until a hard reboot. Switching glitches and > race conditions on the control interfaces being successful every so > often I could buy. > > Still to try the patch - will let you know. Unfortunately our > HVR-1300 is in the process o

Re: Fwd: No audio in HW Compressed MPEG2 container on HVR-1300

2010-08-02 Thread lawrence rust
line 148. The cx23416 can accept stereo Sony I2S format audio data when quoting from the Conexant datasheet "running its AILR sync signal through an inverting flip-flop, clocked by an inverted AICKIN". -- Lawrence Rust -- To unsubscribe from this list: send the line "unsubscribe l

Re: No audio in HW Compressed MPEG2 container on HVR-1300

2010-08-02 Thread lawrence rust
you should try applying this patch, I posted it to this group on Saturday - see. http://www.mail-archive.com/linux-media@vger.kernel.org/msg21030.html -- Lawrence Rust -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] Nova-S-Plus audio line input

2010-07-31 Thread lawrence rust
ch enables this chip and exports elements for ALSA mixer controls. I've used this patch with kernels from 2.6.24 to 2.6.35-rc6 and I'm just a little tired of tweaking it every time a new kernel comes out so I'm hoping that it can be permanently included. Signed-off by Lawrence Rus