Natty - Windows MCE remote triggering events to lirc and as a keyboard making mythtv frontend unusable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lirc (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xorg
Due to a recent change in either X or the kernel, my media center remote is now being picked up as a keyboard, as well as lirc. Therefore when using mythtvfrontend, boxee, xbmc I the cursor moves twice for every keypress.
I have temporarily resolved the issue by disabling lirc - but this means that the OK button which is mapped to keycode 352
is not picked up by X - I guess this is because it is over 255.
If I could remap 'ok' to the enter key - my problems would be solved - but I dont have a clue how to do this.
I imagine a lot of other people will experience similar issues once 11.04 is released - so it would be useful
if the re-mapping could be implemented as part of the ubuntu release.
Please feel free to re-assign this bug - I wasnt sure where to send it.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86 Kernel Module 270.41.03 Sat Apr 9 00:04:57 PDT 2011
GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)
Architecture: i386
CompizPlugins: [core,bailer,
CompositorRunning: compiz
Date: Tue Apr 19 23:34:37 2011
DistUpgraded: Log time: 2011-04-11 19:57:21.866708
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus: nvidia-current, 270.41.03, 2.6.38-8-generic, i686: installed
GraphicsCard:
nVidia Corporation ION VGA [10de:087d] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:0222]
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
JockeyStatus: xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, Not in use)
MachineType: Acer Aspire R3610
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
Renderer: Unknown
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to natty on 2011-04-11 (8 days ago)
dmi.bios.date: 12/02/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P01-A4L
dmi.board.
dmi.board.name: FMCP7A-ION-LE
dmi.board.vendor: Acer
dmi.chassis.type: 3
dmi.chassis.vendor: Acer
dmi.modalias: dmi:bvnAmerican
dmi.product.name: Aspire R3610
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.4+
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.
version.
version.
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → xserver-xorg-input-evdev (Ubuntu) |
affects: | xserver-xorg-input-evdev (Ubuntu) → linux (Ubuntu) |
Changed in lirc (Ubuntu): | |
status: | New → Incomplete |
The correct fix for this in Natty is this:
echo lirc > /sys/class/ rc/rc0/ protocols
Just add that line to /etc/rc.local and it will be done at boot. This is not an Xorg bug but a side-effect of the kernel now understanding IR remote controls and generating keyboard events for them. You just disable the decoding and tell the kernel to send LIRC events and all is well.