Kodi Community Forum
Solved kernel update broke IR - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Solved kernel update broke IR (/showthread.php?tid=220265)



kernel update broke IR - redstorm - 2015-03-03

Following instructions here to get HSW hardware deinterlacing
165707 (thread)

upgraded my kernel to 3.19 also tried 3.18.8 but what happened is my rc driver for the DVBSKY S952 disappeared. now appears to be loading a nuvoton_cir driver that was not present before.

lsmod
Code:
rc_core                27389  2 nuvoton_cir,cx23885

prior to updating the dmesg looked like this.
Code:
[   16.673400] CORE cx23885[0]: subsystem: 4254:0952, board: DVBSKY S952 [card=41,autodetected]
[   17.596395] cx23885_dvb_register() allocating 1 frontend(s)
[   17.596399] cx23885[0]: cx23885 based dvb card
[   17.710319] m88ds3103_load_firmware: Waiting for firmware upload (dvb-fe-ds3103.fw)...
[   18.654896] DVB: registering new adapter (cx23885[0])
[   18.654900] cx23885 0000:02:00.0: DVB: registering adapter 0 frontend 0 (Montage DS3103/TS2022)...
[   18.682355] DVBSKY PCIe MAC= 00:17:42:54:09:52
[   18.682358] cx23885_dvb_register() allocating 1 frontend(s)
[   18.682359] cx23885[0]: cx23885 based dvb card
[   18.743760] m88ds3103_load_firmware: Waiting for firmware upload (dvb-fe-ds3103.fw)...
[   19.651091] DVB: registering new adapter (cx23885[0])
[   19.651095] cx23885 0000:02:00.0: DVB: registering adapter 1 frontend 0 (Montage DS3103/TS2022)...
[   19.678533] DVBSKY PCIe MAC= 00:17:42:54:09:53
[   19.700761] Registered IR keymap rc-dvbsky
[   19.700834] input: cx23885 IR (DVBSKY S952) as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/rc/rc0/input15
[   19.704375] rc0: cx23885 IR (DVBSKY S952) as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/rc/rc0

The IR keymap rc-dvbsky is not happening any more.

Post kernel update and re compiling the dvbsky drivers from
Kernel 3.18.6 - 3.19 Drivers

dmesg look like this.
dmesg post update


I would like to get the dvbsky ir working again as i use a harmony 650 using the rc6 protocol to control kodi.

I have tried blacklisting the nuvoton_cir module but that does not help lsmod then shows
Code:
rc_core -> cx23885

just found this post
https://bbs.archlinux.org/viewtopic.php?id=193617
The key being this ->
Code:
You may want to try to set the module parameter enable_885_ir of cx23885 to 1.

I created a file in /etc/modprobe.d/cx23885.conf with
Code:
enable_885_ir=1
rebooted - however this has not fixed the issue.

Now looking into the driver source to see if they changed it in their for some odd reason.

Any insight appreciated.

SOLVED
just need to get the options correct in cx23885.conf that i created.
Code:
options cx23885 enable_885_ir=1
options cx23885 debug=1

lsmod

Why on earth they set the ir function of the card to disabled by default is a little concerning. Is this a bug ticket to the linuxtv group or to the ubuntu group?

Code:
Module: cx23885
Parameter: adapter_nr --> -1,-1,-1,-1,-1,-1,-1,-1
Parameter: alt_tuner --> 0
Parameter: audio_debug --> 0
Parameter: card --> -1,-1,-1,-1,-1,-1,-1,-1
Parameter: ci_dbg --> 0
Parameter: ci_irq_enable --> 0
Parameter: debug --> 0
Parameter: disable_analog_audio --> 0
Parameter: enable_885_ir --> 0
Parameter: i2c_debug --> 0
Parameter: i2c_scan --> 0
Parameter: ir_888_debug --> 0
Parameter: irq_debug --> 0
Parameter: mpegbufs --> 32
Parameter: mpeglines --> 32
Parameter: mpeglinesize --> 512
Parameter: netup_card_rev --> 4
Parameter: v4l_debug --> 0
Parameter: vbibufs --> 4
Parameter: vbi_debug --> 0
Parameter: vbi_nr --> -1,-1,-1,-1,-1,-1,-1,-1
Parameter: video_debug --> 0
Parameter: video_nr --> -1,-1,-1,-1,-1,-1,-1,-1
Parameter: vid_limit --> 16