From: Andy Walls <awalls@md.metrocast.net>
To: Jarod Wilson <jarod@wilsonet.com>
Cc: Devin Heitmueller <dheitmueller@kernellabs.com>,
Lawrence Rust <lawrence@softsystem.co.uk>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: HVR-1250/CX23885 IR Rx (Re: [PATCH] Fix cx88 remote control input)
Date: Sun, 10 Apr 2011 19:08:15 -0400 [thread overview]
Message-ID: <1302476895.2282.12.camel@localhost> (raw)
In-Reply-To: <099D978B-BC30-4527-870E-85ECEE74501D@wilsonet.com>
On Sat, 2011-04-09 at 21:39 -0400, Jarod Wilson wrote:
> > Jarod,
> >
> > The HVR-1850 uses a raw IR receiver in the CX23888 and older
> HVR-1250s use the raw IR receiver in the CX23885. They both work for
> Rx (I need to tweak the Cx23885 rx watermark though), but I never
> found time to finish Tx (lack of kernel interface when I had time).
> >
> > If you obtain one of these I can answer any driver questions.
>
> Quite some time back, I bought an HVR-1800 and an HVR-1250. I know one of
> them came with an mceusb transceiver and remote, as was pretty sure it was
> the 1800. For some reason, I didn't recall the 1250 coming with anything at
> all, but looking at dmesg output for it:
>
> cx23885 driver version 0.0.2 loaded
> cx23885 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> CORE cx23885[0]: subsystem: 0070:7911, board: Hauppauge WinTV-HVR1250 [card=3,autodetected]
> tveeprom 0-0050: Hauppauge model 79001, rev E3D9, serial# 4904656
> tveeprom 0-0050: MAC address is 00:0d:fe:4a:d6:d0
> tveeprom 0-0050: tuner model is Microtune MT2131 (idx 139, type 4)
> tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
> tveeprom 0-0050: audio processor is CX23885 (idx 39)
> tveeprom 0-0050: decoder processor is CX23885 (idx 33)
> tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter
>
> So it seems I do have hardware. However, its one of the two tuner cards in
> my "production" mythtv backend right now, making it a bit hard to do any
> experimenting with. If I can get it out of there, it looks like I just add
> an enable_885_ir=1, and I should be able to poke at it...
Yeah. Igor's TeVii S470 CX23885 based card had interrupt storms when
enabled, so IR for '885 chips is disabled by default. To investigate, I
tried to by an HVR-1250 with a CX23885, but instead got an HVR-1275 with
a CX23888. dandel, on IRC, did a pretty decent job in testing HVR-1250
operation and finding it works, despite climbing kernel
build/development learning curve at the time.
You may also want to set ir_debug=2 for the *cx25840* module, if you
want to see the raw pulse/space measurements in the logs. The cx25840
module handles the CX23885 IR controller.
When testing, you may want to add pci=nomsi to your kernel comandline.
Unless Igor has submitted his fix to reset some CX23885 hardware on
module unload or reload, CX23885 interrupts won't work right after
unloading and reloading the cx23885 module with MSI enabled. :(
In the cx25840 module you may also want to change the call in
drivers/media/video/cx25840/cx25840-ir.c:
control_rx_irq_watermark(c, RX_FIFO_HALF_FULL);
to
control_rx_irq_watermark(c, RX_FIFO_NOT_EMPTY);
That's a design bug on my part. The CX23885 IR controller is I2C
connected. Waiting unitl the RX FIFO is half full risks losing some
pulse measurements.
Regards,
Andy
next prev parent reply other threads:[~2011-04-10 23:07 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 12:50 [PATCH] Fix cx88 remote control input Lawrence Rust
2011-04-08 14:32 ` Jarod Wilson
2011-04-08 14:41 ` Jarod Wilson
2011-04-08 15:22 ` Lawrence Rust
2011-04-08 16:21 ` Jarod Wilson
2011-04-08 16:50 ` Lawrence Rust
2011-04-08 18:18 ` Jarod Wilson
2011-04-08 17:07 ` Devin Heitmueller
2011-04-08 18:00 ` Jarod Wilson
2011-04-08 18:38 ` Devin Heitmueller
2011-04-08 19:27 ` Jarod Wilson
2011-04-08 20:50 ` Andy Walls
2011-04-10 1:39 ` Jarod Wilson
2011-04-10 23:08 ` Andy Walls [this message]
2011-06-28 0:38 ` HVR-1250/CX23885 IR Rx Jarod Wilson
2011-06-28 10:30 ` Andy Walls
2011-06-28 21:39 ` Jarod Wilson
2011-06-28 22:32 ` Andy Walls
2011-06-29 2:17 ` Jarod Wilson
2011-06-29 3:54 ` Andy Walls
2011-05-02 18:50 ` [PATCH] Fix cx88 remote control input Mauro Carvalho Chehab
2011-05-03 7:25 ` Lawrence Rust
2011-05-03 17:19 ` Jarod Wilson
2011-05-04 20:16 ` Mauro Carvalho Chehab
2011-05-04 20:36 ` Greg KH
2011-05-05 2:25 ` Mauro Carvalho Chehab
2011-05-05 20:35 ` Greg KH
2011-05-05 21:08 ` Patch "[media] cx88: Fix HVR4000 IR keymap" has been added to the 2.6.38-stable tree gregkh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1302476895.2282.12.camel@localhost \
--to=awalls@md.metrocast.net \
--cc=dheitmueller@kernellabs.com \
--cc=jarod@wilsonet.com \
--cc=lawrence@softsystem.co.uk \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox