Kodi Community Forum

Full Version: CIR IR-adapter does not work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

first of all, when I boot Windows 7, the IR is working fine!

I have the ASRock FM2A75 µATX board, which has a CIR port and I attached an IR module.
My remote is a Harmony 555 set to MCE Keyboard.
I am running minimal Ubuntu 12.10 (installed with the script from these forums) and installed lirc.

My hardware.conf is the following:
Code:
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev nuvoton-cir"
REMOTE_DRIVER="default"
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="remotes/mceusb"
REMOTE_LIRCD_ARGS=""

And my lircd.conf is:
Code:
include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"

dmesg shows the following:
Code:
[    2.010534] Registered IR keymap rc-rc6-mce
[    2.011090] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:04/rc/rc0/input2
[    2.011160] rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:04/rc/rc0
[    2.016236] nuvoton_cir: driver has been successfully loaded
[    2.024115] IR NEC protocol handler initialized
[    2.028216] IR RC5(x) protocol handler initialized
[    2.032897] IR RC6 protocol handler initialized
[    2.036710] IR JVC protocol handler initialized
[    2.049471] IR Sony protocol handler initialized
[    2.052555] IR SANYO protocol handler initialized
[    2.066880] input: MCE IR Keyboard/Mouse (nuvoton-cir) as /devices/virtual/input/input3
[    2.066997] IR MCE Keyboard/mouse protocol handler initialized
[    2.071116] lirc_dev: IR Remote Control driver registered, major 249
[    2.076044] rc rc0: >lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[    2.076047] IR LIRC bridge handler initialized

ir-keytable shows the following:
Code:
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
    Driver nuvoton-cir, table rc-rc6-mce
    Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
    Enabled protocols: LIRC
    Repeat delay = 500 ms, repeat period = 125 ms

ir-keytable -t and irw do not respond.

Can anyone help me?
I have a ION1 with a nuvoton nct775F working fully with mce remote.

Here is my /etc/lirc/hardware.conf

Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Nuvoton Transceivers/Remotes"
REMOTE_MODULES="lirc_dev nuvoton-cir"
REMOTE_DRIVER="default"
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=""

My internal CIR worked out of box with no lirc, problem is most remote keys didnt work, (now all do) followed the instruction to the letter on link in my signature something I found on forums. I didnt mess with anything else fyi.

Never had to resort to ir-keytable or irw, just did what thread posted, and I didn't do anything else at all.

uNi

Hi uNi,

that's what I had set, except the description at the top...

I have made a little progress today:

When I disable lirc and do not reboot, ir-keytable works, but receives key presses twice or thrice.
XBMC is the same then. As soon as I reenable lirc, it stops working.
When I completely remove lirc, it works. When I reboot after that, it doesn't work.

Ir-keytable shows always the same, except for "enabled protocols":
When I disable lirc, it shows all supported protocols.
When I remove lirc and reboot, it shows only RC-6.
When lirc is enabled, it shows only LIRC.

Any tips?
Kernel is 3.5.0.17
No tips, except have a look at http://forum.xbmc.org/showthread.php?tid=101151

uNi
@hanzoh

Any new my friend? I'm waiting here for news that never come....

Hope Everything is ok, just pop in and lets us know whats going on..ok?

uNi