[SOLVED] XBMC blocks GPIO usage
| 
				
				 
					Solved: XBMC blocks GPIO usage
				 
			 | 
		
| 
				 
					12th Sep, 2013, 10:58 PM 
				 
				
Post: #1 
			 | 
		|||
				
  | 
		|||
| 
				XBMC blocks GPIO usage 
				 
					Hi guys, 
				
				
				
			I'm using XBian 1.0 Beta 1.1 on a Raspberry Pi (Model B Rev. 2) and searched the FAQ, tried iRC and asked for help on G+ without any outcome. With a 433MHz transmitter connected to the GPIOs on the board I like to control my power sockets. This works flawless if XBMC isn't running. But somehow XBMC seems to use the GPIOs too. While it's running I cannot emit my signals like XBMC is blocking my request for some reason. Is there any implementation or applied patch which I have to disable within the media center software to control the GPIOs? My last thought was, that there may be a timing problem since XBMC uses the CPU excessively. Thanks in advance, Peter PS: the attachment contains the code for controlling the transmitter edit: adding the attachment failed. Location is now https://www.dropbox.com/s/5ciim5sryrnmap6/elro.py  | 
		|||
| 
				 
					13th Sep, 2013, 12:16 AM 
				 
				
Post: #2 
			 | 
		|||
				
  | 
		|||
| 
				RE: XBMC blocks GPIO usage 
				 
					you forgot the attachment.
				 
				
				
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here  | 
		|||
| 
				 
					13th Sep, 2013, 12:33 AM 
				 
				
Post: #3 
			 | 
		|||
				
  | 
		|||
				RE: XBMC blocks GPIO usage 
				(13th Sep, 2013 12:16 AM)mk01 Wrote: you forgot the attachment. Right   You can find the python script at https://www.dropbox.com/s/5ciim5sryrnmap6/elro.py
				 | 
		|||
| 
				 
					13th Sep, 2013, 01:59 AM 
				 
				
Post: #4 
			 | 
		|||
				
  | 
		|||
| 
				RE: XBMC blocks GPIO usage 
				 
					Just use http://www.pilight.org. Works perfectly on XBian and with Elro.
				 
				
				
pilight - modular domotica solution  
				
			 | 
		|||
| 
				 
					13th Sep, 2013, 02:38 AM 
				 
				
Post: #5 
			 | 
		|||
				
  | 
		|||
				RE: XBMC blocks GPIO usage 
				(13th Sep, 2013 01:59 AM)CurlyMo Wrote: Just use http://www.pilight.org. Works perfectly on XBian and with Elro. Seems like a very flexible but big solution. I found another approach that works!! Problems with timing after all. Code: # ...credits: with ice cream at http://www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=32177  | 
		|||
| 
				 
					13th Sep, 2013, 03:41 AM 
				 
				
Post: #6 
			 | 
		|||
				
  | 
		|||
| 
				RE: XBMC blocks GPIO usage 
				 
					Don't know why pilight should be big? Uses as good as no CPU resources when idle. Has a footprint of only 1.5mb and does everything you want but better. Even works perfectly in receiving codes.
				 
				
				
pilight - modular domotica solution  
				
			 | 
		|||
| 
				 
					13th Sep, 2013, 05:02 AM 
				 
				
Post: #7 
			 | 
		|||
				
  | 
		|||
				RE: XBMC blocks GPIO usage 
				(13th Sep, 2013 03:41 AM)CurlyMo Wrote: Don't know why pilight should be big? Uses as good as no CPU resources when idle. Has a footprint of only 1.5mb and does everything you want but better. Even works perfectly in receiving codes. Of course, it has a small footprint, but I like keeping it low-level. After a while with pilight, I have to admit that this is a great way of doing things. But I also haven't had much luck so far. No signals at all. Despite new challenges, thanks for your replies, they helped me a lot.  | 
		|||
| 
				 
					14th Sep, 2013, 04:33 AM 
				 
				
Post: #8 
			 | 
		|||
				
  | 
		|||
| 
				RE: XBMC blocks GPIO usage 
				 
					@hpeter - as the "Problem" has been fixed can you change the status to Solved - Tnx
				 
				
				
Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation. 
				
			 | 
		|||
| 
				
	 
					« Next Oldest | Next Newest »
				 
			 |