mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #04789
[Bug 778296] Re: lirc not working correctly on 2.6.38 kernel
There are two perfectly valid ways to use the mceusb driver, one is via
the "default" lirc driver and /dev/lirc0, the other is using devinput
and the mceusb device's input layer event device (or better, its symlink
in /dev/input/by-id/). The current problem with trying to use devinput
mode is that the lirc initscript is disabling all the in-kernel
decoders, upon which devinput mode relies to get raw IR scancodes
translated into Linux input layer event keycodes.
The simple fix for this sort of thing I threw into the Fedora lirc
initscripts was to NOT twiddle /sys/class/rc/rc*/protocols when the lirc
driver mode is set to devinput. I'd suggest doing the same here.
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/778296
Title:
lirc not working correctly on 2.6.38 kernel
Status in “lirc” package in Ubuntu:
New
Bug description:
Binary package hint: lirc
lirc not working correctl y on 2.6.38 kernel. I reverted back to lirc
not working correctly on 2.6.35 kernel and it starts working. I
understand that mceusb is now part of kernel driver. So I have
accordingly changed hardware.conf. I dont see anything on irw or ir-
keytable -t when i press my remote(s). Tried multiple remotes to see
the input. I can confirm that there is /dev/lirc0. When I do cat
/dev/lirc0 and press remote I see garbage spew on the screen.
My IR Receiver is
Bus 003 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver
# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event5) with:
Driver mceusb, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC
Enabled protocols: LIRC
Repeat delay = 500 ms, repeat period = 33 ms
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/event5" (found using ir-keytable)
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lircd.conf" (Copy /usr/share/lirc/remotes/devinput/lircd.conf.devinput to /etc/lirc/lircd.conf)
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER=""
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lirc 0.8.7-0ubuntu4.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri May 6 01:12:38 2011
InstallationMedia: Mythbuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lirc
UpgradeStatus: Upgraded to natty on 2011-05-02 (3 days ago)
References