[mythtv-users] Serial IR receiver should be simplest but...
Angus
sylvania at istop.com
Fri Apr 6 18:10:56 UTC 2007
Jon wrote:
> Angus wrote:
>
>> Jon wrote:
>>
>>>> The last line of dmesg revealed:
>>>>
>>>> lirc_serial: disagrees about version of symbol struct_module
>>>>
>>>> I built my own kernel from Suse 10.2's kernel-source. I'll bet that has
>>>> something to do w/it. Is there an easy way to handle that?
>>>>
>>>>
>>> You'll need to compile it against your kernel.
>>>
>>>
>> So I do, and so I did. I downloaded the lirc source, then ran make
>> install from the drivers directory. One setserial call later, the module
>> was all ready to install.
>>
>> So my problem now is figuring out how to bind the buttons I
>> programmed in irrecord to MythTV. I found lircrc.example file and
>> changed all the "Button" entries to match what I have in
>> /etc/lircd.conf, but the remote has no affect on the front end. Is it
>> supposed to? I've tried calling the file ~/.lircrc, ~/.mythtv/.lircrc
>> and ~/.mythtv/lircrc which seem to fit all the combinations from all the
>> documentation sprawled across the net, but none of them seem to work.
>>
>>
> make it ~/.mythtv/lircrc
> also mythfrontend only reads it on startup so restart mythfrontend if
> you haven't done so already. Then check mythfrontend output for lirc
> init sucess or something similar.
>
I already tried that one. What's more, I've tried getting irexec
working, but that doesn't react to the remote either. Here's my lircd.conf:
begin remote
name kworld
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100
ptrail 0
repeat 0 0
gap 108233
begin raw_codes
name power
9097 4458 632 475 623 1649
624 1623 628 510 628 479
623 514 630 506 614 1634
612 1637 614 1657 615 496
629 1642 630 483 623 1648
630 1617 627 508 619 492
627 1644 630 1618 628 1619
628 1643 630 481 620 516
627 508 612 1636 612 524
628 483 623 512 621 515
605 1642 607 1641 625 1646
597
end raw_codes
end remote
And here's the lircrc that I'm using to test with irexec:
begin
remote = kworld
button = power
prog = irexec
repeat = 0
config = echo "Hello world!"
end
I was hoping the power button would give me "Hello world!" but it gives
me nothing
More information about the mythtv-users
mailing list