Saturday, October 28, 2006

Add frequency to the lirc.conf

I was lucky to find appropriate remote file on lirc.org for my Onkyo receiver. One needs to add frequency statement to /etc/lircd.conf though, to make it useful for transmitting (some files have it, but my Onkyo had not).
Rough idea of the frequency can be gotten by running a learning session
# irrecord -l test.conf
I have got a non-working file out of learning session, but it had frequency it it.
Then, pick correct frequency number out of the list, or just round the found value up and use it in lircd.conf .
38000
40000
36000
39200
32000
56000

- Insert this line in /etc/lircd.conf
frequency 38000
- Now, this command worked (from tools directory):

./irsend SEND_ONCE Onkyo_RC-632M VOL+

Unfortunately, if irsend is invoked often enough (more than once a second or even second-and-half), lircd would die. Probably, it will have to be started from inittab because of this

0 Comments:

Post a Comment

<< Home