You are not logged in.
Pages: 1
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
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
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:
Offline
Why are you still using hal? It's obsolete, and nothing significant in the repos depends on it anymore.
Offline
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
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
Pages: 1