Re: Initial tuning data for ca-AB-Calgary
Updated initial tuning data for ca-AB-Calgary with more channels for the repository. #-- # file automatically generated by w_scan # (http://wirbel.htpc-forum.de/w_scan/index2.html) #! w_scan 20110502 1 0 ATSC CA /w_scan #-- # location and provider: Calgary AB, Canada OTA # date (-mm-dd): 2014-01-18 # provided by (opt): shadowofdarkn...@gmail.com # # A[2] freq mod [# comment] #- - A 51500 8VSB A 56300 8VSB A 58100 8VSB A 61700 8VSB A 63500 8VSB A 68300 8VSB On Sun, Jun 26, 2011 at 9:28 AM, Christoph Pfister christophpfis...@gmail.com wrote: 2011/6/18 Dark Shadow shadowofdarkn...@gmail.com: I made some initial tuning data for ca-AB-Calgary to be added to the repository. Added, thanks. Christoph #-- # file automatically generated by w_scan # (http://wirbel.htpc-forum.de/w_scan/index2.html) #! w_scan 20110502 1 0 ATSC CA /w_scan #-- # location and provider: Calgary AB, Canada OTA # date (-mm-dd): 2011-06-17 # provided by (opt): shadowofdarkn...@gmail.com # # A[2] freq mod [# comment] #-- A 51500 8VSB A 56300 8VSB A 63500 8VSB A 68300 8VSB -- 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
Can't get cx23885 IR to work after kernel update.
I have a Hauppauge HVR-1270 tuner card that comes with a IR remote that seems to have problems with newer kernels. Under my previous 3.2.0 kernel everything works perfect if I boot the same system with kernel 3.10.10 the remote doesn't completely work. It can't be a configuration problem since I am just swapping kernels. Under 3.2 XBMC gets all the key presses and works like a dream. Under 3.10 the only response to key presses comes from mode2 which receives them fine but nothing else. no irw or XBMC response I have tried other kernels in the past that had the problem so I don't know exactly when it started. In the past I got tired of Googling and just left my system working but I would like toget it working more now for other hardware support in the kernel. After Google searches I have tried making sure nothing like evdev is trying for conflicting access but that didn't work and like I say it has to be in the kernel itself since that is the only thing changed and I can use the remote again by just choosing the old kernel from Grub during boot. I can't find anything in the logs that shows any errors. -- 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: [PATCH] Revert V4L/DVB: cx23885: Enable Message Signaled Interrupts(MSI)
On Wed, Jun 29, 2011 at 3:49 PM, Jarod Wilson ja...@redhat.com wrote: This reverts commit e38030f3ff02684eb9e25e983a03ad318a10a2ea. MSI flat-out doesn't work right on cx2388x devices yet. There are now multiple reports of cards that hard-lock systems when MSI is enabled, including my own HVR-1250 when trying to use its built-in IR receiver. Disable MSI and it works just fine. Similar for another user's HVR-1270. Issues have also been reported with the HVR-1850 when MSI is enabled, and the 1850 behavior sounds similar to an as-yet-undiagnosed issue I've seen with an 1800. References: http://www.spinics.net/lists/linux-media/msg25956.html http://www.spinics.net/lists/linux-media/msg33676.html http://www.spinics.net/lists/linux-media/msg34734.html CC: Andy Walls awa...@md.metrocast.net CC: Kusanagi Kouichi sl...@ac.auone-net.jp Signed-off-by: Jarod Wilson ja...@redhat.com --- drivers/media/video/cx23885/cx23885-core.c | 9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index 64d9b21..419777a 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c @@ -2060,12 +2060,8 @@ static int __devinit cx23885_initdev(struct pci_dev *pci_dev, goto fail_irq; } - if (!pci_enable_msi(pci_dev)) - err = request_irq(pci_dev-irq, cx23885_irq, - IRQF_DISABLED, dev-name, dev); - else - err = request_irq(pci_dev-irq, cx23885_irq, - IRQF_SHARED | IRQF_DISABLED, dev-name, dev); + err = request_irq(pci_dev-irq, cx23885_irq, + IRQF_SHARED | IRQF_DISABLED, dev-name, dev); if (err 0) { printk(KERN_ERR %s: can't get IRQ %d\n, dev-name, pci_dev-irq); @@ -2114,7 +2110,6 @@ static void __devexit cx23885_finidev(struct pci_dev *pci_dev) /* unregister stuff */ free_irq(pci_dev-irq, dev); - pci_disable_msi(pci_dev); cx23885_dev_unregister(dev); v4l2_device_unregister(v4l2_dev); -- 1.7.1 -- 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 Tested and it fixed my HVR-1270 IR. I also tested a couple minutes of live TV and it still works. -- 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
Initial tuning data for ca-AB-Calgary
I made some initial tuning data for ca-AB-Calgary to be added to the repository. #-- # file automatically generated by w_scan # (http://wirbel.htpc-forum.de/w_scan/index2.html) #! w_scan 20110502 1 0 ATSC CA /w_scan #-- # location and provider: Calgary AB, Canada OTA # date (-mm-dd): 2011-06-17 # provided by (opt): shadowofdarkn...@gmail.com # # A[2] freq mod [# comment] #-- A 51500 8VSB A 56300 8VSB A 63500 8VSB A 68300 8VSB -- 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: How do I change a IR remotes keymap?
On Wed, Jun 8, 2011 at 10:23 PM, Dark Shadow shadowofdarkn...@gmail.com wrote: I just got a Grey IR Hauppauge Remote working and I am now trying to setup the keymap for my XBMC HTPC but it seems some buttons don't even show up to XBMC's debugging mode. How do I modify the keymap loaded by the cx23885 module, I don't even know where it is. My most pressing concern is that the OK button on the remote can't be used with XBMC so I can't start anything. When I put the cx23885 module in debugging mode and XBMC in debugging mode. Then have to ssh terminals into it, one running tail -f /var/log/syslog and one doing the XBMC log. Then press most buttons entries show up in both logs but when I try a button like OK it is only the module debugging that shows the rx data but XBMC never sees anything that I can map to a function. Here is one press of the OK button how would I use this info in the modules keymap to make it work as a keyboards enter key Jun 8 21:52:25 htpc kernel: [ 248.019314] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.019318] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.022854] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.022859] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.026418] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.026423] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.032541] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.032546] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.038770] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.038774] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.050099] cx23885[0]/888-ir: IRQ Status: tsr rto Jun 8 21:52:25 htpc kernel: [ 248.050104] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.050127] cx23885[0]/888-ir: rx read: 851815 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050131] cx23885[0]/888-ir: rx read: 800407 ns space Jun 8 21:52:25 htpc kernel: [ 248.050134] cx23885[0]/888-ir: rx read: 826926 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050137] cx23885[0]/888-ir: rx read: 812407 ns space Jun 8 21:52:25 htpc kernel: [ 248.050140] cx23885[0]/888-ir: rx read: 827667 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050143] cx23885[0]/888-ir: rx read: 811815 ns space Jun 8 21:52:25 htpc kernel: [ 248.050146] cx23885[0]/888-ir: rx read: 826926 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050149] cx23885[0]/888-ir: rx read: 812704 ns space Jun 8 21:52:25 htpc kernel: [ 248.050153] cx23885[0]/888-ir: rx read: 850481 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050156] cx23885[0]/888-ir: rx read: 788852 ns space Jun 8 21:52:25 htpc kernel: [ 248.050159] cx23885[0]/888-ir: rx read: 826926 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050162] cx23885[0]/888-ir: rx read: 812704 ns space Jun 8 21:52:25 htpc kernel: [ 248.050165] cx23885[0]/888-ir: rx read: 1627519 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050168] cx23885[0]/888-ir: rx read: 1651222 ns space Jun 8 21:52:25 htpc kernel: [ 248.050171] cx23885[0]/888-ir: rx read: 1627519 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050177] cx23885[0]/888-ir: rx read: 786630 ns space Jun 8 21:52:25 htpc kernel: [ 248.050179] cx23885[0]/888-ir: rx read: 853444 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050181] cx23885[0]/888-ir: rx read: 1650926 ns space Jun 8 21:52:25 htpc kernel: [ 248.050183] cx23885[0]/888-ir: rx read: 1627074 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050185] cx23885[0]/888-ir: rx read: 1651667 ns space Jun 8 21:52:25 htpc kernel: [ 248.050187] cx23885[0]/888-ir: rx read: 801148 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050189] cx23885[0]/888-ir: rx read: end of rx Jun 8 21:52:25 htpc kernel: [ 248.050191] cx23885[0]/888-ir: rx read: 9709000 ns space Jun 8 21:52:25 htpc kernel: [ 248.132956] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.132961] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.136485] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.136491] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.139986] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.139992] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.146119] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun
Re: Getting IR to work on a hvr-1250 tuner.
On Wed, Jun 8, 2011 at 4:19 AM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: I have a capture card that was sold as a Hauppauge HVR-1250 (according to the box) that I am trying to use but I am having trouble getting all it's features at once. When I leave it auto detected by the module I have working TV in MythTV even though it thinks it is a 1270 but IR isn't setup. dmesg outputs #modprobe cx23885 enable_885_ir=1 [ 7.592714] cx23885 driver version 0.0.2 loaded [ 7.592748] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [ 7.592926] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1270 [card=18,autodetected] [ 7.728163] IR JVC protocol handler initialized [ 7.738971] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [ 7.738974] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [ 7.738975] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [ 7.738977] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [ 7.738979] tveeprom 0-0050: audio processor is CX23888 (idx 40) [ 7.738980] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [ 7.738982] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [ 7.738983] cx23885[0]: hauppauge eeprom: model=22111 [ 7.738985] cx23885_dvb_register() allocating 1 frontend(s) [ 7.738991] cx23885[0]: cx23885 based dvb card [ 7.961122] IR Sony protocol handler initialized [ 7.977301] tda18271 1-0060: creating new instance [ 7.979325] TDA18271HD/C2 detected @ 1-0060 [ 8.209663] DVB: registering new adapter (cx23885[0]) [ 8.209668] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3305 VSB/QAM Frontend)... [ 8.210095] cx23885_dev_checkrevision() Hardware revision = 0xd0 [ 8.210101] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [ 8.210109] cx23885 :07:00.0: setting latency timer to 64 [ 8.210186] cx23885 :07:00.0: irq 49 for MSI/MSI-X When I force it to be a 1250 no video works but IR seems to show up (with the exception that it never seems to receive signals from the remote) #modprobe cx23885 enable_885_ir=1 card=3 [38647.660740] cx23885 driver version 0.0.2 loaded [38647.660779] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [38647.661009] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1250 [card=3,insmod option] [38647.787427] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [38647.787431] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [38647.787434] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [38647.787437] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [38647.787439] tveeprom 0-0050: audio processor is CX23888 (idx 40) [38647.787442] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [38647.787444] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [38647.787447] cx23885[0]: hauppauge eeprom: model=22111 [38647.824508] cx25840 2-0044: cx23888 A/V decoder found @ 0x88 (cx23885[0]) [38648.457502] cx25840 2-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) [38648.465061] cx23885_dvb_register() allocating 1 frontend(s) [38648.465064] cx23885[0]: cx23885 based dvb card [38648.492632] cx23885[0]: frontend initialization failed [38648.492637] cx23885_dvb_register() dvb_register failed err = -22 [38648.492640] cx23885_dev_setup() Failed to register dvb on VID_C [38648.492644] cx23885_dev_checkrevision() Hardware revision = 0xd0 [38648.492650] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [38648.492660] cx23885 :07:00.0: setting latency timer to 64 [38648.492740] cx23885 :07:00.0: irq 48 for MSI/MSI-X [38648.539598] Registered IR keymap rc-hauppauge [38648.539775] input: cx23885 IR (Hauppauge WinTV-HVR1250) as /devices/pci:00/:00:1c.1/:07:00.0/rc/rc0/input4 [38648.539852] rc0: cx23885 IR (Hauppauge WinTV-HVR1250) as /devices/pci:00/:00:1c.1/:07:00.0/rc/rc0 [38648.539926] rc rc0: lirc_dev: driver ir-lirc-codec (cx23885) registered at minor = 0 My setup commands for it's settings when using card=3 (I have read this is needed for this remote although according to the Internet my grey remote is supposed to need a hauppauge=1 parameter but it doesn't exist (modinfo) in my version of the module from kernel 3.0-rc1 #modprobe ir-kbd-i2c #ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 136 keycode(s) to driver Protocols changed to RC-5 #lsinput /dev/input/event4 bustype : BUS_PCI vendor : 0x70 product : 0x2211 version : 1 name : cx23885 IR (Hauppauge WinTV-HVR1 phys : pci-:07:00.0/ir0 bits ev : EV_SYN EV_KEY EV_MSC EV_REP #lspci -v (plus a little -n) 07:00.0 0400: 14f1:8880 (rev 04) Subsystem: 0070:2211 07:00.0 Multimedia video controller: Conexant Systems, Inc. Hauppauge Inc. HDPVR
Re: [PATCH] cx23885: Add IR Rx support for HVR-1270 boards
On Wed, Jun 8, 2011 at 6:24 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2011-06-08 at 13:18 -0600, Dark Shadow wrote: On Wed, Jun 8, 2011 at 4:19 AM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: I have a capture card that was sold as a Hauppauge HVR-1250 (according to the box) that I am trying to use but I am having trouble getting all it's features at once. When I leave it auto detected by the module I have working TV in MythTV even though it thinks it is a 1270 but IR isn't setup. dmesg outputs #modprobe cx23885 enable_885_ir=1 [ 7.592714] cx23885 driver version 0.0.2 loaded [ 7.592748] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [ 7.592926] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1270 [card=18,autodetected] [ 7.728163] IR JVC protocol handler initialized [ 7.738971] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [ 7.738974] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [ 7.738975] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [ 7.738977] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [ 7.738979] tveeprom 0-0050: audio processor is CX23888 (idx 40) [ 7.738980] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [ 7.738982] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [ 7.738983] cx23885[0]: hauppauge eeprom: model=22111 [ 7.738985] cx23885_dvb_register() allocating 1 frontend(s) [ 7.738991] cx23885[0]: cx23885 based dvb card [ 7.961122] IR Sony protocol handler initialized [ 7.977301] tda18271 1-0060: creating new instance [ 7.979325] TDA18271HD/C2 detected @ 1-0060 [ 8.209663] DVB: registering new adapter (cx23885[0]) [ 8.209668] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3305 VSB/QAM Frontend)... [ 8.210095] cx23885_dev_checkrevision() Hardware revision = 0xd0 [ 8.210101] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [ 8.210109] cx23885 :07:00.0: setting latency timer to 64 [ 8.210186] cx23885 :07:00.0: irq 49 for MSI/MSI-X #ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 136 keycode(s) to driver Protocols changed to RC-5 I have heard this should show up as a normal keyboard to the system but no button presses cause anything to happen to the system and trying lirc with devinput (with devinput lircd.conf) and then opening irw doesn't show any button presses either Don't force your card to a 1250, if the driver detects it is a 1270 with a CX23888 chip. No need to use the enable_885_ir parameter with a CX23888 chip, either. It only applies for two board models with actual CX23885 chips. Use of IR with the CX23888 chip should be realtively trouble free, *if* the 1270's IR has been enabled in the driver code. It likely has not been. I don't have the source code in front of me at the moment to check. It shouldn't be hard for anyone to patch a few files in the cx23885 driver to add it. Patches are welcome... Under auto detect without the enable_885_ir there is no difference so I can only hope someone will add support for it. I wasn't kidding when I said the patch is sholdn't be hard for anyone. It is really, really simple cut-and-paste job. In fact here is an *untested* patch. Regards, Andy cx23885: Add IR Rx support for HVR-1270 boards Signed-off-by: Andy Walls awa...@md.metrocast.net diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index ea88722..5635588 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c @@ -1097,12 +1097,19 @@ int cx23885_ir_init(struct cx23885_dev *dev) case CX23885_BOARD_HAUPPAUGE_HVR1800: case CX23885_BOARD_HAUPPAUGE_HVR1200: case CX23885_BOARD_HAUPPAUGE_HVR1400: - case CX23885_BOARD_HAUPPAUGE_HVR1270: case CX23885_BOARD_HAUPPAUGE_HVR1275: case CX23885_BOARD_HAUPPAUGE_HVR1255: case CX23885_BOARD_HAUPPAUGE_HVR1210: /* FIXME: Implement me */ break; + case CX23885_BOARD_HAUPPAUGE_HVR1270: + ret = cx23888_ir_probe(dev); + if (ret) + break; + dev-sd_ir = cx23885_find_hw(dev, CX23885_HW_888_IR); + v4l2_subdev_call(dev-sd_cx25840, core, s_io_pin_config, + ir_rx_pin_cfg_count, ir_rx_pin_cfg); + break; case CX23885_BOARD_HAUPPAUGE_HVR1850: case CX23885_BOARD_HAUPPAUGE_HVR1290: ret = cx23888_ir_probe(dev); @@ -1156,6 +1163,7 @@ int cx23885_ir_init(struct cx23885_dev *dev) void cx23885_ir_fini(struct cx23885_dev *dev) { switch (dev-board) { + case CX23885_BOARD_HAUPPAUGE_HVR1270: case
Re: [PATCH] cx23885: Add IR Rx support for HVR-1270 boards
On Wed, Jun 8, 2011 at 7:34 PM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 6:24 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2011-06-08 at 13:18 -0600, Dark Shadow wrote: On Wed, Jun 8, 2011 at 4:19 AM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: I have a capture card that was sold as a Hauppauge HVR-1250 (according to the box) that I am trying to use but I am having trouble getting all it's features at once. When I leave it auto detected by the module I have working TV in MythTV even though it thinks it is a 1270 but IR isn't setup. dmesg outputs #modprobe cx23885 enable_885_ir=1 [ 7.592714] cx23885 driver version 0.0.2 loaded [ 7.592748] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [ 7.592926] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1270 [card=18,autodetected] [ 7.728163] IR JVC protocol handler initialized [ 7.738971] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [ 7.738974] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [ 7.738975] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [ 7.738977] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [ 7.738979] tveeprom 0-0050: audio processor is CX23888 (idx 40) [ 7.738980] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [ 7.738982] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [ 7.738983] cx23885[0]: hauppauge eeprom: model=22111 [ 7.738985] cx23885_dvb_register() allocating 1 frontend(s) [ 7.738991] cx23885[0]: cx23885 based dvb card [ 7.961122] IR Sony protocol handler initialized [ 7.977301] tda18271 1-0060: creating new instance [ 7.979325] TDA18271HD/C2 detected @ 1-0060 [ 8.209663] DVB: registering new adapter (cx23885[0]) [ 8.209668] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3305 VSB/QAM Frontend)... [ 8.210095] cx23885_dev_checkrevision() Hardware revision = 0xd0 [ 8.210101] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [ 8.210109] cx23885 :07:00.0: setting latency timer to 64 [ 8.210186] cx23885 :07:00.0: irq 49 for MSI/MSI-X #ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 136 keycode(s) to driver Protocols changed to RC-5 I have heard this should show up as a normal keyboard to the system but no button presses cause anything to happen to the system and trying lirc with devinput (with devinput lircd.conf) and then opening irw doesn't show any button presses either Don't force your card to a 1250, if the driver detects it is a 1270 with a CX23888 chip. No need to use the enable_885_ir parameter with a CX23888 chip, either. It only applies for two board models with actual CX23885 chips. Use of IR with the CX23888 chip should be realtively trouble free, *if* the 1270's IR has been enabled in the driver code. It likely has not been. I don't have the source code in front of me at the moment to check. It shouldn't be hard for anyone to patch a few files in the cx23885 driver to add it. Patches are welcome... Under auto detect without the enable_885_ir there is no difference so I can only hope someone will add support for it. I wasn't kidding when I said the patch is sholdn't be hard for anyone. It is really, really simple cut-and-paste job. In fact here is an *untested* patch. Regards, Andy cx23885: Add IR Rx support for HVR-1270 boards Signed-off-by: Andy Walls awa...@md.metrocast.net diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index ea88722..5635588 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c @@ -1097,12 +1097,19 @@ int cx23885_ir_init(struct cx23885_dev *dev) case CX23885_BOARD_HAUPPAUGE_HVR1800: case CX23885_BOARD_HAUPPAUGE_HVR1200: case CX23885_BOARD_HAUPPAUGE_HVR1400: - case CX23885_BOARD_HAUPPAUGE_HVR1270: case CX23885_BOARD_HAUPPAUGE_HVR1275: case CX23885_BOARD_HAUPPAUGE_HVR1255: case CX23885_BOARD_HAUPPAUGE_HVR1210: /* FIXME: Implement me */ break; + case CX23885_BOARD_HAUPPAUGE_HVR1270: + ret = cx23888_ir_probe(dev); + if (ret) + break; + dev-sd_ir = cx23885_find_hw(dev, CX23885_HW_888_IR); + v4l2_subdev_call(dev-sd_cx25840, core, s_io_pin_config, + ir_rx_pin_cfg_count, ir_rx_pin_cfg); + break; case CX23885_BOARD_HAUPPAUGE_HVR1850: case CX23885_BOARD_HAUPPAUGE_HVR1290: ret = cx23888_ir_probe(dev); @@ -1156,6 +1163,7 @@ int cx23885_ir_init(struct cx23885_dev *dev) void
Re: [PATCH] cx23885: Add IR Rx support for HVR-1270 boards
On Wed, Jun 8, 2011 at 8:31 PM, Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 7:34 PM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 6:24 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2011-06-08 at 13:18 -0600, Dark Shadow wrote: On Wed, Jun 8, 2011 at 4:19 AM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: I have a capture card that was sold as a Hauppauge HVR-1250 (according to the box) that I am trying to use but I am having trouble getting all it's features at once. When I leave it auto detected by the module I have working TV in MythTV even though it thinks it is a 1270 but IR isn't setup. dmesg outputs #modprobe cx23885 enable_885_ir=1 [ 7.592714] cx23885 driver version 0.0.2 loaded [ 7.592748] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [ 7.592926] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1270 [card=18,autodetected] [ 7.728163] IR JVC protocol handler initialized [ 7.738971] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [ 7.738974] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [ 7.738975] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [ 7.738977] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [ 7.738979] tveeprom 0-0050: audio processor is CX23888 (idx 40) [ 7.738980] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [ 7.738982] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [ 7.738983] cx23885[0]: hauppauge eeprom: model=22111 [ 7.738985] cx23885_dvb_register() allocating 1 frontend(s) [ 7.738991] cx23885[0]: cx23885 based dvb card [ 7.961122] IR Sony protocol handler initialized [ 7.977301] tda18271 1-0060: creating new instance [ 7.979325] TDA18271HD/C2 detected @ 1-0060 [ 8.209663] DVB: registering new adapter (cx23885[0]) [ 8.209668] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3305 VSB/QAM Frontend)... [ 8.210095] cx23885_dev_checkrevision() Hardware revision = 0xd0 [ 8.210101] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [ 8.210109] cx23885 :07:00.0: setting latency timer to 64 [ 8.210186] cx23885 :07:00.0: irq 49 for MSI/MSI-X #ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 136 keycode(s) to driver Protocols changed to RC-5 I have heard this should show up as a normal keyboard to the system but no button presses cause anything to happen to the system and trying lirc with devinput (with devinput lircd.conf) and then opening irw doesn't show any button presses either Don't force your card to a 1250, if the driver detects it is a 1270 with a CX23888 chip. No need to use the enable_885_ir parameter with a CX23888 chip, either. It only applies for two board models with actual CX23885 chips. Use of IR with the CX23888 chip should be realtively trouble free, *if* the 1270's IR has been enabled in the driver code. It likely has not been. I don't have the source code in front of me at the moment to check. It shouldn't be hard for anyone to patch a few files in the cx23885 driver to add it. Patches are welcome... Under auto detect without the enable_885_ir there is no difference so I can only hope someone will add support for it. I wasn't kidding when I said the patch is sholdn't be hard for anyone. It is really, really simple cut-and-paste job. In fact here is an *untested* patch. Regards, Andy cx23885: Add IR Rx support for HVR-1270 boards Signed-off-by: Andy Walls awa...@md.metrocast.net diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index ea88722..5635588 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c @@ -1097,12 +1097,19 @@ int cx23885_ir_init(struct cx23885_dev *dev) case CX23885_BOARD_HAUPPAUGE_HVR1800: case CX23885_BOARD_HAUPPAUGE_HVR1200: case CX23885_BOARD_HAUPPAUGE_HVR1400: - case CX23885_BOARD_HAUPPAUGE_HVR1270: case CX23885_BOARD_HAUPPAUGE_HVR1275: case CX23885_BOARD_HAUPPAUGE_HVR1255: case CX23885_BOARD_HAUPPAUGE_HVR1210: /* FIXME: Implement me */ break; + case CX23885_BOARD_HAUPPAUGE_HVR1270: + ret = cx23888_ir_probe(dev); + if (ret) + break; + dev-sd_ir = cx23885_find_hw(dev, CX23885_HW_888_IR); + v4l2_subdev_call(dev-sd_cx25840, core, s_io_pin_config, + ir_rx_pin_cfg_count, ir_rx_pin_cfg); + break; case CX23885_BOARD_HAUPPAUGE_HVR1850: case CX23885_BOARD_HAUPPAUGE_HVR1290: ret = cx23888_ir_probe(dev
Re: [PATCH] cx23885: Add IR Rx support for HVR-1270 boards
On Wed, Jun 8, 2011 at 9:17 PM, Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 8:31 PM, Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 7:34 PM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 6:24 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2011-06-08 at 13:18 -0600, Dark Shadow wrote: On Wed, Jun 8, 2011 at 4:19 AM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: I have a capture card that was sold as a Hauppauge HVR-1250 (according to the box) that I am trying to use but I am having trouble getting all it's features at once. When I leave it auto detected by the module I have working TV in MythTV even though it thinks it is a 1270 but IR isn't setup. dmesg outputs #modprobe cx23885 enable_885_ir=1 [ 7.592714] cx23885 driver version 0.0.2 loaded [ 7.592748] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [ 7.592926] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1270 [card=18,autodetected] [ 7.728163] IR JVC protocol handler initialized [ 7.738971] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [ 7.738974] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [ 7.738975] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [ 7.738977] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [ 7.738979] tveeprom 0-0050: audio processor is CX23888 (idx 40) [ 7.738980] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [ 7.738982] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [ 7.738983] cx23885[0]: hauppauge eeprom: model=22111 [ 7.738985] cx23885_dvb_register() allocating 1 frontend(s) [ 7.738991] cx23885[0]: cx23885 based dvb card [ 7.961122] IR Sony protocol handler initialized [ 7.977301] tda18271 1-0060: creating new instance [ 7.979325] TDA18271HD/C2 detected @ 1-0060 [ 8.209663] DVB: registering new adapter (cx23885[0]) [ 8.209668] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3305 VSB/QAM Frontend)... [ 8.210095] cx23885_dev_checkrevision() Hardware revision = 0xd0 [ 8.210101] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [ 8.210109] cx23885 :07:00.0: setting latency timer to 64 [ 8.210186] cx23885 :07:00.0: irq 49 for MSI/MSI-X #ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 136 keycode(s) to driver Protocols changed to RC-5 I have heard this should show up as a normal keyboard to the system but no button presses cause anything to happen to the system and trying lirc with devinput (with devinput lircd.conf) and then opening irw doesn't show any button presses either Don't force your card to a 1250, if the driver detects it is a 1270 with a CX23888 chip. No need to use the enable_885_ir parameter with a CX23888 chip, either. It only applies for two board models with actual CX23885 chips. Use of IR with the CX23888 chip should be realtively trouble free, *if* the 1270's IR has been enabled in the driver code. It likely has not been. I don't have the source code in front of me at the moment to check. It shouldn't be hard for anyone to patch a few files in the cx23885 driver to add it. Patches are welcome... Under auto detect without the enable_885_ir there is no difference so I can only hope someone will add support for it. I wasn't kidding when I said the patch is sholdn't be hard for anyone. It is really, really simple cut-and-paste job. In fact here is an *untested* patch. Regards, Andy cx23885: Add IR Rx support for HVR-1270 boards Signed-off-by: Andy Walls awa...@md.metrocast.net diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index ea88722..5635588 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c @@ -1097,12 +1097,19 @@ int cx23885_ir_init(struct cx23885_dev *dev) case CX23885_BOARD_HAUPPAUGE_HVR1800: case CX23885_BOARD_HAUPPAUGE_HVR1200: case CX23885_BOARD_HAUPPAUGE_HVR1400: - case CX23885_BOARD_HAUPPAUGE_HVR1270: case CX23885_BOARD_HAUPPAUGE_HVR1275: case CX23885_BOARD_HAUPPAUGE_HVR1255: case CX23885_BOARD_HAUPPAUGE_HVR1210: /* FIXME: Implement me */ break; + case CX23885_BOARD_HAUPPAUGE_HVR1270: + ret = cx23888_ir_probe(dev); + if (ret) + break; + dev-sd_ir = cx23885_find_hw(dev, CX23885_HW_888_IR); + v4l2_subdev_call(dev-sd_cx25840, core, s_io_pin_config, + ir_rx_pin_cfg_count, ir_rx_pin_cfg); + break; case CX23885_BOARD_HAUPPAUGE_HVR1850: case
Re: [PATCH] cx23885: Add IR Rx support for HVR-1270 boards
On Wed, Jun 8, 2011 at 9:27 PM, Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 9:17 PM, Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 8:31 PM, Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 7:34 PM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: On Wed, Jun 8, 2011 at 6:24 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2011-06-08 at 13:18 -0600, Dark Shadow wrote: On Wed, Jun 8, 2011 at 4:19 AM, Andy Walls awa...@md.metrocast.net wrote: Dark Shadow shadowofdarkn...@gmail.com wrote: I have a capture card that was sold as a Hauppauge HVR-1250 (according to the box) that I am trying to use but I am having trouble getting all it's features at once. When I leave it auto detected by the module I have working TV in MythTV even though it thinks it is a 1270 but IR isn't setup. dmesg outputs #modprobe cx23885 enable_885_ir=1 [ 7.592714] cx23885 driver version 0.0.2 loaded [ 7.592748] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [ 7.592926] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1270 [card=18,autodetected] [ 7.728163] IR JVC protocol handler initialized [ 7.738971] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [ 7.738974] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [ 7.738975] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [ 7.738977] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [ 7.738979] tveeprom 0-0050: audio processor is CX23888 (idx 40) [ 7.738980] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [ 7.738982] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [ 7.738983] cx23885[0]: hauppauge eeprom: model=22111 [ 7.738985] cx23885_dvb_register() allocating 1 frontend(s) [ 7.738991] cx23885[0]: cx23885 based dvb card [ 7.961122] IR Sony protocol handler initialized [ 7.977301] tda18271 1-0060: creating new instance [ 7.979325] TDA18271HD/C2 detected @ 1-0060 [ 8.209663] DVB: registering new adapter (cx23885[0]) [ 8.209668] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3305 VSB/QAM Frontend)... [ 8.210095] cx23885_dev_checkrevision() Hardware revision = 0xd0 [ 8.210101] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [ 8.210109] cx23885 :07:00.0: setting latency timer to 64 [ 8.210186] cx23885 :07:00.0: irq 49 for MSI/MSI-X #ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 136 keycode(s) to driver Protocols changed to RC-5 I have heard this should show up as a normal keyboard to the system but no button presses cause anything to happen to the system and trying lirc with devinput (with devinput lircd.conf) and then opening irw doesn't show any button presses either Don't force your card to a 1250, if the driver detects it is a 1270 with a CX23888 chip. No need to use the enable_885_ir parameter with a CX23888 chip, either. It only applies for two board models with actual CX23885 chips. Use of IR with the CX23888 chip should be realtively trouble free, *if* the 1270's IR has been enabled in the driver code. It likely has not been. I don't have the source code in front of me at the moment to check. It shouldn't be hard for anyone to patch a few files in the cx23885 driver to add it. Patches are welcome... Under auto detect without the enable_885_ir there is no difference so I can only hope someone will add support for it. I wasn't kidding when I said the patch is sholdn't be hard for anyone. It is really, really simple cut-and-paste job. In fact here is an *untested* patch. Regards, Andy cx23885: Add IR Rx support for HVR-1270 boards Signed-off-by: Andy Walls awa...@md.metrocast.net diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index ea88722..5635588 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c @@ -1097,12 +1097,19 @@ int cx23885_ir_init(struct cx23885_dev *dev) case CX23885_BOARD_HAUPPAUGE_HVR1800: case CX23885_BOARD_HAUPPAUGE_HVR1200: case CX23885_BOARD_HAUPPAUGE_HVR1400: - case CX23885_BOARD_HAUPPAUGE_HVR1270: case CX23885_BOARD_HAUPPAUGE_HVR1275: case CX23885_BOARD_HAUPPAUGE_HVR1255: case CX23885_BOARD_HAUPPAUGE_HVR1210: /* FIXME: Implement me */ break; + case CX23885_BOARD_HAUPPAUGE_HVR1270: + ret = cx23888_ir_probe(dev); + if (ret) + break; + dev-sd_ir = cx23885_find_hw(dev, CX23885_HW_888_IR); + v4l2_subdev_call(dev-sd_cx25840, core, s_io_pin_config, + ir_rx_pin_cfg_count, ir_rx_pin_cfg
How do I change a IR remotes keymap?
I just got a Grey IR Hauppauge Remote working and I am now trying to setup the keymap for my XBMC HTPC but it seems some buttons don't even show up to XBMC's debugging mode. How do I modify the keymap loaded by the cx23885 module, I don't even know where it is. My most pressing concern is that the OK button on the remote can't be used with XBMC so I can't start anything. When I put the cx23885 module in debugging mode and XBMC in debugging mode. Then have to ssh terminals into it, one running tail -f /var/log/syslog and one doing the XBMC log. Then press most buttons entries show up in both logs but when I try a button like OK it is only the module debugging that shows the rx data but XBMC never sees anything that I can map to a function. Here is one press of the OK button how would I use this info in the modules keymap to make it work as a keyboards enter key Jun 8 21:52:25 htpc kernel: [ 248.019314] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.019318] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.022854] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.022859] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.026418] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.026423] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.032541] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.032546] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.038770] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.038774] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.050099] cx23885[0]/888-ir: IRQ Status: tsr rto Jun 8 21:52:25 htpc kernel: [ 248.050104] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.050127] cx23885[0]/888-ir: rx read: 851815 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050131] cx23885[0]/888-ir: rx read: 800407 ns space Jun 8 21:52:25 htpc kernel: [ 248.050134] cx23885[0]/888-ir: rx read: 826926 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050137] cx23885[0]/888-ir: rx read: 812407 ns space Jun 8 21:52:25 htpc kernel: [ 248.050140] cx23885[0]/888-ir: rx read: 827667 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050143] cx23885[0]/888-ir: rx read: 811815 ns space Jun 8 21:52:25 htpc kernel: [ 248.050146] cx23885[0]/888-ir: rx read: 826926 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050149] cx23885[0]/888-ir: rx read: 812704 ns space Jun 8 21:52:25 htpc kernel: [ 248.050153] cx23885[0]/888-ir: rx read: 850481 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050156] cx23885[0]/888-ir: rx read: 788852 ns space Jun 8 21:52:25 htpc kernel: [ 248.050159] cx23885[0]/888-ir: rx read: 826926 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050162] cx23885[0]/888-ir: rx read: 812704 ns space Jun 8 21:52:25 htpc kernel: [ 248.050165] cx23885[0]/888-ir: rx read:1627519 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050168] cx23885[0]/888-ir: rx read:1651222 ns space Jun 8 21:52:25 htpc kernel: [ 248.050171] cx23885[0]/888-ir: rx read:1627519 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050177] cx23885[0]/888-ir: rx read: 786630 ns space Jun 8 21:52:25 htpc kernel: [ 248.050179] cx23885[0]/888-ir: rx read: 853444 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050181] cx23885[0]/888-ir: rx read:1650926 ns space Jun 8 21:52:25 htpc kernel: [ 248.050183] cx23885[0]/888-ir: rx read:1627074 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050185] cx23885[0]/888-ir: rx read:1651667 ns space Jun 8 21:52:25 htpc kernel: [ 248.050187] cx23885[0]/888-ir: rx read: 801148 ns mark Jun 8 21:52:25 htpc kernel: [ 248.050189] cx23885[0]/888-ir: rx read: end of rx Jun 8 21:52:25 htpc kernel: [ 248.050191] cx23885[0]/888-ir: rx read:9709000 ns space Jun 8 21:52:25 htpc kernel: [ 248.132956] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.132961] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.136485] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.136491] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.139986] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.139992] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.146119] cx23885[0]/888-ir: IRQ Status: tsr rsr rby Jun 8 21:52:25 htpc kernel: [ 248.146124] cx23885[0]/888-ir: IRQ Enables: rse rte roe Jun 8 21:52:25 htpc kernel: [ 248.152377] cx23885[0]/888-ir: IRQ Status: tsr rsr
Getting IR to work on a hvr-1250 tuner.
I have a capture card that was sold as a Hauppauge HVR-1250 (according to the box) that I am trying to use but I am having trouble getting all it's features at once. When I leave it auto detected by the module I have working TV in MythTV even though it thinks it is a 1270 but IR isn't setup. dmesg outputs #modprobe cx23885 enable_885_ir=1 [7.592714] cx23885 driver version 0.0.2 loaded [7.592748] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [7.592926] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1270 [card=18,autodetected] [7.728163] IR JVC protocol handler initialized [7.738971] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [7.738974] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [7.738975] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [7.738977] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [7.738979] tveeprom 0-0050: audio processor is CX23888 (idx 40) [7.738980] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [7.738982] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [7.738983] cx23885[0]: hauppauge eeprom: model=22111 [7.738985] cx23885_dvb_register() allocating 1 frontend(s) [7.738991] cx23885[0]: cx23885 based dvb card [7.961122] IR Sony protocol handler initialized [7.977301] tda18271 1-0060: creating new instance [7.979325] TDA18271HD/C2 detected @ 1-0060 [8.209663] DVB: registering new adapter (cx23885[0]) [8.209668] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3305 VSB/QAM Frontend)... [8.210095] cx23885_dev_checkrevision() Hardware revision = 0xd0 [8.210101] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [8.210109] cx23885 :07:00.0: setting latency timer to 64 [8.210186] cx23885 :07:00.0: irq 49 for MSI/MSI-X When I force it to be a 1250 no video works but IR seems to show up (with the exception that it never seems to receive signals from the remote) #modprobe cx23885 enable_885_ir=1 card=3 [38647.660740] cx23885 driver version 0.0.2 loaded [38647.660779] cx23885 :07:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [38647.661009] CORE cx23885[0]: subsystem: 0070:2211, board: Hauppauge WinTV-HVR1250 [card=3,insmod option] [38647.787427] tveeprom 0-0050: Hauppauge model 22111, rev C2F5, serial# 6429897 [38647.787431] tveeprom 0-0050: MAC address is 00:0d:fe:62:1c:c9 [38647.787434] tveeprom 0-0050: tuner model is NXP 18271C2 (idx 155, type 54) [38647.787437] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) [38647.787439] tveeprom 0-0050: audio processor is CX23888 (idx 40) [38647.787442] tveeprom 0-0050: decoder processor is CX23888 (idx 34) [38647.787444] tveeprom 0-0050: has no radio, has IR receiver, has no IR transmitter [38647.787447] cx23885[0]: hauppauge eeprom: model=22111 [38647.824508] cx25840 2-0044: cx23888 A/V decoder found @ 0x88 (cx23885[0]) [38648.457502] cx25840 2-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) [38648.465061] cx23885_dvb_register() allocating 1 frontend(s) [38648.465064] cx23885[0]: cx23885 based dvb card [38648.492632] cx23885[0]: frontend initialization failed [38648.492637] cx23885_dvb_register() dvb_register failed err = -22 [38648.492640] cx23885_dev_setup() Failed to register dvb on VID_C [38648.492644] cx23885_dev_checkrevision() Hardware revision = 0xd0 [38648.492650] cx23885[0]/0: found at :07:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c0 [38648.492660] cx23885 :07:00.0: setting latency timer to 64 [38648.492740] cx23885 :07:00.0: irq 48 for MSI/MSI-X [38648.539598] Registered IR keymap rc-hauppauge [38648.539775] input: cx23885 IR (Hauppauge WinTV-HVR1250) as /devices/pci:00/:00:1c.1/:07:00.0/rc/rc0/input4 [38648.539852] rc0: cx23885 IR (Hauppauge WinTV-HVR1250) as /devices/pci:00/:00:1c.1/:07:00.0/rc/rc0 [38648.539926] rc rc0: lirc_dev: driver ir-lirc-codec (cx23885) registered at minor = 0 My setup commands for it's settings when using card=3 (I have read this is needed for this remote although according to the Internet my grey remote is supposed to need a hauppauge=1 parameter but it doesn't exist (modinfo) in my version of the module from kernel 3.0-rc1 #modprobe ir-kbd-i2c #ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 136 keycode(s) to driver Protocols changed to RC-5 #lsinput /dev/input/event4 bustype : BUS_PCI vendor : 0x70 product : 0x2211 version : 1 name: cx23885 IR (Hauppauge WinTV-HVR1 phys: pci-:07:00.0/ir0 bits ev : EV_SYN EV_KEY EV_MSC EV_REP #lspci -v (plus a little -n) 07:00.0 0400: 14f1:8880 (rev 04) Subsystem: 0070:2211 07:00.0 Multimedia video controller: Conexant Systems, Inc. Hauppauge Inc. HDPVR-1250 model 1196 (rev 04) Subsystem: Hauppauge computer works Inc. Device 2211 Flags: bus master, fast
we have marketing databases for sale
Email me at this address for a catalog of all our US lists: elma.h...@listpricereduction.co.cc Also, ask about our sale pricing for more than one list. to terminate please send a blank message to rem...@listpricereduction.co.cc -- 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