How to run custom comand with IR remote?
|
9th Apr, 2013, 06:46 PM
Post: #5
|
|||
|
|||
RE: How to run custom comand with IR remote?
If I use GPIO reciever, I have to change the /etc/lirc/hardware/lirc_rpi.conf, right?
Now it looks like that Terminal xbian@xbian ~ $ cat /etc/lirc/hardware/lirc_rpi.conf # /etc/lirc/hardware/lirc_rpi.conf # # Arguments which will be used when launching lircd LIRCD_ARGS="-u" #Don't start lircmd even if there seems to be a good config file #START_LIRCMD=false #Don't start irexec, even if a good config file seems to exist. START_IREXEC=true #Try to load appropriate kernel modules LOAD_MODULES=true # Run "lircd --driver=help" for a list of supported drivers. DRIVER="default" # usually /dev/lirc0 is the correct setting for systems using udev DEVICE="/dev/lirc0" MODULES="lirc_rpi" # Default configuration files for your hardware if any #LIRCD_CONF="" #LIRCMD_CONF="" Terminal xbian@xbian ~ $ cat .lircrc begin prog = irexec button = key_open/close config = sudo /home/xbian/irrestart.sh & end Terminal xbian@xbian ~ $ cat irrestart.sh #!/bin/bash service lirc stop sleep 3 service lirc start It works when I starts the irexec manually. But autostart doesnt work. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to run custom comand with IR remote? - kraleksandr - 9th Apr, 2013, 05:09 AM
RE: How to run custom comand with IR remote? - CurlyMo - 9th Apr, 2013, 05:15 AM
RE: How to run custom comand with IR remote? - kraleksandr - 9th Apr, 2013, 03:34 PM
RE: How to run custom comand with IR remote? - CurlyMo - 9th Apr, 2013, 06:18 PM
RE: How to run custom comand with IR remote? - kraleksandr - 9th Apr, 2013 06:46 PM
RE: How to run custom comand with IR remote? - CurlyMo - 9th Apr, 2013, 06:56 PM
RE: How to run custom comand with IR remote? - kraleksandr - 18th Apr, 2013, 03:16 PM
RE: How to run custom comand with IR remote? - CurlyMo - 18th Apr, 2013, 05:05 PM
RE: How to run custom comand with IR remote? - kraleksandr - 18th Apr, 2013, 05:54 PM
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] some key not working on Custom remote | lehulk | 6 | 17,915 |
9th Jan, 2015 03:28 AM Last Post: Groormat |
|
My custom remote.xml especially for your listening pleasure | Gyuunduh | 2 | 13,877 |
23rd Feb, 2013 03:43 AM Last Post: Gyuunduh |