Problem: Xbian Beta 2 and GPIO remote how to??
|
20th Dec, 2013, 04:13 PM
Post: #1
|
|||
|
|||
Xbian Beta 2 and GPIO remote how to??
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! |
|||
20th Dec, 2013, 07:24 PM
Post: #2
|
|||
|
|||
RE: Xbian Beta 2 and GPIO remote how to??
Check this post: http://forum.xbian.org/thread-1824-post-18976.html#pid18976
|
|||
21st Dec, 2013, 02:04 AM
Post: #3
|
|||
|
|||
RE: Xbian Beta 2 and GPIO remote how to??
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? |
|||
11th Jan, 2014, 08:47 PM
Post: #4
|
|||
|
|||
RE: Xbian Beta 2 and GPIO remote how to??
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
![]() RPi 1 Model B & RPi 2 |
|||
16th Jan, 2014, 06:10 PM
Post: #5
|
|||
|
|||
RE: Xbian Beta 2 and GPIO remote how to??
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. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Jan, 2014, 11:47 PM
Post: #6
|
|||
|
|||
RE: Xbian Beta 2 and GPIO remote how to??
@markosjal
long presses work with atvclient. but atvclient is limited only to Apple IR Receivers, … ? is it true ? so can't test another receiver (don't have), but also long press can be configured with lircrc and irsend SIMULATE. lircrc can react on key repeats and irsend SIMULATE can send any event you need. you just add it to lircd.conf for your remote. this are documents I followed. http://www.lirc.org/html/configure.html - topic lircrc http://wiki.xbmc.org/index.php?title=Apple_remote - topic 4 (linux) man irsend (SIMULATES events in format of "irw") https://github.com/xbmc/xbmc/blob/master/system/Lircmap.xml - in case remap is needed, but actually I think better is just adjusting KEY names in lircd.conf Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
17th Jan, 2014, 08:14 AM
Post: #7
|
|||
|
|||
AW: RE: Xbian Beta 2 and GPIO remote how to??
(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 ![]() RPi 1 Model B & RPi 2 |
|||
22nd Jan, 2014, 05:48 AM
Post: #8
|
|||
|
|||
RE: Xbian Beta 2 and GPIO remote how to??
@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. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Remote over GPIO TFT Touch Display? | dju010 | 14 | 39,480 |
24th Mar, 2014 02:42 PM Last Post: mk01 |
|
Xbian Beta 2, HoneyPi IR & HP Remote: Working Script! | caintgetrite | 1 | 7,611 |
1st Mar, 2014 05:36 AM Last Post: IriDium |
|
[SOLVED] No remote on XBian Beta 2 | Jan | 6 | 16,804 |
5th Feb, 2014 02:14 PM Last Post: f1vefour |