TSOP4838 on GPIO, mode2 works, irw not working.
|
2nd Dec, 2013, 06:42 AM
Post: #11
|
|||
|
|||
RE: TSOP4838 on GPIO, mode2 works, irw not working.
I just started using a Radioshack IR receiver module (part # 276-640) plugged into the GPIO pins on my Raspberry Pi, and I was having the same issue as valurgud, with remote key presses appearing multiple times. Rather than remove the keyboard.xml file (which will likely get replaced by updates to XBMC), I decided to look further into the cause of the issue.
I noticed in the file /etc/lirc/hardware/lirc_rpi.conf there is the line below: Code: LIRCD_ARGS="-u" This option causes LIRC to generate Linux input events, which appear to be keyboard-type events. Since XBMC is able to connect directly to LIRC, these seem unnecessary, so I commented out that line. Now button presses on my remote only register once! I don't know enough about where that file came from to contribute the change back into the Xbian source code, but it seems like that might be a good bug to fix. Does anyone else more knowledgeable have any thoughts about that? |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
TSOP4838 on GPIO with Harmony One | Scool | 19 | 58,870 |
2nd Jul, 2014 11:22 AM Last Post: mk01 |
|
GPIO IR Sensor - Not working | IYellowSnowI | 8 | 25,024 |
4th Mar, 2014 03:55 PM Last Post: CurlyMo |