Hi guys, last week I managed to get a TSOP4838 IR receiver working with my raspberry pi on Raspbmc, following the examples others have done to set up lirc and get the remote codes config file in place. After a few days of fiddling everything was working great.
Last night I decided to shut down my pi (cleanly), disconnect everything, back up the SD image just in case (it already corrupted on me once, so I'm trying to be extra safe now), and then move it into my cabinet and reconnect everything. I think this was maybe also my first shutdown/reboot since I got the IR working. When it all came back up, everything else was fine, but I had no success at all getting the IR to work again. I tried the whole procedure I had to go through before, of exiting XBMC, going into the command line, disabling lirc, and then running it in direct mode (with mode2 -d /dev/lirc0) to see if it was picking up anything at all - and now (unlike before), it doesn't even seem to receive the raw codes from the remote at all. I tried shutting down and rebooting a few times, disconnecting and reconnecting all the wires, and nothing seems to help. I'm stuck now, not sure what to do.
Is it possible I have broken my TSOP4838 IR receiver already? Is the thing that delicate? I had it taped to the top of my cabinet with a piece of electrical tape before, and all I've done now is simply move it and re-tape it - so I wasn't particularly rough with it or anything, but maybe just in moving it I've broken it? I really have no idea.
Sorry if these are very basic questions, I'm by no means an expert in rasp pi or in linux in general. So back to basics, what are the basic steps I can do to just make sure I haven't broken my IR receiver? Am I right in thinking I should go back to running ( mode2 -d /dev/lirc0 ) and seeing if it receives anything? I recall last week when I did this, just by shutting down lirc, and then running that command, I was able to see all the incoming control codes when I started pressing buttons on the remote - so that's how I knew I had at least connected it properly with the 3 wires, and that it was working properly. From there, getting lirc configured and working with XBMC was very straightforward.
Am I missing something or can anyone give me some basic steps to go through, just to check that the IR receiver is not broken?