IR Receiver on an Tevii S470
Quoted 69 lines · Igor M. Liplianin
Quoted 47 lines · Igor M. Liplianin
Quoted 21 lines · On 10 декабря 2009 03:12:39 Andy Walls wrote:
Quoted 10 lines · Igor M. Liplianin
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Igor and Matthias,
Please try the changes that I have for the TeVii S470 that are here:
http://linuxtv.org/hg/~awalls/cx23885-irIn fact some time ago I was writing some code for cx23885 IR, but not reached IR interrupts to work. Though I used
PCI_MSK_AV_CORE(1 << 27), then test registerPIN_CTRLfor fieldFLD_IR_IRQ_STAT.Igor,
You are exactly right on this. I used the wrong interrupt status flag. I have pushed a patch to my repository to use the
PCI_MSK_AV_COREstatus flag.Could you please update an test the TeVii S470 again when you have time?
Quoted 7 lines
Quoted 2 lines
I have Compro E650F with RC6 remote, also have RC5 remote from TV set. I will made little hack to test Compro & RC5.
OK. Thank you.
Regards,
AndyFirst try, without pressing IR keys
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
irq 16: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Not tainted 2.6.32 #2Call Trace: [<c1052db0>] ? __report_bad_irq+0x24/0x69 [<c1052db7>] ? __report_bad_irq+0x2b/0x69 [<c1052edc>] ? note_interrupt+0xe7/0x13f [<c1053416>] ? handle_fasteoi_irq+0x7a/0x97 [<c1004411>] ? handle_irq+0x38/0x3f [<c1003bd1>] ? do_IRQ+0x38/0x89 [<c1002ea9>] ? common_interrupt+0x29/0x30 [<c1007a1e>] ? mwait_idle+0x7a/0x7f [<c1001b93>] ? cpu_idle+0x37/0x4cQuoted 8 lines
handlers:
[<c13179ad>] (usb_hcd_irq+0x0/0x59) [<f85ba5e7>] (azx_interrupt+0x0/0xe7[snd_hda_intel]) [<f88b1d2b>] (cx23885_irq+0x0/0x4a5[cx23885]) Disabling IRQ #16
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: IRQ Status: tsrOK. We're getting interrupts from the A/V core, but they are not IR related. They must be audio and video interrupts from the A/V core.
I have checked in new changes:
http://linuxtv.org/hg/~awalls/cx23885-irplease try again when you have time.
# modprobe cx25840 debug=2 ir_debug=2 # modprobe cx23885 debug=7
Quoted 6 lines
My only concern now, is that I have not turned off all the audio interrupts from the A/V core - I could not determine if registers 0x80c-0x80f were improtant to set.
Regards,
Andy
dmesg is full of repeated lines:
cx25840 3-0044: AV Core IRQ status (entry):
cx25840 3-0044: AV Core IRQ status (exit):
cx23885[0]/0: pci_status: 0x083f4000 pci_mask: 0x08000001 cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x20 cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0xc7383f3a
cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
Igor
Quoted 20 lines · Igor M. Liplianin
Quoted 19 lines · Igor M. Liplianin
Quoted 7 lines · Igor M. Liplianin
Quoted 6 lines · On 10 декабря 2009 03:12:39 Andy Walls wrote:
Quoted 5 lines · Igor M. Liplianin
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Igor and Matthias,
Please try the changes that I have for the TeVii S470 that are here:
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
http://linuxtv.org/hg/~awalls/cx23885-irFirst try, without pressing IR keys
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
irq 16: nobody cared (try booting with the "irqpoll" option)please try again when you have time.
Quoted 7 lines
Quoted 3 lines
# modprobe cx25840 debug=2 ir_debug=2 # modprobe cx23885 debug=7dmesg is full of repeated lines:
cx25840 3-0044: AV Core IRQ status (entry):
cx25840 3-0044: AV Core IRQ status (exit):
A strange thing here is that under this condition my changes should never claim the AV Core interrupt is "handled". I don't know why you didn't get the "nobody cared" message again.
Quoted 5 lines
cx23885[0]/0:
pci_status:0x083f4000pci_mask:0x08000001cx23885[0]/0:vida_status:0x00000000vida_mask:0x00000000count:0x0cx23885[0]/0:ts1_status:0x00000000ts1_mask:0x00000000count:0x20cx23885[0]/0:ts2_status:0x00000000ts2_mask:0x00000000count:0xc7383f3a
cx23885[0]/0: (PCI_MSK_AV_CORE0x08000000)
I'll read over the documentation again to see if I missed something. I'll have some changes later tonight that will always try to clear every interrupt that the AV Core could possibly generate.
-Andy
Quoted 24 lines · On 12 декабря 2009 03:00:37 Andy Walls wrote:
Quoted 23 lines · Igor M. Liplianin
Quoted 21 lines · Igor M. Liplianin
Quoted 7 lines · Igor M. Liplianin
Quoted 6 lines · On 10 декабря 2009 03:12:39 Andy Walls wrote:
Quoted 5 lines · Igor M. Liplianin
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Igor and Matthias,
Please try the changes that I have for the TeVii S470 that are here:
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
http://linuxtv.org/hg/~awalls/cx23885-irFirst try, without pressing IR keys
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
irq 16: nobody cared (try booting with the "irqpoll" option)please try again when you have time.
# modprobe cx25840 debug=2 ir_debug=2 # modprobe cx23885 debug=7
Quoted 8 lines
Quoted 4 lines
dmesg is full of repeated lines:
cx25840 3-0044: AV Core IRQ status (entry):
cx25840 3-0044: AV Core IRQ status (exit):A strange thing here is that under this condition my changes should never claim the AV Core interrupt is "handled". I don't know why you didn't get the "nobody cared" message again.
I did, but not frequently. I thought it is obvious :)
cx23885[0]/0: pci_status: 0x083f4000 pci_mask: 0x08000001 cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x20 cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0xc7383f3a
cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
cx25840 3-0044: AV Core IRQ status (entry):
cx25840 3-0044: AV Core IRQ status (exit):
irq 16: nobody cared (try booting with the "irqpoll" option)
Pid: 2521, comm: syslogd Not tainted 2.6.32 #2
Call Trace: [<c1052db0>] ? __report_bad_irq+0x24/0x69 [<c1052db7>] ? __report_bad_irq+0x2b/0x69 [<c1052edc>] ? note_interrupt+0xe7/0x13f [<c1053416>] ? handle_fasteoi_irq+0x7a/0x97 [<c1004411>] ? handle_irq+0x38/0x3f [<c1003bd1>] ? do_IRQ+0x38/0x89 [<c1002ea9>] ? common_interrupt+0x29/0x30
handlers:
[<c13179ad>] (usb_hcd_irq+0x0/0x59)
[<f86275e7>] (azx_interrupt+0x0/0xe7 [snd_hda_intel]) [<f88a8d2b>] (cx23885_irq+0x0/0x4e1 [cx23885])
Disabling IRQ #16
cx23885[0]/0: pci_status: 0x083f4000 pci_mask: 0x08000001 cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x20 cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0xc7383f3a
cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
Igor
Quoted 27 lines · Igor M. Liplianin
Quoted 26 lines · On 12 декабря 2009 03:00:37 Andy Walls wrote:
Quoted 25 lines · Igor M. Liplianin
Quoted 17 lines · Igor M. Liplianin
Quoted 7 lines · Igor M. Liplianin
Quoted 6 lines · On 10 декабря 2009 03:12:39 Andy Walls wrote:
Quoted 5 lines · Igor M. Liplianin
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Igor and Matthias,
Please try the changes that I have for the TeVii S470 that are here:
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
http://linuxtv.org/hg/~awalls/cx23885-irFirst try, without pressing IR keys
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
irq 16: nobody cared (try booting with the "irqpoll" option)Quoted 4 lines
please try again when you have time.
# modprobe cx25840 debug=2 ir_debug=2 # modprobe cx23885 debug=7dmesg is full of repeated lines:
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
cx25840 3-0044: AV Core IRQ status (entry):
cx25840 3-0044: AV Core IRQ status (exit):A strange thing here is that under this condition my changes should never claim the AV Core interrupt is "handled". I don't know why you didn't get the "nobody cared" message again.
I did, but not frequently. I thought it is obvious :)
OK, that's better. :P
I have checked in more changes, please try when you get the chance.
Please be aware that I reconfigured the drive of one signal PAD in the AV Core - I'm hoping to stop false interrupts. I did not reconfigure the corresponding IO pin in the bridge driver - I left it at whatever was the default.
(I think I'm going to have to buy a CX23885 based card soon...)
Regards,
Andy
Quoted 37 lines · On 12 декабря 2009 04:58:48 Andy Walls wrote:
Quoted 27 lines · Igor M. Liplianin
Quoted 26 lines · On 12 декабря 2009 03:00:37 Andy Walls wrote:
Quoted 25 lines · Igor M. Liplianin
Quoted 17 lines · Igor M. Liplianin
Quoted 7 lines · Igor M. Liplianin
Quoted 6 lines · On 10 декабря 2009 03:12:39 Andy Walls wrote:
Quoted 5 lines · Igor M. Liplianin
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Igor and Matthias,
Please try the changes that I have for the TeVii S470 that are here:
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
http://linuxtv.org/hg/~awalls/cx23885-irFirst try, without pressing IR keys
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
irq 16: nobody cared (try booting with the "irqpoll" option)Quoted 4 lines
please try again when you have time.
# modprobe cx25840 debug=2 ir_debug=2 # modprobe cx23885 debug=7dmesg is full of repeated lines:
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
cx25840 3-0044: AV Core IRQ status (entry):
cx25840 3-0044: AV Core IRQ status (exit):A strange thing here is that under this condition my changes should never claim the AV Core interrupt is "handled". I don't know why you didn't get the "nobody cared" message again.
I did, but not frequently. I thought it is obvious :)
Quoted 8 lines
OK, that's better. :P
I have checked in more changes, please try when you get the chance.
Please be aware that I reconfigured the drive of one signal PAD in the AV Core - I'm hoping to stop false interrupts. I did not reconfigure the corresponding IO pin in the bridge driver - I left it at whatever was the default.
cx23885[0]/0: pci_status: 0x08304000 pci_mask: 0x08000000 cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x47381f2a
cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
cx25840 3-0044: AV Core IRQ status (entry): ir
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: AV Core audio IRQ status: 0x80
cx25840 3-0044: AV Core audio MC IRQ status: 0x20000000
cx25840 3-0044: AV Core video IRQ status: 0x0002
cx25840 3-0044: AV Core IRQ status (exit): ir
cx23885[0]/0: pci_status: 0x08004000 pci_mask: 0x08000000 cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x47381f2a
cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
cx25840 3-0044: AV Core IRQ status (entry): ir
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: AV Core audio IRQ status: 0x80
cx25840 3-0044: AV Core audio MC IRQ status: 0x20000000
cx25840 3-0044: AV Core video IRQ status: 0x0002
cx25840 3-0044: AV Core IRQ status (exit): ir
cx23885[0]/0: pci_status: 0x08304000 pci_mask: 0x08000000 cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x47381f2a
cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
cx25840 3-0044: AV Core IRQ status (entry): ir
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
cx25840 3-0044: AV Core audio IRQ status: 0x80
cx25840 3-0044: AV Core audio MC IRQ status: 0x20000000
cx25840 3-0044: AV Core video IRQ status: 0x0123
cx25840 3-0044: AV Core IRQ status (exit): ir
cx23885[0]/0: pci_status: 0x08004000 pci_mask: 0x08000000 cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x0 cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x47381f2a
cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
cx25840 3-0044: AV Core IRQ status (entry): ir
Quoted 6 lines
(I think I'm going to have to buy a CX23885 based card soon...)
Regards,
Andy
Signature · 2 lines
Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks
Quoted 24 lines · On 12 декабря 2009 16:15:27 Andy Walls wrote:
Quoted 23 lines · Igor M. Liplianin
Quoted 7 lines · On 12 декабря 2009 04:58:48 Andy Walls wrote:
Quoted 6 lines · Igor M. Liplianin
Quoted 5 lines · On 12 декабря 2009 03:00:37 Andy Walls wrote:
Quoted 4 lines · Igor M. Liplianin
Quoted 3 lines · Igor M. Liplianin
Quoted 2 lines · Igor M. Liplianin
Quoted 1 line · On 10 декабря 2009 03:12:39 Andy Walls wrote:
On Wed, 2009-12-09 at 17:54 +0200, Igor M. Liplianin wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Igor and Matthias,
Please try the changes that I have for the TeVii
S470 that are here:http://linuxtv.org/hg/~awalls/cx23885-ir
I have checked in more changes, please try when you get the chance.
cx23885[0]/0:
pci_status:0x08304000pci_mask:0x08000000cx23885[0]/0:vida_status:0x00000000vida_mask:0x00000000count:0x0cx23885[0]/0:ts1_status:0x00000000ts1_mask:0x00000000count:0x0cx23885[0]/0:ts2_status:0x00000000ts2_mask:0x00000000count:0x47381f2acx23885[0]/0: (PCI_MSK_AV_CORE0x08000000)
Quoted 7 lines
Quoted 3 lines
cx25840 3-0044: AV Core IRQ status (entry): ir
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe?!
Those three lines make no sense together. Maybe I should take out the
I know. But it is.
There would be something small, but important, which is missing.
Quoted 1 line
V4L2_SUBDEV_IO_PIN_ACTIVE_LOWsetting incx23885-cards.c.
Low level raises interrupt by default, as I understand. But it is configurable.
Quoted 2 lines
I'm going to have to buy some hardware and experiment for myself.
I can test your code forever ... Until it success
Quoted 3 lines
BTW, what happens you press a button on an NEC remote?
Nothing.
But remote is working under m$
Quoted 5 lines
Thanks for all your help.
Regards,
Andy
Signature · 2 lines
Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks
Quoted 3 lines · Igor M. Liplianin
Quoted 1 line · On 12 декабря 2009 16:15:27 Andy Walls wrote:
V4L2_SUBDEV_IO_PIN_ACTIVE_LOWAfter I removed this from
ir_rx_pin_cfg, interrupts stopped.
If we are lucky, that was the problem.
If it was the problem, now it is a matter of setting the
params.modulation
params.invert_level
properly for the TeVii S470 in cx23885-input.c to have the hardware generate interrupts when it makes a few pulse measurements.
If it was not the problem, then we still have some interrupt(s) coming from the AV Core and have just supressed all of the interrupts from the AV Core. :)
Regards,
Andy
Quoted 25 lines · Igor M. Liplianin
Quoted 9 lines · On 12 декабря 2009 04:58:48 Andy Walls wrote:
Quoted 8 lines · Igor M. Liplianin
Quoted 7 lines · On 12 декабря 2009 03:00:37 Andy Walls wrote:
Quoted 6 lines · Igor M. Liplianin
Quoted 5 lines · Igor M. Liplianin
Quoted 4 lines · Igor M. Liplianin
Quoted 3 lines · On 10 декабря 2009 03:12:39 Andy Walls wrote:
Quoted 2 lines · Igor M. Liplianin
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Igor and Matthias,
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Please try the changes that I have for the TeVii S470 that are here:
http://linuxtv.org/hg/~awalls/cx23885-irI have checked in more changes, please try when you get the chance.
cx23885[0]/0:
pci_status:0x08304000pci_mask:0x08000000cx23885[0]/0:vida_status:0x00000000vida_mask:0x00000000count:0x0cx23885[0]/0:ts1_status:0x00000000ts1_mask:0x00000000count:0x0cx23885[0]/0:ts2_status:0x00000000ts2_mask:0x00000000count:0x47381f2a
cx23885[0]/0: (PCI_MSK_AV_CORE0x08000000)
Quoted 3 lines
cx25840 3-0044: AV Core IRQ status (entry): ir
cx25840 3-0044: IRQ Status: tsr
cx25840 3-0044: IRQ Enables: rse rte roe
?!
Those three lines make no sense together. Maybe I should take out the V4L2_SUBDEV_IO_PIN_ACTIVE_LOW setting in cx23885-cards.c.
I'm going to have to buy some hardware and experiment for myself.
BTW, what happens you press a button on an NEC remote?
Thanks for all your help.
Regards,
Andy
Quoted 1 line · On 12 декабря 2009 16:15:27 Andy Walls wrote:
V4L2_SUBDEV_IO_PIN_ACTIVE_LOW
After I removed this from ir_rx_pin_cfg, interrupts stopped.
Signature · 2 lines
Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks
Hi,
I have a s470 and with
s2-liplianin-7212833be10d
s2-liplianin-ab3a80e883ba
began to work, but today I have tested
s2-liplianin-b663b38d616f
and seems that there are some problems trying to load the driver
Linux video capture interface: v2.00
cx23885: disagrees about version of symbol ir_codes_hauppauge_new_table
cx23885: Unknown symbol ir_codes_hauppauge_new_table
cx23885: disagrees about version of symbol ir_input_init
cx23885: Unknown symbol ir_input_init
cx23885: disagrees about version of symbol ir_input_nokey
cx23885: Unknown symbol ir_input_nokey
cx23885: disagrees about version of symbol ir_input_keydown
cx23885: Unknown symbol ir_input_keydown
I'm running this on a DELL Server with RHEL and kernel 2.6.31.
regards,
Guillem
Quoted 23 lines · On 31 декабря 2009 14:46:49 Guillem Solà Aranda wrote:
Hi,
I have a s470 and with
s2-liplianin-7212833be10d
s2-liplianin-ab3a80e883babegan to work, but today I have tested
s2-liplianin-b663b38d616f
and seems that there are some problems trying to load the driver
Linux video capture interface: v2.00
cx23885: disagrees about version of symbolir_codes_hauppauge_new_table
cx23885: Unknown symbolir_codes_hauppauge_new_table
cx23885: disagrees about version of symbolir_input_init
cx23885: Unknown symbolir_input_init
cx23885: disagrees about version of symbolir_input_nokey
cx23885: Unknown symbolir_input_nokey
cx23885: disagrees about version of symbolir_input_keydown
cx23885: Unknown symbolir_input_keydown
Quoted 8 lines
I'm running this on a DELL Server with RHEL and kernel 2.6.31.
regards,
Guillem
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Since module ir-common.ko moved to IR directory just remove old one.
rm /lib/modules/$(uname -r)/kernel/drivers/media/common/ir-common.ko
Happy New Year!
Quoted 4 lines · Andy Walls <awalls <at> radix.net> writes:
Quoted 4 lines
Quoted 4 lines
please try again when you have time.
# modprobe cx25840 debug=2 ir_debug=2 # modprobe cx23885 debug=7
I tried to activate my remote using the driver in
http://linuxtv.org/hg/~awalls/cx23885-ir.
According to the following dmesg output everything is loaded correctly and the ir interface is registered as /dev/input/event5:
[ 9.220413] Linux video capture interface: v2.00 [ 9.432581] cx23885 driver version 0.0.2 loaded [ 9.433560] ACPI: PCI Interrupt Link [LN0A] enabled at IRQ 19 [ 9.433572] alloc irq_desc for 19 on node -1 [ 9.433577] alloc kstat_irqs on node -1 [ 9.433594] cx23885 0000:02:00.0: PCI INT A -> Link[LN0A] -> GSI 19 (level, low) -> IRQ 19 [ 9.433746] CORE cx23885[0]: subsystem: d470:9022, board: TeVii S470 [card=15,autodetected] [ 9.720071] cx25840 3-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0]) [ 9.728397] cx25840 3-0044: firmware: requesting v4l-cx23885-avcore-01.fw [ 9.994115] HDA Intel 0000:00:08.0: power state changed by ACPI to D0 [ 9.995038] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22 [ 9.995055] HDA Intel 0000:00:08.0: PCI INT A -> Link[LAZA] -> GSI 22 (level, low) -> IRQ 22 [ 9.995139] HDA Intel 0000:00:08.0: setting latency timer to 64 [ 10.579145] cx25840 3-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) [ 10.586817] cx23885_dvb_register() allocating 1 frontend(s) [ 10.586830] cx23885[0]: cx23885 based dvb card [ 10.593034] hda_codec: Unknown model for ALC662 rev1, trying auto-probe from BIOS... [ 10.790592] DS3000 chip version: 0.192 attached. [ 10.790604] DVB: registering new adapter (cx23885[0]) [ 10.790613] DVB: registering adapter 0 frontend 0 (Montage Technology DS3000/TS2020)... [ 10.791219] cx23885_dev_checkrevision() Hardware revision = 0xb0 [ 10.791236] cx23885[0]/0: found at 0000:02:00.0, rev: 2, irq: 19, latency: 0, mmio: 0xfac00000 [ 10.791249] cx23885 0000:02:00.0: setting latency timer to 64 [ 10.791258] IRQ 19/cx23885[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 10.795358] input: cx23885 IR (TeVii S470) as
/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/input/input5
But there is no signal comming from input/event5, regardless of the tools trying to access it (lircd, irw, mode2, inputlircd, plain cat, etc.). What else is needed to activate the remote with this driver? If I enable debug messages by
Quoted 2 lines
modprobe cx25840 debug=2 ir_debug=2
modprobe cx23885 debug=7
the dmesg/syslog is flooded with:
[ 75.932848] cx23885[0]/0: [f47e4840/9] wakeup reg=9514 buf=9514 [ 75.937811] cx23885[0]/0: pci_status: 0x00008002 pci_mask: 0x08001f02 [ 75.937839] cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 [ 75.937847] cx23885[0]/0: ts1_status: 0x00000001 ts1_mask: 0x00001111 count: 0x252b [ 75.937856] cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x2ca4d364 [ 75.937881] cx23885[0]/0: (PCI_MSK_VID_B 0x00000002) [ 75.937902] cx23885[0]/0: (RISCI1 0x00000001) [ 75.937918] cx23885[0]/0: [f47e4000/10] wakeup reg=9515 buf=9515 [ 75.937942] cx23885[0]/0: queue is not empty - append to active [ 75.937964] cx23885[0]/0: [f47e4840/9] cx23885_buf_queue - append to active [ 75.938064] cx23885[0]/0: queue is not empty - append to active [ 75.938087] cx23885[0]/0: [f47e4000/10] cx23885_buf_queue - append to active [ 75.942878] cx23885[0]/0: pci_status: 0x00008002 pci_mask: 0x08001f02 [ 75.942901] cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 [ 75.942908] cx23885[0]/0: ts1_status: 0x00000001 ts1_mask: 0x00001111 count: 0x252c [ 75.942917] cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x2ca4d364 [ 75.942943] cx23885[0]/0: (PCI_MSK_VID_B 0x00000002) [ 75.942949] cx23885[0]/0: (RISCI1 0x00000001) [ 75.942961] cx23885[0]/0: [f47e4480/11] wakeup reg=9516 buf=9516 [ 75.943101] cx23885[0]/0: queue is not empty - append to active [ 75.943112] cx23885[0]/0: [f47e4480/11] cx23885_buf_queue - append to active
...
Any advice where to go from here, what to try?
Thank you.
Andreas
Quoted 43 lines · Andreas Tschirpke
Quoted 4 lines · Andy Walls <awalls <at> radix.net> writes:
Quoted 4 lines
Quoted 4 lines
please try again when you have time.
# modprobe cx25840 debug=2 ir_debug=2 # modprobe cx23885 debug=7I tried to activate my remote using the driver in
http://linuxtv.org/hg/~awalls/cx23885-ir.
According to the following dmesg output everything is loaded correctly and the ir interface is registered as/dev/input/event5:[ 9.220413] Linux video capture interface: v2.00 [ 9.432581] cx23885 driver version 0.0.2 loaded [ 9.433560] ACPI: PCI Interrupt Link [LN0A] enabled at IRQ 19 [ 9.433572] alloc irq_desc for 19 on node -1 [ 9.433577] alloc kstat_irqs on node -1 [ 9.433594] cx23885 0000:02:00.0: PCI INT A -> Link[LN0A] -> GSI 19 (level, low) -> IRQ 19 [ 9.433746] CORE cx23885[0]: subsystem: d470:9022, board: TeVii S470 [card=15,autodetected] [ 9.720071] cx25840 3-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0]) [ 9.728397] cx25840 3-0044: firmware: requesting v4l-cx23885-avcore-01.fw [ 9.994115] HDA Intel 0000:00:08.0: power state changed by ACPI to D0 [ 9.995038] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22 [ 9.995055] HDA Intel 0000:00:08.0: PCI INT A -> Link[LAZA] -> GSI 22 (level, low) -> IRQ 22 [ 9.995139] HDA Intel 0000:00:08.0: setting latency timer to 64 [ 10.579145] cx25840 3-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) [ 10.586817] cx23885_dvb_register() allocating 1 frontend(s) [ 10.586830] cx23885[0]: cx23885 based dvb card [ 10.593034] hda_codec: Unknown model for ALC662 rev1, trying auto-probe from BIOS... [ 10.790592] DS3000 chip version: 0.192 attached. [ 10.790604] DVB: registering new adapter (cx23885[0]) [ 10.790613] DVB: registering adapter 0 frontend 0 (Montage Technology DS3000/TS2020)... [ 10.791219] cx23885_dev_checkrevision() Hardware revision = 0xb0 [ 10.791236] cx23885[0]/0: found at 0000:02:00.0, rev: 2, irq: 19, latency: 0, mmio: 0xfac00000 [ 10.791249] cx23885 0000:02:00.0: setting latency timer to 64 [ 10.791258] IRQ 19/cx23885[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 10.795358] input: cx23885 IR (TeVii S470) as
Quoted 5 lines
/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/input/input5
But there is no signal comming from input/event5, regardless of the tools trying to access it (lircd, irw, mode2, inputlircd, plain cat, etc.). What else is needed to activate the remote with this driver?
I admire your initiaive, however, that code is not working yet. The problem is getting AV core IR interrupts from the CX23885 without getting a constant stream of AV core interrupts that are not realted to IR.
I just received a loaner HVR-1250 with a CX23885 from Devin a few days ago. It doesn't have the external IR hardware, but it has enough on-chip for me to debug my interrupt problem using the IR loopback. Once I have the interrupt problem solved, I'll ask Igor, you, and whomever else to test.
Life is busy right now. I might not get to looking at it until Sunday.
Regards,
Andy
Quoted 44 lines
If I enable debug messages by
Quoted 2 lines
modprobe cx25840 debug=2 ir_debug=2
modprobe cx23885 debug=7the dmesg/syslog is flooded with:
[ 75.932848] cx23885[0]/0: [f47e4840/9] wakeup reg=9514 buf=9514 [ 75.937811] cx23885[0]/0: pci_status: 0x00008002 pci_mask: 0x08001f02 [ 75.937839] cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 [ 75.937847] cx23885[0]/0: ts1_status: 0x00000001 ts1_mask: 0x00001111 count: 0x252b [ 75.937856] cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x2ca4d364 [ 75.937881] cx23885[0]/0: (PCI_MSK_VID_B 0x00000002) [ 75.937902] cx23885[0]/0: (RISCI1 0x00000001) [ 75.937918] cx23885[0]/0: [f47e4000/10] wakeup reg=9515 buf=9515 [ 75.937942] cx23885[0]/0: queue is not empty - append to active [ 75.937964] cx23885[0]/0: [f47e4840/9] cx23885_buf_queue - append to active [ 75.938064] cx23885[0]/0: queue is not empty - append to active [ 75.938087] cx23885[0]/0: [f47e4000/10] cx23885_buf_queue - append to active [ 75.942878] cx23885[0]/0: pci_status: 0x00008002 pci_mask: 0x08001f02 [ 75.942901] cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0 [ 75.942908] cx23885[0]/0: ts1_status: 0x00000001 ts1_mask: 0x00001111 count: 0x252c [ 75.942917] cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x2ca4d364 [ 75.942943] cx23885[0]/0: (PCI_MSK_VID_B 0x00000002) [ 75.942949] cx23885[0]/0: (RISCI1 0x00000001) [ 75.942961] cx23885[0]/0: [f47e4480/11] wakeup reg=9516 buf=9516 [ 75.943101] cx23885[0]/0: queue is not empty - append to active [ 75.943112] cx23885[0]/0: [f47e4480/11] cx23885_buf_queue - append to active...
Any advice where to go from here, what to try?
Thank you.Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html