Post Last Edited by ezio204 at 2014-9-30 12:53 |
Hello, i have a problem with Lirc and sending IR Signals via gpio. Nearly the same configuration is alreadey working with the raspberry pi.
I have build an IR Sending Diode described on this page http://www.beisammen.de/board/in ... &postID=1297086
I have installed Lirc, and changed the skript bin. With gpio write 1 and gpio write 0 i can alreadey switch off and on the IR Diode. But i want to send the right hex values to control other devices. Now my Problem is the LIRC. Or is there any other way to send IR Signals to GPIO pins ?
This is in my etc/modules
If load_modules is "false" in my hardware.conf i can start lirc and when i try to send
"irsend SEND_ONCE HA_Receiver KEY_POWER"
i get this Problem :
"irsend: command failed: SEND_ONCE HA_Receiver KEY_POWER
irsend: hardware does not support sending"
if load modules is true i can not start lirc and get this error
[ ok ] Loading LIRC modules:.
[FAIL] Unable to load LIRC kernel modules. Verify your ... failed!
[FAIL] selected kernel modules in /etc/lirc/hardware.conf ... failed!
This is my hardware.conf with the different values i tried out
Can someone please help me ? Copy the Code
- # /etc/lirc/hardware.conf
- # Arguments which will be used when launching lircd
- #Disable kernel support.
- #Typically, lirc will disable in-kernel support for ir devices in order to
- #handle them internally. Set to false to prevent lirc from disabling this
- #in-kernel support.
- #Enable lircd
- #Don't start lircmd even if there seems to be a good config file
- #Don't start irexec, even if a good config file seems to exist.
- #Try to load appropriate kernel modules
- # Run "lircd --driver=help" for a list of supported drivers.
- # usually /dev/lirc0 is the correct setting for systems using udev
- # Default configuration files for your hardware if any