Problems with cx23885 IR receiver

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with cx23885 IR receiver

Florian Lindner
Hello,

I bought a TechnoTrend TT-budget CT2-4500 [1,2] DVB-C card.

By recommendation from the list linux-media I use the firmware from
http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/4.0.11/

Aaccording to linuxtv.org my card is an OEM version of the DVB Sky T980C).

I got the TV part working, however, the IR receiver is not working yet.

I do a modprobe ir-kbd-i2c, the journal then says:

kernel: Registered IR keymap rc-fusionhdtv-mce
kernel: input: i2c IR (FusionHDTV) as /devices/virtual/rc/rc0/input20
kernel: rc rc0: i2c IR (FusionHDTV) as /devices/virtual/rc/rc0
kernel: ir-kbd-i2c: i2c IR (FusionHDTV) detected at i2c-7/7-006b/ir0
[cx23885[0]]

The device works as a dev/input device:

# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event17) with:
        Driver ir-kbd-i2c, table rc-fusionhdtv-mce
        Supported protocols: unknown
        Enabled protocols: unknown
        Name: i2c IR (FusionHDTV)
        bus: 24, vendor/product: 0000:0000, version: 0x0000
        Repeat delay = 500 ms, repeat period = 125 ms

However, I can get no results from event17 using `cat /dev/input/event17`.

The remote works (I can see the IR blinking using a cellphone camera)

Also, lircd gets no results:

# lircd --loglevel=debug --nodaemon -H dev/input -d /dev/input/event17
lircd-0.9.3a[2273]: Warning: Running as root
lircd-0.9.3a[2273]: Info: Using remote: Technotrend.
lircd-0.9.3a[2273]: Notice: lircd(devinput) ready, using /var/run/lirc/lircd

Now using irw /var/run/lirc/lircd also get's no signales from the remote.

Kernel is 4.6.3, distribution is Arch.

Any hints you might have? Any more lowlevel debugging ideas?

Thanks,
Florian

[1] http://www.technotrend.eu/2984/TT-budget_CT2-4500_CI.html
[2] https://www.linuxtv.org/wiki/index.php/TechnoTrend_TT-budget_CT2-4500_CI
[3] https://github.com/OpenELEC/dvb-firmware/tree/master/firmware
[4] https://aur.archlinux.org/packages/openelec-dvb-firmware/
[5] https://www.linuxtv.org/wiki/index.php/DVBSky_T980C

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
Reply | Threaded
Open this post in threaded view
|

Re: Problems with cx23885 IR receiver

Alec Leamas


On 28/06/16 16:13, Florian Lindner wrote:

>
> I got the TV part working, however, the IR receiver is not working yet.
>
> I do a modprobe ir-kbd-i2c, the journal then says:
>
> kernel: Registered IR keymap rc-fusionhdtv-mce
> kernel: input: i2c IR (FusionHDTV) as /devices/virtual/rc/rc0/input20
> kernel: rc rc0: i2c IR (FusionHDTV) as /devices/virtual/rc/rc0
> kernel: ir-kbd-i2c: i2c IR (FusionHDTV) detected at i2c-7/7-006b/ir0
> [cx23885[0]]
>
> The device works as a dev/input device:
>
> # ir-keytable
> Found /sys/class/rc/rc0/ (/dev/input/event17) with:
>          Driver ir-kbd-i2c, table rc-fusionhdtv-mce
>          Supported protocols: unknown
>          Enabled protocols: unknown
>          Name: i2c IR (FusionHDTV)
>          bus: 24, vendor/product: 0000:0000, version: 0x0000
>          Repeat delay = 500 ms, repeat period = 125 ms
Nope, this device does not work as a input device in the kernel sense -
in that case the 'cat

/dev/input/event17' should print some garbage on the screen. If you wan to explore this path you should contact some kernel support forum.

>
> Also, lircd gets no results:

Since you have no data on /dev/input/eventXX the devinput driver can't
possibly work - it's just a thin layer on top of those devices.

You might want to give the default driver a chance, using the /dev/lirc0
device. This might mean that you need to use irrecord to create a new
config file. However, the first test would be something like "mode2
--raw --device /dev/lirc0" and pushing some buttons.


Cheers!

--alec

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape