You are not logged in.

#1 2015-02-13 16:47:41

le_hohoho
Member
Registered: 2015-02-13
Posts: 3

[SOLVED] 3.18.6 / 3.19: DVB Card - Adaptors found, ir ignored

Hello there,

I have a DVBSky T982 dual tuner card with an ir receiver built in ( cx23885 module ).
Both tuners are found by the kernel with ease, but the ir receiver is completely ignored as if it wasn't there.
I already tried
-the module(s) that shipped with kernel 3.18.6 / 3.19
-compiling media_build from git
-compiling media_build-bst from dvbsky
and it's always the same: dvb adaptors work, but no ir.

$ dmesg
...
[    1.362531] cx23885 driver version 0.0.4 loaded
[    1.362621] CORE cx23885[0]: subsystem: 4254:0982, board: DVBSky T982 [card=51,autodetected]
[    1.608337] cx25840 2-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
[    2.262974] cx25840 2-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
[    2.278720] cx23885_dvb_register() allocating 1 frontend(s)
[    2.278723] cx23885[0]: cx23885 based dvb card
[    2.281504] DVB: registering new adapter (cx23885[0])
[    2.281510] cx23885 0000:03:00.0: DVB: registering adapter 0 frontend 0 (Sit2 DVB-T2/C)...
[    2.309307] cx23885_dvb_register() allocating 1 frontend(s)
[    2.309308] cx23885[0]: cx23885 based dvb card
[    2.309311] DVB: registering new adapter (cx23885[0])
[    2.309313] cx23885 0000:03:00.0: DVB: registering adapter 1 frontend 0 (Sit2 DVB-T2/C)...
[    2.337141] cx23885_dev_checkrevision() Hardware revision = 0xa5
[    2.337146] cx23885[0]/0: found at 0000:03:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xf7c00000
$ lspci -v
...
03:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)
	Subsystem: DVBSky T982
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at f7c00000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: <access denied>
	Kernel driver in use: cx23885
	Kernel modules: cx23885
$ lsmod | grep cx2
cx25840                55892  1 
cx23885               161352  0 
altera_ci              17576  1 cx23885
tda18271               47008  1 cx23885
videobuf2_dvb          12710  1 cx23885
videobuf2_dma_sg       17580  1 cx23885
tveeprom               20593  1 cx23885
cx2341x                25511  1 cx23885
dvb_core              110230  3 cx23885,altera_ci,videobuf2_dvb
rc_core                22437  1 cx23885
videobuf2_core         51915  2 cx23885,videobuf2_dvb
v4l2_common            12814  4 cx2341x,cx23885,cx25840,videobuf2_core
videodev              135040  5 cx2341x,cx23885,cx25840,v4l2_common,videobuf2_core
snd_pcm                88779  5 cx23885,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd                    73436  9 snd_hda_codec_realtek,cx23885,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
i2c_core               50240  12 drm,i915,i2c_i801,cx23885,cx25840,drm_kms_helper,i2c_algo_bit,v4l2_common,tveeprom,sit2fe,tda18271,videodev
$ ls /sys/class/rc
$ 

I also have a XBMCBuntu system on dual boot which works fine with the IR receiver, but I wanted to ship over to Arch smile

Any suggestions where I should look for ? Because I really have no clue where to even start.

Greetings,
le_hohoho

Last edited by le_hohoho (2015-02-14 21:40:04)

Offline

#2 2015-02-14 19:06:31

olebowle
Member
Registered: 2012-02-01
Posts: 28

Re: [SOLVED] 3.18.6 / 3.19: DVB Card - Adaptors found, ir ignored

You may want to try to set the module parameter enable_885_ir of cx23885 to 1.

Offline

#3 2015-02-14 20:02:11

le_hohoho
Member
Registered: 2015-02-13
Posts: 3

Re: [SOLVED] 3.18.6 / 3.19: DVB Card - Adaptors found, ir ignored

Wow, that was an easy one i guess ?
Thank you, it works!

There is a segfault in the dmesg output though, but it's working nice anyway.

[   39.295593] Registered IR keymap rc-dvbsky
[   39.295654] input: cx23885 IR (DVBSky T982) as /devices/pci0000:00/0000:00:1c.5/0000:03:00.0/rc/rc0/input20
[   39.296914] ir-keytable[343]: segfault at 0 ip 0000000000401e30 sp 00007fff7b69f5b0 error 4 in ir-keytable[400000+9000]
[   39.299270] rc0: cx23885 IR (DVBSky T982) as /devices/pci0000:00/0000:00:1c.5/0000:03:00.0/rc/rc0

Offline

#4 2015-02-15 10:33:45

olebowle
Member
Registered: 2012-02-01
Posts: 28

Re: [SOLVED] 3.18.6 / 3.19: DVB Card - Adaptors found, ir ignored

Even though it works a segfault is not particularly nice. If you want to dig deeper, I think a backtrace of ir-keytable would be helpful to upstream.

BTW: What happens if you remove ir-keytable (i.e. v4l-utils package)?

Offline

#5 2015-02-16 09:00:54

le_hohoho
Member
Registered: 2015-02-13
Posts: 3

Re: [SOLVED] 3.18.6 / 3.19: DVB Card - Adaptors found, ir ignored

Yes, I already thought that a segfault is a very bad thing. But I found out it only came when I used modprobe manually. If the module loads on boot, it's not an issue anymore.
That's why I decided to not investigate more into that.

Thank you olebowle smile

Offline

Board footer

Powered by FluxBB