我在使用 Windows Media Center Remote 10.10 Mythbuntu 时没有遇到任何问题,但升级后,它不再影响 Mythbuntu。
我已经在 Mythbuntu 控制中心验证并重新安装了它。
我已经用来irw
验证它们的按钮操作是否被 HTPC 正确接收。
我该如何修复此问题?
3.2.0-26-generic(#41-Ubuntu SMP 2012 年 6 月 14 日星期四 17:49:24 UTC)Xorg 版本:1.11.3(2012 年 7 月 16 日 08:06:31PM)GCC:4.6(x86_64-linux-gnu)截至 2012‧07‧21 的最新更新
$cat /etc/lirc/hardware.con
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
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"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
# lsusb | grep -i infrared
Bus 003 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver
答案1
好的,我发现编辑 .mythtv/lircrc 文件是答案。我必须在所有 button = keyname 行前面添加一个“key_”。
例如 button = Up 变成 button = key_Up
希望有帮助。