|
From: Daniel <sa...@ho...> - 2004-08-18 20:07:20
|
Hi again.
I've built a PVR using a Accent HT-100B case and with this case comes a
remote control from Ahanix, called iMon. Now, since this remote really
has all the functions I need, I'm trying to create a lircd.conf for it
with irrecord. However, irrecord keeps complaining about not being able
to find a toggle bit for the remote, and since it determined the remote
to use RC-6, irrecord refuses to continue. Sample session using
'irrecord -d /dev/lirc/0 test' below:
<snip>
................................................................................
Found const length: 108273
Please keep on pressing buttons like described above.
................................................................................
RC-6 remote control found.
No header found.
No repeat code found.
Signals are biphase encoded.
Signal length is 30
Checking for toggle bit.
Please press an arbitrary button repeatedly as fast as possible (don't hold
it down!).
No toggle bit found.
But I know for sure that RC6 has a toggle bit!
</snip>
The utility dies the second after pressing "an arbitrary button" for the
first time when adviced to do so. However, if I hold the button down the
last five or so dots on the second row in the step earlier, it skips
down to where I'm able to name the buttons and send signals, creating a
nice lircd.conf file. The problem is that this file doesn't work when
starting lircd and hooking irw onto it. There is no output on stdout.
I've tried using the remote for my normal DVD-player and the config
generated by irrecord for it works, and irw gives me output, so lirc
works fine, but not with the iMon remote.
So, any ideas on what I should do? Is the toggle bit crucial for correct
operation of a RC6 remote controller or is there some cool hack I could
try by changing the source for irrecord and recompile?
Here is a excerpt from the config created when 'cheating' irrecord into
not doing the toggle bit test:
<snip>
# Please make this file available to others
# by sending it to <li...@ba...>
#
# this config file was automatically generated
# using lirc-0.7.0-CVS(tekram) on Wed Aug 18 21:53:20 2004
#
# contributed by
#
# brand: test
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name test
flags CONST_LENGTH|RAW_CODES
eps 30
aeps 100
ptrail 0
repeat 0 0
gap 108279
begin raw_codes
name 1
8845 4623 572 543 570 540
572 541 573 541 572 541
573 541 572 541 576 1675
578 536 576 538 575 539
574 539 575 1680 574 540
571 543 570 543 571 541
573 540 572 1682 575 538
575 1677 575 539 574 1682
572 541 571 1681 573 1680
575 536 578 1677 575 539
574 1681 570 544 570 1681
574
name 2
1394 222 1873 251 1711 249
2588 512 43 4624 570 543
571 543 465 648 571 543
572 540 572 540 546 568
494 1760 469 645 572 540
573 541 573 540 577 1676
575 538 470 643 469 645
577 1677 470 643 470 1784
575 536 470 1784 587 531
493 1758 573 541 574 540
465 1787 572 541 573 1680
571 543 575 1677 575 538
575 1677 469
</snip>
Best regards /Daniel.
|