Here are the libraries that I have used. I did some modifications to the irexec and irsend (the other didn't have option to set the socket path, so I added). All default paths point under /mtd_ram/... I didn't make them very consistent, better would have been to place them all directly under /mtd_ram instead of all kinds of subdirectories. You'll have to create the subdirs, or specify the socket, pid & logfile path on the command line.
Here is what I have used: (I have the iguanaIR device, so you can skip that part if you have some other device)
Code: Select all
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dtv/usb/sda/lirc/lib
/dtv/usb/sda/lirc/bin/igdaemon --driver-dir=/dtv/usb/sda/lirc/lib/iguanaIR -n -v
/dtv/usb/sda/lirc/sbin/lircd -H iguanaIR -d /mtd_ram/iguanaIR/0 -o /mtd_ram/lirc/socket -P /mtd_ram/lirc/lircd.pid -L /mtd_ram/lirc/log -n /dtv/usb/sda/lirc/etc/lirc/lircd.conf
/dtv/usb/sda/lirc/bin/irw /mtd_ram/lirc/socket
Also the modifications for irexec _might_ contain some extra quirks, like not calling system(), but send_packet directly, thus the lircrc should look like:
Code: Select all
begin
remote = Samsung_BN59-00861A
button = Vol+
prog = irexec
repeat = 1
config = send_once Marantz_RC006SR Amp_Volume_Up 3\n
end
But there is also _irexec which does the other way, but I don't really remember now which does what. The errors will tell you
You do not have the required permissions to view the files attached to this post.