Vero is OSMC's new flagship device. Find out more here.

Post Reply 
 
Thread Rating:
  • 3 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[How-to] GPIO IR receiver with RASBMC
10-20-2012, 09:28 PM
Post: #1
[How-to] GPIO IR receiver with RASBMC
All that needs to be done in RC5 is edit /etc/modules and lircd.conf

Pi problems?? Start here http://forum.stmlabs.com/showthread.php?tid=3918
http://elinux.org/R-Pi_Troubleshooting
http://elinux.org/RPi_config.txt
Find all posts by this user
Quote this message in a reply
10-23-2012, 03:50 PM
Post: #2
RE: [How-to] GPIO IR receiver with RASBMC
I have done this lot a while back. However, I am having problems with buttons (especially Select) double-pressing, particularly in the file browser. Did you get this problem?

I'm still trying to find the root cause of this. What you have done looks almost identical to my own, so it would be interesting to find the differences if yours is working.

By the way, I like your solution for connecting the IR receiver. I didn't think of that! Would have been much simpler than firing up the soldering iron!
Find all posts by this user
Quote this message in a reply
10-23-2012, 05:10 PM
Post: #3
RE: [How-to] GPIO IR receiver with RASBMC
(10-23-2012 03:50 PM)drmouse Wrote:  I have done this lot a while back. However, I am having problems with buttons (especially Select) double-pressing, particularly in the file browser. Did you get this problem?

I'm still trying to find the root cause of this. What you have done looks almost identical to my own, so it would be interesting to find the differences if yours is working.

By the way, I like your solution for connecting the IR receiver. I didn't think of that! Would have been much simpler than firing up the soldering iron!

Yeah, i have it too. Double presses in RC5 is known problem - http://forum.stmlabs.com/showthread.php?tid=3179 . No solution at the moment. But now i'm running latest RC5 with 2110 nightly and doubles became pretty much occasional and almost bearable Smile. On initial RC5 and older XBMC builds it was sooooo much worse.

Know-how on CDROM cable usage belong to monkey13 . [Image: Smiley-2.png]
Find all posts by this user
Quote this message in a reply
10-23-2012, 06:31 PM (This post was last modified: 10-23-2012 06:32 PM by active89.)
Post: #4
RE: [How-to] GPIO IR receiver with RASBMC
Great How to!!

I just have a beginners problem:

When i connect with WINscp over SSH,
I have no write permission for the module file.

How can i do it?
Find all posts by this user
Quote this message in a reply
10-23-2012, 06:40 PM
Post: #5
RE: [How-to] GPIO IR receiver with RASBMC
(10-23-2012 06:31 PM)active89 Wrote:  Great How to!!

I just have a beginners problem:

When i connect with WINscp over SSH,
I have no write permission for the module file.

How can i do it?

I don't really have an answer for you, I think you may not be able to copy with winscp. SSH into Pi with putty.

sudo vi <directory>/filename.<ext>
hit "i" key to be in "insert mode"
hit "shift+insert" to paste into file
hit "escape"
type ":w"
hit enter
type ":q"
hit enter

done.
Find all posts by this user
Quote this message in a reply
10-23-2012, 07:22 PM
Post: #6
RE: [How-to] GPIO IR receiver with RASBMC
Active89: You can't write to the file because you aren't root.

If you follow firebreather's recomendation, it will work becuase you're 'sudo'ing' before you edit the file. The other option is to edit it local, upload it to your home directory, then...

sudo cp /home/pi/modules /etc

I'd recommend following firebreathers recomendation and using ssh to edit the file instead of copying it over.
Find all posts by this user
Quote this message in a reply
10-23-2012, 07:25 PM
Post: #7
RE: [How-to] GPIO IR receiver with RASBMC
Thanks guys!

It work Wink
Find all posts by this user
Quote this message in a reply
10-23-2012, 09:38 PM
Post: #8
RE: [How-to] GPIO IR receiver with RASBMC
Great thread.

My kingdom for a fix to lirc double keypress Smile

I've tried all the fixes I can find. 5 different remotes. No fix for me as yet.

Im not convinced it's xbmc as I can use the same remote with USB IR receiver and all works ok.

With no USB hub, a WiFi dongle and USB install the system is almost unuseable through the menus


ATV1 -->
HW: ATV1+970015
SW: CB2+XBMC 12.2 (custom)
Install: HDD

RPI -->
HW: RPi 512MB
SW: Raspbmc (Sep 2013)+XBMC 12.2 (custom)
Install: Samsung 4GB Class 10+8GB Verbatim V3 USB (18.5w/28r)
Power: 12-50V - 5V stepdown pcb
OC: Super

Network: Hanewin NFS via powerline
Find all posts by this user
Quote this message in a reply
10-24-2012, 02:32 AM
Post: #9
RE: [How-to] GPIO IR receiver with RASBMC
(10-23-2012 09:38 PM)aceofclubs Wrote:  Great thread.

My kingdom for a fix to lirc double keypress Smile

I've tried all the fixes I can find. 5 different remotes. No fix for me as yet.

Im not convinced it's xbmc as I can use the same remote with USB IR receiver and all works ok.

With no USB hub, a WiFi dongle and USB install the system is almost unuseable through the menus

I have the same problem too. I have a mce remote and have been plagued by double keypresses. Adding the delay in advancedsettings.xml seemed to make things better, but it's still not perfect.

I'm running xbmc (frodo) on another machine too, that's not a raspberry pi. Granted, it's a different IR receiver, but it's still a MCE compatible one. I never had any issues with the remote with the alpha xbmc frodo build.

So, I'm not sure if it's a problem with the power, the ir receiver, or maybe the eventlircd feeding lirc, but it is annoying.
Find all posts by this user
Quote this message in a reply
11-01-2012, 09:15 AM (This post was last modified: 11-01-2012 09:15 AM by iLLiac4.)
Post: #10
RE: [How-to] GPIO IR receiver with RASBMC
Did someone got AppleTV remote working with LIRC and TSOP receiver?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)

Sponsored Advertisement