Re: Need testers: cx23885 IR Rx for TeVii S470 and HVR-1250

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16 января 2010 06:02:41 Andy Walls wrote:
> Hi,
>
> I've got reworked changes for the IR for the TeVii S470 and the HVR-1250
> at
>
> 	http://linuxtv.org/hg/~awalls/cx23885-ir2
>
> Thanks to loaner HVR-1250 hardware from Devin Heitmueller,
> I've solved the infinite interrupt problem with the CX23885 AV core and
> have reworked the change set against the latest v4l-dvb.
>
> Please test.
>
> Note
>
> 1. the parameters for the IR controller setup in
> linux/drivers/video/cx23885-input.c may need to be tweaked to set the
> proper "params.modulation" and "params.invert_level" before you get
> keypresses decoded.

It works properly with settings

	params.modulation = false;
	params.invert_level = true;

But after couple seconds :(

cx25840 3-0044: IRQ Status:  tsr rsr rto            
cx25840 3-0044: IRQ Enables:     rse rte roe
cx25840 3-0044: rx read:    9046778 ns  mark
cx25840 3-0044: rx read:    2206333 ns  space
cx25840 3-0044: rx read:     606926 ns  mark
cx25840 3-0044: rx read: end of rx
cx25840 3-0044: IRQ Status:  tsr rsr rto            
cx25840 3-0044: IRQ Enables:     rse rte roe
cx25840 3-0044: rx read:    9055815 ns  mark
cx25840 3-0044: rx read:    2203519 ns  space
cx25840 3-0044: rx read:     582481 ns  mark
cx25840 3-0044: rx read: end of rx
irq 16: nobody cared (try booting with the "irqpoll" option)
Pid: 2971, comm: X Not tainted 2.6.33-rc4 #3
Call Trace:
 [<c1054700>] ? __report_bad_irq+0x24/0x69
 [<c1054707>] ? __report_bad_irq+0x2b/0x69
 [<c105482c>] ? note_interrupt+0xe7/0x13f
 [<c1054d66>] ? handle_fasteoi_irq+0x7a/0x97
 [<c1003e80>] ? handle_irq+0x38/0x40
 [<c10036d8>] ? do_IRQ+0x38/0x8e
 [<c1002ca9>] ? common_interrupt+0x29/0x30
 [<c109cb00>] ? __pollwait+0x76/0xa5
 [<c13d4000>] ? unix_poll+0x14/0x89
 [<c137c496>] ? sock_poll+0xc/0xe
 [<c109c4ff>] ? do_select+0x2a1/0x42d
 [<c109ca8a>] ? __pollwait+0x0/0xa5
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109cb2f>] ? pollwake+0x0/0x65
 [<c109c7f0>] ? core_sys_select+0x165/0x21b
 [<f8cb0318>] ? i915_gem_object_set_to_cpu_domain+0x2b/0xdb [i915]
 [<f878535a>] ? drm_ioctl+0x0/0x2a4 [drm]
 [<c109ab89>] ? vfs_ioctl+0x1c/0x7d
 [<c109b13b>] ? do_vfs_ioctl+0x4aa/0x4e5
 [<c1047341>] ? ktime_get_ts+0xd3/0xdb
 [<c109ca69>] ? sys_select+0x6e/0x8f
 [<c1425105>] ? syscall_call+0x7/0xb
handlers:
[<c1332132>] (usb_hcd_irq+0x0/0x59)
[<f8aafd88>] (cx23885_irq+0x0/0x4e0 [cx23885])

>
> 2. I guessed at a reasonable set of remote keycodes for the TeVii S470,
> so don't be surprised if the button mapping isn't quite right.
>
> 3.  These module settings may be helpful for debug and test:
>
>        # modprobe cx25840 debug=2 ir_debug=2
>        # modprobe cx23885 debug=7
>
> Also directing "kern.*" messages to /var/log/messages
> in /etc/rsyslogd.conf and giving rsyslod a SIGHUP may be helpful for
> capturing the messages.
>
> 4.  In case I didn't fix the infinite interrupts problem for the TeVii
> S470: Before testing, blacklist the cx23885 module
> in /etc/modprobe.d/blacklist, so that when you reboot, the module
> doesn't automatically load.  If your system seems to be very busy with
> inifinite interrupts upon cx23885 module load, stop testing (and let me
> know).
>
> Regards,
> Andy

-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux