I have seen a lot of GPIO remote how tos on Raspberry Pi , but I do not think that they necessarily apply to xbian Beta 2
I have added
lirc_rpi to /etc/modules
and at least now I see
mode2: could not open /dev/lirc0
mode2: default_init(): Device or resource busy
I get nothing on irw
I am using tsop38238
Any help appreciated!
There was some partial help on that thread. The part I found most useful was
sudo modprobe lirc_rpi
sudo kill $(pidof lircd)
sudo mode2 -d /dev/lirc0
I can then see mode2 output when pressing buttons (even from the next room!)
I also copied the lircd.conf for apple remote from this page to start with
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=7798&start=100
However it seems I still need to kill lircd with the above command after restart
as I can see little correlation to the examples of /etc/lirc/hardware.conf in xbian and samples on varios pages I am not sure what needs to be done there and this is part of the reason I ask for info related to Xbian Beta2
Now I am still confused on where to go next
I would also like to have an Apple remote config file that behaves as it does on Apple TV but I think the long keypresses are the challenge there. Does anyone have one with long keypresses?
Please , anyone?
I'm very interested in this topic as well. I was only using Yatse on XBian but now I think it's time to have a real remote again. I have a GPIO IR Receiver which should work with my MCE Remote (tested with OE a while ago). I also have some Bluetooth remotes like the PS3 BD Remote and the Wii Remote. but I unfortunately couldn't find a nice howto for Beta 2
I think it's such an important part of the overall experience it should somehow be integrated in the XBian settings addon to help beginners get started
anyone having spare IR receiver ? send it to me, I will look into it. I have both remote types, white - silver.
or maybe I will try sharing of the IR from Mac via USBIP -> RPI. maybe it works.
(16th Jan, 2014 06:10 PM)mk01 Wrote: [ -> ]anyone having spare IR receiver ? send it to me, I will look into it.
You can easily build a good IR Receiver yourself for approx. 1€. All you need is this tiny receiver called tsop something and 3 cables. just search for "GPIO IR TSOP Raspberry Pi" or so online and you should come up with some good articles. this one connects directly to the GPIO Port which is great for me because you don't have to "waste" a USB Port.
----------------
this is how my receiver looks like:
Please excuse the cable mess
@
mk01
Yes I am aware of that but I can also tell you that it is the best code for Apple Remote on Linux! Maybe it can be modded for GPIO?
Also as for the code you reference if you have already done so , maybe you shuld be more specific in your post. Vague posts are not helpful. I already have hit brick walls with LIRCMangled, atvclient with Apple sensor (that sometimes mysteriously does not work on any RPi distro) , and now I should endeavor for a new fix down the road that you say works but have offered no guidance for? There is a point where doing it onself gets ridiculous, especially when you claim you have already done it. Those tht have made those claims in the past in the end most always admit to a problem on xbian, or with long keypresses or something
If the Apple remote does not emulate behaviour excatly as on Apple TV it is pretty useless, because it does not have enough buttons.