You are not logged in.

#1 2011-04-28 19:59:25

unixeagle
Member
Registered: 2011-04-28
Posts: 4

LIRC TeVii S-460 - 2.6.38-ARCH Not Working

Hi All,

I'm running 2.6.38-ARCH and I installed lirc-utils with pacman. I have /dev/lirc0 and /dev/lirc1 created successfully after boot, so the kernel must have recognized my hardware correctly. I have two tuners in my system and both are the exact same card, TeVii S-460 with Conexant chipset, cx88.

I use only one remote at this time, it is /dev/lirc0, I believe. I had done as suggested on many threads:

echo lirc > /sys/class/rc/rc0/protocols

now if I do:

cat /dev/lirc0

I get continuous rubbish on the terminal, whether or not I press any key on my remote. If I press a key, the rubbish is increased as long as I keep pressing. This happens with lircd running and not running!. This makes me think that /dev/lirc0 is a raw device that hasn't yet kernel-treated.

Starting lircd and trying irw gives nothing at all. I tried many suggestions and read tons of articles, but the each time I end up with the same frustrating result.

Please find the relevant parts of config and log files:

  • cat /proc/bus/input/devices

    I: Bus=0001 Vendor=d420 Product=9022 Version=0001
    N: Name="cx88 IR (TeVii S420 DVB-S)"
    P: Phys=pci-0000:02:01.2/ir0
    S: Sysfs=/devices/pci0000:00/0000:00:1e.0/0000:02:01.2/rc/rc0/input6
    U: Uniq=
    H: Handlers=kbd event6 
    B: PROP=0
    B: EV=100013
    B: KEY=6c0904 2470d1 0 0 0 8 10000 190 40000840 e1680 1 f8000000 ffc
    B: MSC=10
    
    I: Bus=0001 Vendor=d420 Product=9022 Version=0001
    N: Name="cx88 IR (TeVii S420 DVB-S)"
    P: Phys=pci-0000:02:04.2/ir0
    S: Sysfs=/devices/pci0000:00/0000:00:1e.0/0000:02:04.2/rc/rc1/input7
    U: Uniq=
    H: Handlers=kbd event7 
    B: PROP=0
    B: EV=100013
    B: KEY=6c0904 2470d1 0 0 0 8 10000 190 40000840 e1680 1 f8000000 ffc
    B: MSC=10
  • dmesg

    [   10.610052] Registered IR keymap rc-tevii-nec
    [   10.611118] input: cx88 IR (TeVii S420 DVB-S) as /devices/pci0000:00/0000:00:1e.0/0000:02:01.2/rc/rc0/input6
    [   10.611749] rc0: cx88 IR (TeVii S420 DVB-S) as /devices/pci0000:00/0000:00:1e.0/0000:02:01.2/rc/rc0
    [   10.612876] rc rc0: lirc_dev: driver ir-lirc-codec (cx88xx) registered at minor = 0
    [   10.612886] cx88[0]/2: cx2388x 8802 Driver Manager
    [   10.612913] cx88-mpeg driver manager 0000:02:01.2: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    [   10.612927] cx88[0]/2: found at 0000:02:01.2, rev: 5, irq: 22, latency: 32, mmio: 0xfd000000
    [   10.618788] cx88[1]: subsystem: d420:9022, board: TeVii S420 DVB-S [card=73,autodetected], frontend(s): 1
    [   10.618796] cx88[1]: TV tuner type -1, Radio tuner type -1
    [   10.751518] tuner 2-0068: chip found @ 0xd0 (cx88[1])
    [   11.118937] Registered IR keymap rc-tevii-nec
    [   11.119209] input: cx88 IR (TeVii S420 DVB-S) as /devices/pci0000:00/0000:00:1e.0/0000:02:04.2/rc/rc1/input7
    [   11.119402] rc1: cx88 IR (TeVii S420 DVB-S) as /devices/pci0000:00/0000:00:1e.0/0000:02:04.2/rc/rc1
    [   11.123410] rc rc1: lirc_dev: driver ir-lirc-codec (cx88xx) registered at minor = 1
    [   11.123425] cx88[1]/2: cx2388x 8802 Driver Manager
    [   11.123450] cx88-mpeg driver manager 0000:02:04.2: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    [   11.123465] cx88[1]/2: found at 0000:02:04.2, rev: 5, irq: 18, latency: 32, mmio: 0xfb000000
    [   11.123571] cx8800 0000:02:01.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    [   11.123586] cx88[0]/0: found at 0000:02:01.0, rev: 5, irq: 22, latency: 32, mmio: 0xfc000000
    [   11.123745] cx88[0]/0: registered device video0 [v4l2]
    [   11.123861] cx88[0]/0: registered device vbi0
    [   11.123876] tuner 1-0068: tuner type not set
    [   11.126555] cx8800 0000:02:04.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    [   11.126572] cx88[1]/0: found at 0000:02:04.0, rev: 5, irq: 18, latency: 32, mmio: 0xfa000000
    [   11.126826] cx88[1]/0: registered device video1 [v4l2]
    [   11.126923] cx88[1]/0: registered device vbi1
    [   11.126937] tuner 2-0068: tuner type not set
    [   11.190437] cx88/2: cx2388x dvb driver version 0.0.8 loaded
    [   11.190443] cx88/2: registering cx8802 driver, type: dvb access: shared
    [   11.190450] cx88[0]/2: subsystem: d420:9022, board: TeVii S420 DVB-S [card=73]
    [   11.190455] cx88[0]/2: cx2388x based DVB/ATSC card
    [   11.190459] cx8802_alloc_frontends() allocating 1 frontend(s)
    [   11.358559] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [   11.358573] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
    [   11.358933] NVRM: loading NVIDIA UNIX x86 Kernel Module  173.14.30  Thu Apr 14 08:47:14 PDT 2011
    [   11.825080] DVB: registering new adapter (cx88[0])
    [   11.825092] DVB: registering adapter 0 frontend 0 (ST STV0288 DVB-S)...
    [   11.826080] cx88[1]/2: subsystem: d420:9022, board: TeVii S420 DVB-S [card=73]
    [   11.826088] cx88[1]/2: cx2388x based DVB/ATSC card
    [   11.826093] cx8802_alloc_frontends() allocating 1 frontend(s)
    [   12.236719] DVB: registering new adapter (cx88[1])
    [   12.236728] DVB: registering adapter 1 frontend 0 (ST STV0288 DVB-S)...
  • ir-keytable

    Found /sys/class/rc/rc0/ (/dev/input/event6) with:
            Driver cx88xx, table rc-tevii-nec
            Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC 
            Enabled protocols: LIRC 
            Repeat delay = 500 ms, repeat period = 33 ms
    Found /sys/class/rc/rc1/ (/dev/input/event7) with:
            Driver cx88xx, table rc-tevii-nec
            Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC 
            Enabled protocols: 
            Repeat delay = 500 ms, repeat period = 33 ms
  • lsmod | grep lirc:

    ir_lirc_codec           3727  0 
    lirc_dev                7803  1 ir_lirc_codec
    rc_core                12840  10 rc_tevii_nec,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,cx88xx,ir_rc5_decoder,ir_nec_decoder
  • /etc/conf.d/lircd.conf

    #
    # Parameters for lirc daemon
    #
    
    LIRC_DEVICE="/dev/lirc0"
    LIRC_DRIVER="devinput"
    LIRC_EXTRAOPTS=""
    LIRC_CONFIGFILE="/etc/lirc/lircd.conf"
  • /etc/lirc/lircd.conf: copied /usr/share/lirc/remotes/devinput/lircd.conf.devinput over.

  • pacman -Q | grep lirc:

    lirc-utils 1:0.9.0-2

What am I doing wrong? I'd appreciate any spotlight given on how to configure lirc correctly, as this box is acting as a mythtv backend/frontend, so the remote control is crucial.

In the journey of searching for the best distro ever, Arch Linux seems to be my final destination. No more fiddling with distros and comparing them, I also won't go back to Ubuntu any more, no more bloated installations for me, please.

Regards,
UnixEagle

Last edited by unixeagle (2011-04-28 20:21:37)

Offline

#2 2011-04-30 20:51:21

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: LIRC TeVii S-460 - 2.6.38-ARCH Not Working

Offline

#3 2011-05-01 12:25:29

unixeagle
Member
Registered: 2011-04-28
Posts: 4

Re: LIRC TeVii S-460 - 2.6.38-ARCH Not Working

After spending more time trying to get this issue solved, I'm all convinced now that the problem is more universal than it seemed to me at first. Many people are suffering the same behavior with the new kernel 2.6.38, let it be a vanilla kernel, or a distro patched one.

The major reason for all this mess to happen is that the IR subsystem is undergoing severe makeup operations and plastic surgery, they are replacing drivers and removing others. The bottom line is that the whole process didn't went as smooth as it should be, and it will take some time to iron the wrinkles and to let the new subsystem to heal completely. Until this happens, I guess one should opt for a USB receiver that is supported by lirc. I will look around for one, and I will post my results on how it did go with configuring it and getting it to work with my TeVii remote control.

However, thanks for help.

Regards,

Offline

Board footer

Powered by FluxBB