Comment 25 for bug 204960

Revision history for this message
Fastguy (erenoglu) wrote :

Hi,

I have an Avermedia M115 mini-pci-e TV card on an Acer Aspire 5652. The card has an infrared device which is exactly working as described in the original bug report. I can get some of the keys like 1-2-3-OK etc. on the login screen, terminal window etc.

System is a Mythbuntu 8.10 beta 1 updated to latest packages as of Oct 24, 2008.

Nevertheless, most of the keys on the IR remote don't work, I receive such messages in dmesg:
[100603.834359] atkbd.c: Unknown key pressed (translated set 2, code 0x9e on isa0060/serio0).
[100603.834375] atkbd.c: Use 'setkeycodes e01e <keycode>' to make it known.

I also see that my lshal reports something else, so the HAL solution here does not work. Here's the interesting part below, also stange that I have not one but two devices, event7 and event8 on the video bus:

 udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'
 info.addons.singleton = {'hald-addon-input'} (string list)
   info.callouts.add = {'debian-setup-keyboard'} (string list)
   info.capabilities = {'input', 'input.keys', 'button'} (string list)
 info.category = 'input' (string)
   info.parent = '/org/freedesktop/Hal/devices/computer' (string)
   info.product = 'Video Bus' (string)
   info.subsystem = 'input' (string)
   info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1' (string)
   input.device = '/dev/input/event8' (string)
   input.product = 'Video Bus' (string)
   input.x11_driver = 'evdev' (string)
 input.xkb.layout = 'us' (string)
   input.xkb.model = 'pc105' (string)
   input.xkb.rules = 'evdev' (string)
   linux.device_file = '/dev/input/event8' (string)
   linux.hotplug_type = 2 (0x2) (int)
   linux.subsystem = 'input' (string)
   linux.sysfs_path = '/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:06/input/input8/event8' (string)

 udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_0'
   info.addons.singleton = {'hald-addon-input'} (string list)
   info.callouts.add = {'debian-setup-keyboard'} (string list)
   info.capabilities = {'input', 'input.keys', 'button'} (string list)
   info.category = 'input' (string)
   info.parent = '/org/freedesktop/Hal/devices/computer' (string)
   info.product = 'Video Bus' (string)
   info.subsystem = 'input' (string)
   info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_0' (string)
   input.device = '/dev/input/event7' (string)
   input.product = 'Video Bus' (string)
   input.x11_driver = 'evdev' (string)
   input.xkb.layout = 'us' (string)
   input.xkb.model = 'pc105' (string)
   input.xkb.rules = 'evdev' (string)
   linux.device_file = '/dev/input/event7' (string)
   linux.hotplug_type = 2 (0x2) (int)
   linux.subsystem = 'input' (string)
   linux.sysfs_path = '/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/device:02/input/input7/event7' (string)

Changing the /usr/share/hal/fdi/preprobe/20thirdparty/lirc.fdi file contents to match the upper mentioned device silences the compaints of lircd and inputlircd about the exclusive access, but does not make the remote work.

cat /dev/input/event7 and cat /dev/input/event8 and irw are always silent, even for the already recognized keys..,

I guess the first step is to get the kernel recognize those keys. But if it's going to be manual, that would be a hard work due to a total of 48 keys on the remote (some working).

Note: no input devices are configured in xorg.conf, nvidia driver is loaded to do it automatically. Xorg.0.log shows nothing about the remote getting configured.

Any clues?