Kodi Community Forum

Full Version: OpenELEC IR setup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hello. I have a fresh install of OpenELEC on my HTPC and I'm trying to configure a remote, but I cant seem to do it. Does anyone know which guide I need to follow because everyone I've tried so far just throws up errors.

Any help is appreciated,
Chris.
Thats the price you pay with Openelec. Its a pain in the butt non standard XBMC and the main reason I wont use it. IMO there is no advantage to Openelec other than a fast boot.

I boot my machine 5 times a year. I leave it on all day everyday.

Sorry I couldn't help, but I felt the need to reply so someone else might not make the same mistake.
I wrote small article about mapping of the buttons: http://intelnuc.blogspot.fi/2014/01/mapp...ntrol.html

You did not specify what kind of problems you have with the remote, but maybe that will help you a bit.
(2014-03-15, 00:51)FishOil Wrote: [ -> ]Thats the price you pay with Openelec. Its a pain in the butt non standard XBMC and the main reason I wont use it. IMO there is no advantage to Openelec other than a fast boot.

I boot my machine 5 times a year. I leave it on all day everyday.

Sorry I couldn't help, but I felt the need to reply so someone else might not make the same mistake.

I switched to OpenELEC because XBMCbuntu was giving me problems. The resolution kept switching randomly and I could only see a quarter of the screen at times. I have no idea why but I tried OpenELEC and it works great.

(2014-03-15, 00:59)nickr Wrote: [ -> ]That's a bit harsh. Try http://wiki.openelec.tv/index.php/Guide_...own_remote

Thanks for the link. I tried to follow it but when I ran "Chris-HTPC:~ # ir-keytable -p NEC,RC-5,RC-6,JVC,SONY,LIRC,OTHER" It said "/sys/class/rc/: No such file or directory".

(2014-03-15, 12:34)trsqr Wrote: [ -> ]I wrote small article about mapping of the buttons: http://intelnuc.blogspot.fi/2014/01/mapp...ntrol.html

You did not specify what kind of problems you have with the remote, but maybe that will help you a bit.

Ok thanks I will take a look.
When I tried to run "Chris-HTPC:~ # irw", it said "-sh: connect:: not found"

Cheers,
Chris.
Or you use:

http://flirc.tv/

Which seems pretty easy. I ordered one (and hopefully it will be delivered today) for 24€. Cheap, easy to use and should work out of the box.

Give it a try Wink
If /sys/class/rc doesn't exist it means Openelec doesn't recognize your remote. You haven't even told us what remote it is so it's hard to give any further advice.

@FishOil: OpenElec is not that bad. It's less versatile, but what works generally works very well. I always prefer it over XBMCbuntu (I don't recommend the latter to anyone, just like I ignore every topic with XBMCbuntu in the name these days).
My flirc was delivered today. Unboxed it at 5pm. Now it´s 5:48pm here and my remote is working with openelec beta2 out of the box.

So, I would give it a try Wink
(2014-03-17, 19:50)David1977 Wrote: [ -> ]My flirc was delivered today. Unboxed it at 5pm. Now it´s 5:48pm here and my remote is working with openelec beta2 out of the box.

So, I would give it a try Wink

I would but I only just bought this one.

(2014-03-17, 18:53)negge Wrote: [ -> ]If /sys/class/rc doesn't exist it means Openelec doesn't recognize your remote. You haven't even told us what remote it is so it's hard to give any further advice.

@FishOil: OpenElec is not that bad. It's less versatile, but what works generally works very well. I always prefer it over XBMCbuntu (I don't recommend the latter to anyone, just like I ignore every topic with XBMCbuntu in the name these days).

OK. Well the remote I want to use is my surround AMP remote. I bought a cheap USB IR receiver with a remote off ebay hoping to just use the receiver part.
I've moved on from a Raspberry Pi. On my Pi I used one of those IR receiver LED's connected by 3 pins (GPIO?) which worked great. I was hoping to do the same thing with the USB IR receiver now I have better hardware. My Pi was running OpenELEC.

Any help is appreciated,
Chris.
FishOil has a guide somewhere on the site on how to make any remote work, I just can't find it right now. Perhaps it would solve your issue.
Thanks for the replies guys!

(2014-03-19, 00:22)negge Wrote: [ -> ]FishOil has a guide somewhere on the site on how to make any remote work, I just can't find it right now. Perhaps it would solve your issue.

Yes I think I have already tried it. The XBMCbuntu one?

(2014-03-19, 04:15)FishOil Wrote: [ -> ]I am posting two new guides that may help. Standby


http://forum.xbmc.org/showthread.php?tid=189618

http://forum.xbmc.org/showthread.php?tid=189617

Thanks. But when I run "ir-keytable -p lirc" I get...

Code:
Chris-HTPC:/ # ir-keytable -p lirc
/sys/class/rc/: No such file or directory

So I seem to get stuck at the first real step. The remote.xml file was there and I made a backup.

Do you have any idea why I cant get anything to work? I'm not a Linux expert but I do have some experience and I am able to follow instructions. It seems like something is wrong?

Cheers,
Chris.
(2014-03-20, 15:22)Chris230291 Wrote: [ -> ]Thanks for the replies guys!

(2014-03-19, 00:22)negge Wrote: [ -> ]FishOil has a guide somewhere on the site on how to make any remote work, I just can't find it right now. Perhaps it would solve your issue.

Yes I think I have already tried it. The XBMCbuntu one?

(2014-03-19, 04:15)FishOil Wrote: [ -> ]I am posting two new guides that may help. Standby


http://forum.xbmc.org/showthread.php?tid=189618

http://forum.xbmc.org/showthread.php?tid=189617

Thanks. But when I run "ir-keytable -p lirc" I get...

Code:
Chris-HTPC:/ # ir-keytable -p lirc
/sys/class/rc/: No such file or directory

So I seem to get stuck at the first real step. The remote.xml file was there and I made a backup.

Do you have any idea why I cant get anything to work? I'm not a Linux expert but I do have some experience and I am able to follow instructions. It seems like something is wrong?

Cheers,
Chris.

What happens if you
Code:
killall lircd
first and then and try ir-keytable again?

Do you see lirc0 when you do
Code:
ls /dev
If I run those I see...

Code:
OpenELEC (official) Version: 3.2.4
Chris-HTPC:~ # killall lircd
killall: lircd: no process killed
Chris-HTPC:~ # ls /dev
SYSTEM              nbd8                tty0                tty46
ati                 nbd9                tty1                tty47
autofs              net                 tty10               tty48
block               network_latency     tty11               tty49
bsg                 network_throughput  tty12               tty5
btrfs-control       null                tty13               tty50
bus                 port                tty14               tty51
char                ppp                 tty15               tty52
console             ptmx                tty16               tty53
core                pts                 tty17               tty54
cpu                 ram0                tty18               tty55
cpu_dma_latency     ram1                tty19               tty56
disk                ram10               tty2                tty57
fb0                 ram11               tty20               tty58
fd                  ram12               tty21               tty59
full                ram13               tty22               tty6
fuse                ram14               tty23               tty60
fw0                 ram15               tty24               tty61
hidraw0             ram2                tty25               tty62
i2c-0               ram3                tty26               tty63
i2c-1               ram4                tty27               tty7
input               ram5                tty28               tty8
kmsg                ram6                tty29               tty9
log                 ram7                tty3                ttyS0
loop-control        ram8                tty30               ttyS1
loop0               ram9                tty31               ttyS2
mem                 random              tty32               ttyS3
nbd0                rfkill              tty33               uinput
nbd1                rtc                 tty34               urandom
nbd10               rtc0                tty35               vcs
nbd11               rules.d             tty36               vcs1
nbd12               sda                 tty37               vcsa
nbd13               sda1                tty38               vcsa1
nbd14               sda2                tty39               vga_arbiter
nbd15               sg0                 tty4                watchdog
nbd2                shm                 tty40               watchdog0
nbd3                snd                 tty41               zero
nbd4                stderr              tty42               zram0
nbd5                stdin               tty43
nbd6                stdout              tty44
nbd7                tty                 tty45
Chris-HTPC:~ #

It appears It is undetected?

Cheers,
Chris.
(2014-03-23, 14:49)Chris230291 Wrote: [ -> ]If I run those I see...

Code:
OpenELEC (official) Version: 3.2.4
Chris-HTPC:~ # killall lircd
killall: lircd: no process killed
Chris-HTPC:~ # ls /dev
SYSTEM              nbd8                tty0                tty46
ati                 nbd9                tty1                tty47
autofs              net                 tty10               tty48
block               network_latency     tty11               tty49
bsg                 network_throughput  tty12               tty5
btrfs-control       null                tty13               tty50
bus                 port                tty14               tty51
char                ppp                 tty15               tty52
console             ptmx                tty16               tty53
core                pts                 tty17               tty54
cpu                 ram0                tty18               tty55
cpu_dma_latency     ram1                tty19               tty56
disk                ram10               tty2                tty57
fb0                 ram11               tty20               tty58
fd                  ram12               tty21               tty59
full                ram13               tty22               tty6
fuse                ram14               tty23               tty60
fw0                 ram15               tty24               tty61
hidraw0             ram2                tty25               tty62
i2c-0               ram3                tty26               tty63
i2c-1               ram4                tty27               tty7
input               ram5                tty28               tty8
kmsg                ram6                tty29               tty9
log                 ram7                tty3                ttyS0
loop-control        ram8                tty30               ttyS1
loop0               ram9                tty31               ttyS2
mem                 random              tty32               ttyS3
nbd0                rfkill              tty33               uinput
nbd1                rtc                 tty34               urandom
nbd10               rtc0                tty35               vcs
nbd11               rules.d             tty36               vcs1
nbd12               sda                 tty37               vcsa
nbd13               sda1                tty38               vcsa1
nbd14               sda2                tty39               vga_arbiter
nbd15               sg0                 tty4                watchdog
nbd2                shm                 tty40               watchdog0
nbd3                snd                 tty41               zero
nbd4                stderr              tty42               zram0
nbd5                stdin               tty43
nbd6                stdout              tty44
nbd7                tty                 tty45
Chris-HTPC:~ #

It appears It is undetected?

Cheers,
Chris.

Without further investigation it would seem that your USB IR Receiver is not detected.

With the correct receiver its pretty easy to get a remote going in OpenELEC.

What do you get from
Code:
cat /proc/bus/input/devices
Pages: 1 2 3