You are not logged in.

#1 2011-05-05 18:42:59

Damon
Member
From: Germany
Registered: 2009-04-09
Posts: 7

[HAL] IR receiver not ignored

Hello,

I'm struggling with my remote's IR receiver which is part of my tv card. I know that HAL detects the device as a keyboard therefore I tried to ignore it by fdi file:

$ cat /usr/share/hal/fdi/preprobe/20thirdparty/lirc.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" contains_ncase="cx88 IR">
    <merge key="info.ignore" type="bool">true</merge>
</match>
</device>
</deviceinfo>

Nevertheless this doesn't change nothing. I wonder whether this is just the wrong location/name of the fdi file. Beats the hell out of me...

Some additional information:

$ lshal | grep cx88
info.linux.driver = 'cx88-mpeg driver manager'  (string)
input.product = 'cx88 IR (Hauppauge Nova-T DVB-T'  (string)
info.linux.driver = 'cx8800'  (string)
$ dmesg | grep cx88
[    5.405757] cx88/0: cx2388x v4l2 driver version 0.0.8 loaded
[    5.406090] cx8800 0000:01:07.0: PCI INT A -> Link[APC4] -> GSI 19 (level, low) -> IRQ 19
[    5.407413] cx88[0]: subsystem: 0070:9002, board: Hauppauge Nova-T DVB-T [card=18,autodetected], frontend(s): 1
[    5.407416] cx88[0]: TV tuner type 4, Radio tuner type -1
[    5.482694] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.8 loaded
[    5.562010] cx88[0]: hauppauge eeprom: model=90002
[    6.020264] input: cx88 IR (Hauppauge Nova-T DVB-T as /devices/pci0000:00/0000:00:09.0/0000:01:07.0/rc/rc0/input4
[    6.020370] rc0: cx88 IR (Hauppauge Nova-T DVB-T as /devices/pci0000:00/0000:00:09.0/0000:01:07.0/rc/rc0
[    6.020381] cx88[0]/0: found at 0000:01:07.0, rev: 5, irq: 19, latency: 32, mmio: 0xf4000000
[    6.020486] cx88[0]/0: registered device video0 [v4l2]
[    6.020530] cx88[0]/0: registered device vbi0
[    6.021812] cx88[0]/2: cx2388x 8802 Driver Manager
[    6.021831] cx88-mpeg driver manager 0000:01:07.2: PCI INT A -> Link[APC4] -> GSI 19 (level, low) -> IRQ 19
[    6.021838] cx88[0]/2: found at 0000:01:07.2, rev: 5, irq: 19, latency: 32, mmio: 0xf5000000
[    6.207833] cx88/2: cx2388x dvb driver version 0.0.8 loaded
[    6.207837] cx88/2: registering cx8802 driver, type: dvb access: shared
[    6.207841] cx88[0]/2: subsystem: 0070:9002, board: Hauppauge Nova-T DVB-T [card=18]
[    6.207844] cx88[0]/2: cx2388x based DVB/ATSC card
[    6.207847] cx8802_alloc_frontends() allocating 1 frontend(s)
[    6.275844] DVB: registering new adapter (cx88[0])

Thanks in advance

Damon

Offline

#2 2011-05-05 19:48:59

laloch
Member
Registered: 2010-02-04
Posts: 186

Re: [HAL] IR receiver not ignored

hi, try this:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
    <device>
        <match key="info.category" contains="input">
            <match key="input.product" contains="cx88 IR">
                <merge key="info.ignore" type="bool">true</merge>
            </match>
        </match>
    </device>
</deviceinfo>

Offline

#3 2011-05-05 20:21:31

Damon
Member
From: Germany
Registered: 2009-04-09
Posts: 7

Re: [HAL] IR receiver not ignored

Thanks for your reply laloch. Just edited my lirc.fdi and did a reboot.

Anyway my remote still behaves like a keyboard. But:

udi = '/org/freedesktop/Hal/devices/temp/91'
  info.ignore = true  (bool)
  info.parent = '/org/freedesktop/Hal/devices/pci_14f1_8802'  (string)
  info.product = 'Ignored Device'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/ignored-device'  (string)
  input.device = '/dev/input/event4'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/pci_14f1_8802'  (string)
  input.product = 'cx88 IR (Hauppauge Nova-T DVB-T'  (string)
  linux.device_file = '/dev/input/event4'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:09.0/0000:01:07.2/rc/rc0/input4/event4'  (string)

Maybe I have to ignore something else? Full lshal here:

http://pastebin.com/VtaeKsdZ

Offline

#4 2011-05-05 21:15:32

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [HAL] IR receiver not ignored

Why are you still using hal? It's obsolete, and nothing significant in the repos depends on it anymore.

Offline

#5 2011-05-06 03:24:27

Damon
Member
From: Germany
Registered: 2009-04-09
Posts: 7

Re: [HAL] IR receiver not ignored

Okay, good point. Thank you tomk. I just removed hal without breaking or affecting anything. But the problem exists. The solution ignoring the ir device by fdi file used to work for me in the past. But - as you said - this seems obsolete.

But anyway: What (if not hal) detects my remote as a keyboard? And how to get rid of that behavior?

Offline

#6 2011-05-06 06:07:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [HAL] IR receiver not ignored

xorg is doing the autodetection, so you'll need to create the xorg config's equivalent of your old .fdi ignore setup. Details in man xorg.conf - look for Option "Ignore" in the INPUTCLASS SECTION .

Offline

Board footer

Powered by FluxBB