Module ir_common interfeers with lirc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Invalid
|
Medium
|
|||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
linux-source-2.6.17 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-source-2.6.17
Since 2.6.17 kernel (edgy's images and vanilla self-compiled kernels), theres a module called ir_common that provides a new "feature" to manage remote control's keys.
This makes, by default (live cd included), an echo of numbers keys on my remote control to the active window, and also opens "shutdown menu" when pressing to the shutdown button.
Ok, cool new feature, BUT the problem comes when trying to use lirc, as that module CANNOT be unloaded and interfeers with normal behaviour of lirc.
In example, if I configure button 1 to launch firefox, with kernel 2.6.15 and lirc running it will launch firefox, BUT with kernel 2.6.17 and lirc running it will launch firefox AND outputs the character 1 to the active window.
That module cannot be unloaded because it depends on bttv, and it's neccesary to make TV card work.
My TV card is an avermedia capture 98.
This bug is confirmed in dapper with 2.6.17 kernel compiled from kernel.org, and with edgy (default kernels in knot, knot2, knot3, beta, and RC1)
ir_common module is not a bug itself, it can be considered as a new feature, but it becomes an annoying bug when someone want to use lirc, so it should be unloaded when lircd process is running (or at least there should be a way to unload it manually)
Changed in linux: | |
status: | Unconfirmed → Unknown |
Changed in linux: | |
status: | Unknown → Confirmed |
Changed in linux: | |
status: | Confirmed → Invalid |
Changed in linux: | |
importance: | Unknown → Medium |
I've made the trick.
There's to do this in order to keep lirc users able to user lirc as in dapper:
In kernel source tree, edit this file:
drivers/ media/common/ ir-keymaps. c
It contains definitions of certain tv card remote controls. To avoid kernel catching remote control signals, there's to delete such definitions.
I've attached the file that made the trick with last edgy kernel.
When compiling kernel with new ir-keymaps.c, ir_common module is still present, but it wont do any harm to lirc users again.
When kernel.org provides a way to change functions to remote control keys (or even deactive it), ubuntu should come back to use their ir-keymaps.c archive.