# Support for GPIO IR Receivers

**URL:** <https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740>\
**Category:** Apps & Creations\
**Created:** [March 15, 2013, 1:19pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740 "2013-03-15T13:19:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![timsimons](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@timsimons](https://forums.plex.tv/u/timsimons)\
**Post date:** [March 15, 2013, 1:19pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/1 "2013-03-15T13:19:34Z")

</div>

I see there's a card (Trello) for GPIO IR support under "Planned Features".&nbsp;&nbsp;But, I'm wondering if there's any timeline (estimated of course) that I could look forward to this being implemented.

&nbsp;

Thanks!

---

<div class="post-metadata">

**Author:** ![nicochi](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nicochi](https://forums.plex.tv/u/nicochi)\
**Post date:** [March 15, 2013, 2:09pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/2 "2013-03-15T14:09:29Z")

</div>

Works already with some manual setup.

Use the&nbsp;instruction&nbsp;at&nbsp;[http://www.raspberrypi.org/phpBB3/viewtopic.php?t=26946&p=241947](http://www.raspberrypi.org/phpBB3/viewtopic.php?t=26946&p=241947)

You do not need the first part, from half page after "Now for Openelec"

sudo is not woking on rasplex the "normal way" for me. I had to use su and password admin (after logging in as plexuser from ssh). Then you do not need sudo in front of the commands.

Not sure if autostart.sh is the bestplace to load lircd as a\_wein mention&nbsp;modprobe.d in Trello, but it works. Maybe some of the experts can advice...

Easiest way to transfer and edit files to the .config and .xbmc folders is to use SMB shares.

I notice some of the keypress for the remote are repeated for me (i.e. one press down results in two steps down) but I have to test this better.

---

<div class="post-metadata">

**Author:** ![dale.hamel](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@dale.hamel](https://forums.plex.tv/u/dale.hamel)\
**Post date:** [March 15, 2013, 4:37pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/3 "2013-03-15T16:37:35Z")

</div>

> I see there's a card (Trello) for GPIO IR support under "Planned Features".&nbsp;&nbsp;But, I'm wondering if there's any timeline (estimated of course) that I could look forward to this being implemented.
> 
> Thanks!

I will be working with the GPIO IR's this weekend. We'll make sure it works OOB.

---

<div class="post-metadata">

**Author:** ![nicochi](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nicochi](https://forums.plex.tv/u/nicochi)\
**Post date:** [March 15, 2013, 8:31pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/4 "2013-03-15T20:31:40Z")

</div>

you will always ned to record your own remote code and map it to XBMC actions.

How do you plan that OOB? GUI?

---

<div class="post-metadata">

**Author:** ![dale.hamel](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@dale.hamel](https://forums.plex.tv/u/dale.hamel)\
**Post date:** [March 16, 2013, 1:10am UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/5 "2013-03-16T01:10:07Z")

</div>

> you will always ned to record your own remote code and map it to XBMC actions.
> 
> How do you plan that OOB? GUI?

Can we not simply use the existing keymaps for most remotes?  
  
Yes, we'll have to have a custom GUI for this eventually.

---

<div class="post-metadata">

**Author:** ![a\_wein](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a_wein/32/2521_2.png) [@a\_wein](https://forums.plex.tv/u/a_wein)\
**Post date:** [March 16, 2013, 8:11am UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/6 "2013-03-16T08:11:17Z")

</div>

I've setup my GPIO-IR already. There still a lot of manual work - at least for remotes without lircd config.

Expect more support and documentation soon.

For now: Just use the guides for OpenELEC out there and follow updates to the trello card ([https://trello.com/card/support-for-gpio-ir/510c4d34e1d17df66c00092a/159](https://trello.com/card/support-for-gpio-ir/510c4d34e1d17df66c00092a/159)).

---

<div class="post-metadata">

**Author:** ![jhayes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jhayes/32/114601_2.png) [@jhayes](https://forums.plex.tv/u/jhayes)\
**Post date:** [March 17, 2013, 6:29am UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/7 "2013-03-17T06:29:21Z")

</div>

Ok guys hope you are ready for this. I take no credit for this walkthrough except for setting the order of the steps and verifying that they work on both 1.27 and 1.28 of RasPlex.  
  
This walk-though has only been verified on an Intel Mac Laptop running 10.8.2 to enable an Apple Silver Remote (A1294) though any remote will work with this walkthrough.  
  
1.)  
  
Use Terminal to SSH into RasPlex  
Default username should be "root" and the default password should be "rasplex"  
  
We need to create and edit a file called "rpi\_lirc.conf" and will do this by using the "nano" command:

```
nano /storage/.config/modprobe.d/rpi_lirc.conf
```
  

Now add the following 2 lines to include the lirc module:

```
lirc_dev
lirc_rpi gpio_in_pin=18
```
  

Save and exit.  
  
2.)  
  
Next we add the module, since the modules file is mounted on a read only file system, we will use modpobe to modify openelec to load the lirc module using an autostart file.  
Create the file and set the permissions of the file to execute:

```
touch /storage/.config/autostart.sh
chmod +x /storage/.config/autostart.sh
```
  

Next using "nano" command again we will edit the autostart.sh file:

```
nano storage/.config/autostart.sh
```
  

Now add the following 3 lines:

```
root ~/.config # cat autostart.sh
#!/bin/sh
(modprobe lirc_rpi;)&
```
  

Save and exit.  
  
Now reboot your device.  
  
3.)  
  
To check if the module is working:

```
ls -l /dev/lir*
```
  

This was my result and yours may vary but you get the gist:

```
crw------- 1 root root 249, 0 Jan 1 1970 /dev/lirc0
```
  

Next:

```
dmesg | grep lirc
```
  

This was my result and again your may vary:

```
[    7.198363] lirc_dev: IR Remote Control driver registered, major 249 
[    7.259752] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[    7.293149] lirc_rpi lirc_rpi.0: lirc_dev: driver lirc_rpi registered at minor = 0
[    7.293171] lirc_rpi: driver registered!
[    7.848510] input: lircd as /devices/virtual/input/input1
[    8.245523] lirc_rpi: auto-detected active low receiver on GPIO pin 18
```

As you can see everything is working.  
  
4.)  
  
We're now going to use the command "irrecord" to capture the key presses from you remote and assign them each a name which is then used by XBMC to create an action.  
It is useful to get a list of available commands which XBMC can use, which you can then enter when the irrecord program asks for them.  
  
We will now run:

```
kill $(pidof lircd)
irrecord --list-namespace | grep KEY
```
  

Now copy and past that list to somewhere handy.  
  
Then, run the "irrecord" command:

```
irrecord -d /dev/lirc0 ~/.config/lircd.conf
```
  

Irrecord will output to /storage/.config/lircd.conf, a file containing the results of your recording. Follow the instructions given by irrecord **EXACTLY** , selecting the required buttons from the list you copied and pasted a moment ago.  
  
Once you have recorded all required buttons, press enter to exit irrecord.  
  
You should see something like this when you open the file /storage/.config/lircd.conf:

```
# Please make this file available to others
# by sending it to 
#
# this config file was automatically generated
# using lirc-0.9.1-git(default) on Sun Mar 17 05:08:39 2013
#
# contributed by 
#
# brand:                       /storage/.config/lircd.conf
# model no. of remote control: 
# devices being controlled by this remote:
#
 
begin remote
 
  name  /storage/.config/lircd.conf
  bits            8
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100
 
  header       9053  4453
  one           575  1650
  zero          575   547
  ptrail        576
  repeat       9062  2215
  pre_data_bits   16
  pre_data       0x77E1
  post_data_bits  8
  post_data      0xB1
  gap          107055
  toggle_bit_mask 0x0
 
      begin codes
          KEY_UP                   0xD0
          KEY_DOWN                 0xB0
          KEY_LEFT                 0x10
          KEY_RIGHT                0xE0
          KEY_PLAY                 0x7A 0x20
          KEY_MENU                 0x40
          KEY_OK                   0xBA 0x20
      end codes
 
end remote
```

Obviously your output will look different depending on the remote you use to record your commands.  
  
5.)  
  
Next we will need to create an XML makking file to map your keys.  
This file is kept in /storage/.plexht/userdata/lircmap.xml and should look something like this:

```
 
        
                KEY_UP
                KEY_DOWN
                KEY_LEFT
                KEY_RIGHT
                KEY_PLAY
                KEY_MENU
                KEY_OK
        
 
```

Again your output will look different depending on the keys you map.  
  
6.)  
  
Finally reboot your Pi and you should now be able to enjoy using your remote with RasPlex though your GPIO IR Receiver.

---

<div class="post-metadata">

**Author:** ![nicochi](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nicochi](https://forums.plex.tv/u/nicochi)\
**Post date:** [March 17, 2013, 8:07am UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/8 "2013-03-17T08:07:07Z")

</div>

> Now add the following 2 lines to include the lirc module:
> 
> ```
> lirc_devlirc_rpi gpio_in_pin=18
> ```

  
I did not need step 1. What is about using lirc\_dev?

---

<div class="post-metadata">

**Author:** ![jhayes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jhayes/32/114601_2.png) [@jhayes](https://forums.plex.tv/u/jhayes)\
**Post date:** [March 17, 2013, 8:30am UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/9 "2013-03-17T08:30:46Z")

</div>

It may not be needed. I found it as part of another walkthrough and that’s what they recommended. If its not needed then I can edit my post and comment it out.

---

<div class="post-metadata">

**Author:** ![a\_wein](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a_wein/32/2521_2.png) [@a\_wein](https://forums.plex.tv/u/a_wein)\
**Post date:** [March 17, 2013, 10:09am UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/10 "2013-03-17T10:09:17Z")

</div>

Thanks for your for your work.  
&nbsp;  
Some comments:

- the file "/storage/.config/modprobe.d/rpi\_lirc.conf" is not needed and the used syntax should be invalid too

> Now add the following 3 lines:
> 
> ```
> root ~/.config # cat autostart.sh
> #!/bin/sh
> (modprobe lirc_rpi;)&
> ```

- The first line should be excluded - it's just the prompt and not part of the bash script.

---

<div class="post-metadata">

**Author:** ![jhayes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jhayes/32/114601_2.png) [@jhayes](https://forums.plex.tv/u/jhayes)\
**Post date:** [March 17, 2013, 4:19pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/11 "2013-03-17T16:19:23Z")

</div>

Thank you a\_wein for your corrections, I have made the changes and updated the walkthrough.

**Walkthrough 2.0 Updated!**

Ok guys hope you are ready for this. I take no credit for this walkthrough except for setting the order of the steps and verifying that they work on both 1.27 and 1.28 of RasPlex.  
  
This walk-though has only been verified on an Intel Mac Laptop running 10.8.2 to enable an Apple Silver Remote (A1294) though any remote will work with this walkthrough.

1.)  
  
Use Terminal to SSH into RasPlex  
Default username should be "root" and the default password should be "rasplex"

First we add the module, since the modules file is mounted on a read only file system, we will use modpobe to modify openelec to load the lirc module using an autostart file.  
Create the file and set the permissions of the file to execute:

```
touch /storage/.config/autostart.sh
chmod +x /storage/.config/autostart.sh
```

Next using "nano" command we will edit the autostart.sh file:

```
nano storage/.config/autostart.sh
```

Now add the following 2&nbsp;lines:

```
#!/bin/sh
(modprobe lirc_rpi;)&
```

Save and exit.  
  
Now reboot your device.  
  
2.)  
  
To check if the module is working:

```
ls -l /dev/lir*
```

This was my result and yours may vary but you get the gist:

```
crw------- 1 root root 249, 0 Jan 1 1970 /dev/lirc0
```

Next:

```
dmesg | grep lirc
```

This was my result and again your may vary:

```
[    7.198363] lirc_dev: IR Remote Control driver registered, major 249 
[    7.259752] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[    7.293149] lirc_rpi lirc_rpi.0: lirc_dev: driver lirc_rpi registered at minor = 0
[    7.293171] lirc_rpi: driver registered!
[    7.848510] input: lircd as /devices/virtual/input/input1
[    8.245523] lirc_rpi: auto-detected active low receiver on GPIO pin 18
```

As you can see everything is working.  
  
3.)  
  
We're now going to use the command "irrecord" to capture the key presses from you remote and assign them each a name which is then used by XBMC to create an action.  
It is useful to get a list of available commands which XBMC can use, which you can then enter when the irrecord program asks for them.  
  
We will now run:

```
kill $(pidof lircd)
irrecord --list-namespace | grep KEY
```

Now copy and past that list to somewhere handy.  
  
Then, run the "irrecord" command:

```
irrecord -d /dev/lirc0 ~/.config/lircd.conf
```

Irrecord will output to /storage/.config/lircd.conf, a file containing the results of your recording. Follow the instructions given by irrecord **EXACTLY** , selecting the required buttons from the list you copied and pasted a moment ago.  
  
Once you have recorded all required buttons, press enter to exit irrecord.  
  
You should see something like this when you open the file /storage/.config/lircd.conf:

```
# Please make this file available to others
# by sending it to 
#
# this config file was automatically generated
# using lirc-0.9.1-git(default) on Sun Mar 17 05:08:39 2013
#
# contributed by 
#
# brand:                       /storage/.config/lircd.conf
# model no. of remote control: 
# devices being controlled by this remote:
#
 
begin remote
 
  name  /storage/.config/lircd.conf
  bits            8
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100
 
  header       9053  4453
  one           575  1650
  zero          575   547
  ptrail        576
  repeat       9062  2215
  pre_data_bits   16
  pre_data       0x77E1
  post_data_bits  8
  post_data      0xB1
  gap          107055
  toggle_bit_mask 0x0
 
      begin codes
          KEY_UP                   0xD0
          KEY_DOWN                 0xB0
          KEY_LEFT                 0x10
          KEY_RIGHT                0xE0
          KEY_PLAY                 0x7A 0x20
          KEY_MENU                 0x40
          KEY_OK                   0xBA 0x20
      end codes
 
end remote
```

Obviously your output will look different depending on the remote you use to record your commands.  
  
4.)  
  
Next we will need to create an XML makking file to map your keys.  
This file is kept in /storage/.plexht/userdata/lircmap.xml and should look something like this:

```
 
        
                KEY_UP
                KEY_DOWN
                KEY_LEFT
                KEY_RIGHT
                KEY_PLAY
                KEY_MENU
                KEY_OK
        
 
```

Again your output will look different depending on the keys you map.  
  
5.)  
  
Finally reboot your Pi and you should now be able to enjoy using your remote with RasPlex though your GPIO IR Receiver.

---

<div class="post-metadata">

**Author:** ![valyno](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/valyno/32/2996_2.png) [@valyno](https://forums.plex.tv/u/valyno)\
**Post date:** [March 18, 2013, 12:34pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/12 "2013-03-18T12:34:32Z")

</div>

Hello,  
  
Question about the ir receiver: what will be different from flirc?  
  
The latter cost around 30usd…

---

<div class="post-metadata">

**Author:** ![jhayes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jhayes/32/114601_2.png) [@jhayes](https://forums.plex.tv/u/jhayes)\
**Post date:** [March 18, 2013, 2:12pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/13 "2013-03-18T14:12:29Z")

</div>

Check out the flirc website. I read that they are currently working on a driver and/or software to let it work on the Pi. Remember flirc is USB not GPIO. This thread and walkthrough is just for GPIO.

---

<div class="post-metadata">

**Author:** ![dale.hamel](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@dale.hamel](https://forums.plex.tv/u/dale.hamel)\
**Post date:** [March 18, 2013, 2:41pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/14 "2013-03-18T14:41:39Z")

</div>

Yeah, the appeal of GPIO is:

- CHEAP! ~1$ receiver
- No USB bandwidth contention
- Frees up USB slot

---

<div class="post-metadata">

**Author:** ![valyno](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/valyno/32/2996_2.png) [@valyno](https://forums.plex.tv/u/valyno)\
**Post date:** [March 18, 2013, 8:00pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/15 "2013-03-18T20:00:08Z")

</div>

Hi Dale,  
  
Thank you for the reply!!.  
  
  
It confirms that I really need your upcoming case for pi: for around 20 bucks we will have a case, an ir receiver, the power cord with the other cables and a vesa mount…  
  
Big bargain!!!  
  
  
Hurry up man!.!!! 😉  
  
  
Your project (both hard ans soft) is really exciting!

---

<div class="post-metadata">

**Author:** ![Hematot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hematot/32/5763_2.png) [@Hematot](https://forums.plex.tv/u/Hematot)\
**Post date:** [March 28, 2013, 9:17pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/16 "2013-03-28T21:17:56Z")

</div>

Hi there guys,

and first of all big thanks to Dale & Co for all the hard work with this project!

You are incredible!

Regarding this topic: can anyone verify that Jasons recepie on [the wiki page made from this thread](http://sourceforge.net/p/rasplex/wiki/GPIO-IR/), works "all the way" for&nbsp; RasPlex 1.32?

In an attempt to bind a couple of buttons on my remote to adjust the subtitle sync via "subtitledelayminus" and "subtitledelayplus" I found that the lircmap.xml don't seem to work at all for me.

The lircd.conf file works fine; for instance can I set any button to KEY\_UP and a press on that will work as intended.

However a lircmap looking like this (where the up/down/left/right are switched around) doesn't affect the function at all:

&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KEY\_DOWN  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KEY\_UP  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KEY\_RIGHT  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KEY\_LEFT  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KEY\_PLAY  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KEY\_MENU  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KEY\_OK  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   
&nbsp;

&nbsp;

And, as no surprise, the lircmap.xml and 99-lircd.rules can be erased without any change in function.

Well I'm stuck... don't have enough knowledge to trace it further than this.

Does anyone else see this? Any suggestions how to find where I've gone wrong?

Edit:

Surfing around I've found that a custom "Keymap.xml" probably can be my way forward, hopefully letting me map the buttons "one level up".

The lircmap still doesn't make sense to me of course, but there are so many things in this world that doesn't... :blink:

---

<div class="post-metadata">

**Author:** ![a\_wein](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a_wein/32/2521_2.png) [@a\_wein](https://forums.plex.tv/u/a_wein)\
**Post date:** [March 29, 2013, 11:26am UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/17 "2013-03-29T11:26:52Z")

</div>

Some path values at section 5.1 are not valid - I fixed the issue. Please try step 5.1 again and things should work as expected.  
(The folder needs to be&nbsp;/storage/.config/udev.rules.d - but just placing the lircd.conf at&nbsp;/storage/.config/lircd.conf seems to work too)

---

<div class="post-metadata">

**Author:** ![Hematot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hematot/32/5763_2.png) [@Hematot](https://forums.plex.tv/u/Hematot)\
**Post date:** [March 29, 2013, 2:34pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/18 "2013-03-29T14:34:35Z")

</div>

So now I've got:

/storage/.config/lircd.conf

/storage/.plexht/userdata/lircmap.xml - content as shown above  
/storage/.config/udev.rules.d/99-lircd.rules - content from new section 5.1

Unfortunately no change... (yes, I reboot after editing the files)

---

<div class="post-metadata">

**Author:** ![a\_wein](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a_wein/32/2521_2.png) [@a\_wein](https://forums.plex.tv/u/a_wein)\
**Post date:** [March 29, 2013, 4:41pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/19 "2013-03-29T16:41:47Z")

</div>

> So now I've got:  
> &nbsp;  
> /storage/.config/lircd.conf  
> /storage/.plexht/userdata/lircmap.xml - content as shown above  
> /storage/.config/udev.rules.d/99-lircd.rules - content from new section 5.1  
> &nbsp;  
> Unfortunately no change... (yes, I reboot after editing the files)

&nbsp;  
Would you please post the output of&nbsp;ps aux | grep lirc  
  
Please remove any lirc related commands from autostart.sh

---

<div class="post-metadata">

**Author:** ![Hematot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hematot/32/5763_2.png) [@Hematot](https://forums.plex.tv/u/Hematot)\
**Post date:** [March 29, 2013, 5:09pm UTC](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740/20 "2013-03-29T17:09:54Z")

</div>

Output of&nbsp;ps aux | grep lirc:

&nbsp; 861 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=\_UP  
&nbsp; 883 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 52:46 /usr/lib/plexhometheater/plexhometheater --standalone -fs --lircdev /var/run/lirc/lircd  
&nbsp; 891 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/sbin/lircd --driver=default --device=/dev/lirc0 --uinput --output=/var/run/lirc/lircd-lirc0 --pidfile=/var/run/lirc/lircd-lirc0&nbsp;&nbsp; .pid /storage/.config/lircd.conf  
&nbsp;1855 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 grep lirc  
&nbsp;

There is no autostart.sh

A search (openelec:/ # find . -name "autostart.\*") in root gives no hits...

[Next page](https://forums.plex.tv/t/support-for-gpio-ir-receivers/30740.md?page=2)
