Re: TechnoTrend CT2-4500 remote not working
Sean, Am 16.11.2018 um 12:26 schrieb Sean Young: Ok, thank you. Now, we don't know how the IR is wired up. Please could you try enabling the enable_885_ir module parameter for cx23885. If this goes badly, then we might end up in an infinite loop of unending interrupts, so it would be prudent to not change your startup scripts to set this. As root, please run: rmmod cx23885 modprobe cx23885 enable_885_ir=1 Thank you, loading the module with enable_885_ir=1 works: cx23885: cx23885_dev_checkrevision() Hardware revision = 0xa5 cx23885: cx23885[0]/0: found at :17:00.0, rev: 4, irq: 31, latency: 0, mmio: 0xfe00 Registered IR keymap rc-tt-1500 IR RC5(x/sz) protocol handler initialized rc rc1: cx23885 IR (Technotrend TT-budget CT2-4500 CI) as /devices/pci:00/:00:01.2/:15:00.2/:16:00.0/:17:00.0/rc/rc1 input: cx23885 IR (Technotrend TT-budget CT2-4500 CI) as /devices/pci:00/:00:01.2/:15:00.2/:16:00.0/:17:00.0/rc/rc1/input21 ir-keytable output: Found /sys/class/rc/rc1/ (/dev/input/event17) with: Name: cx23885 IR (Technotrend TT-budget CT2-4500 CI) Driver: cx23885, table: rc-tt-1500 lirc device: /dev/lirc1 Supported protocols: other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp Enabled protocols: lirc rc-5 bus: 1, vendor/product: 13c2:3013, version: 0x0001 Repeat delay = 500 ms, repeat period = 125 ms Using ir-keytable -t I see all the buttons pressed. Maybe you can amend the module options description to include my device: parm: enable_885_ir:Enable integrated IR controller for supported CX2388[57] boards that are wired for it: HVR-1250 (reported safe) TerraTec Cinergy T PCIe Dual (not well tested, appears to be safe) TeVii S470 (reported unsafe) This can cause an interrupt storm with some cards. Default: 0 [Disabled] (int) You should get another rc device, which might just work. Thanks again Sean for the help! Martin
Re: TechnoTrend CT2-4500 remote not working
Sean, Am 15.11.2018 um 00:07 schrieb Sean Young: >> >> I turned on dynamic debug and got the following messages in the kernel log: >> >> [ 837.160992] rc rc0: get_key_fusionhdtv: ff ff ff ff >> [ 837.263927] rc rc0: ir_key_poll >> [ 837.264528] rc rc0: get_key_fusionhdtv: ff ff ff ff >> [ 837.367840] rc rc0: ir_key_poll >> [ 837.368441] rc rc0: get_key_fusionhdtv: ff ff ff ff >> >> Pressing a key on the remote did not change the pattern. I rechecked the >> connection of the IR receiver to the card but it was firmly plugged in. > > Hmm, either the IR signal is not getting to the device, or this is not > where the IR is reported. I guess also the firmware could be incorrect > or out of date. I have obtained the latest firmware from http://www.dvbsky.net/Support_linux.html si2168 6-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' si2168 6-0064: firmware version: B 4.0.25 The firmware is now newer than before (4.0.11), but I still get no output with dynamic debugging. > > Certainly a logic analyser would help here to see if the signal is arriving, > and where it goes (e.g. directly to a gpio pin). Currently, I do not have a logic analyser at hand. > > What's the output of the lspci -vvv? Maybe it's reported via gpio and not > i2c. The output of lspci -vvv: 17:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04) Subsystem: Technotrend Systemtechnik GmbH TT-budget CT2-4500 CI Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- VC0:Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb:Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Kernel driver in use: cx23885 Kernel modules: cx23885 Regards, Martin
Re: TechnoTrend CT2-4500 remote not working
It would be interesting to see what the device is sending. Please can you turn on dynamic debug for ir-kbd-i2c.c: echo "file ir-kbd-i2.c +p" > /sys/kernel/debug/dynamic_debug/control Try the remote again and report what in the kernel messages. Sean I turned on dynamic debug and got the following messages in the kernel log: [ 837.160992] rc rc0: get_key_fusionhdtv: ff ff ff ff [ 837.263927] rc rc0: ir_key_poll [ 837.264528] rc rc0: get_key_fusionhdtv: ff ff ff ff [ 837.367840] rc rc0: ir_key_poll [ 837.368441] rc rc0: get_key_fusionhdtv: ff ff ff ff Pressing a key on the remote did not change the pattern. I rechecked the connection of the IR receiver to the card but it was firmly plugged in. Martin
TechnoTrend CT2-4500 remote not working
Hi all, the remote on my TechnoTrend CT2-4500 is not working with kernel 4.18. The TV-card itself works fine: cx25840 6-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) cx23885: cx23885_dvb_register() allocating 1 frontend(s) cx23885: cx23885[0]: cx23885 based dvb card i2c i2c-5: Added multiplexed i2c bus 12 si2168 5-0064: Silicon Labs Si2168-B40 successfully identified si2168 5-0064: firmware version: B 4.0.2 si2157 12-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached dvbdev: DVB: registering new adapter (cx23885[0]) cx23885 :17:00.0: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)... sp2 4-0040: CIMaX SP2 successfully attached cx23885: Technotrend TT-budget CT2-4500 CI MAC address: bc:ea:2b:45:05:68 cx23885: cx23885_dev_checkrevision() Hardware revision = 0xa5 cx23885: cx23885[0]/0: found at :17:00.0, rev: 4, irq: 31, latency: 0, mmio: 0xfe00 The remote is registered: Registered IR keymap rc-fusionhdtv-mce rc rc0: FusionHDTV as /devices/pci:00/:00:01.2/:15:00.2/:16:00.0/:17:00.0/i2c-4/4-006b/rc/rc0 input: FusionHDTV as /devices/pci:00/:00:01.2/:15:00.2/:16:00.0/:17:00.0/i2c-4/4-006b/rc/rc0/input18 rc rc0: lirc_dev: driver ir_kbd_i2c registered at minor = 0, scancode receiver, no transmitter ir-keytable reports: Found /sys/class/rc/rc0/ (/dev/input/event15) with: Name: FusionHDTV Driver: ir_kbd_i2c, table: rc-fusionhdtv-mce lirc device: /dev/lirc0 Supported protocols: unknown Enabled protocols: unknown bus: 24, vendor/product: :, version: 0x Repeat delay = 500 ms, repeat period = 125 ms Apparently, no protocols are reported. evtest on /dev/input/event15 reports no events. The error was reported before: http://lirc.10951.n7.nabble.com/Problems-with-cx23885-IR-receiver-td10884.html The remote is working, I verified it with a camera. Regards, Martin
TechnoTrend CT2-4500 remote not working
Hi all, the remote on my TechnoTrend CT2-4500 is not working with kernel 4.18. The TV-card itself works fine: cx25840 6-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) cx23885: cx23885_dvb_register() allocating 1 frontend(s) cx23885: cx23885[0]: cx23885 based dvb card i2c i2c-5: Added multiplexed i2c bus 12 si2168 5-0064: Silicon Labs Si2168-B40 successfully identified si2168 5-0064: firmware version: B 4.0.2 si2157 12-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached dvbdev: DVB: registering new adapter (cx23885[0]) cx23885 :17:00.0: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)... sp2 4-0040: CIMaX SP2 successfully attached cx23885: Technotrend TT-budget CT2-4500 CI MAC address: bc:ea:2b:45:05:68 cx23885: cx23885_dev_checkrevision() Hardware revision = 0xa5 cx23885: cx23885[0]/0: found at :17:00.0, rev: 4, irq: 31, latency: 0, mmio: 0xfe00 The remote is registered: Registered IR keymap rc-fusionhdtv-mce rc rc0: FusionHDTV as /devices/pci:00/:00:01.2/:15:00.2/:16:00.0/:17:00.0/i2c-4/4-006b/rc/rc0 input: FusionHDTV as /devices/pci:00/:00:01.2/:15:00.2/:16:00.0/:17:00.0/i2c-4/4-006b/rc/rc0/input18 rc rc0: lirc_dev: driver ir_kbd_i2c registered at minor = 0, scancode receiver, no transmitter ir-keytable reports: Found /sys/class/rc/rc0/ (/dev/input/event15) with: Name: FusionHDTV Driver: ir_kbd_i2c, table: rc-fusionhdtv-mce lirc device: /dev/lirc0 Supported protocols: unknown Enabled protocols: unknown bus: 24, vendor/product: :, version: 0x Repeat delay = 500 ms, repeat period = 125 ms Apparently, no protocols are reported. evtest on /dev/input/event15 reports no events. The error was reported before: http://lirc.10951.n7.nabble.com/Problems-with-cx23885-IR-receiver-td10884.html The remote is working, I verified it with a camera. Regards, Martin