[mythtv-users] Irrecord - lirc.conf - help needed

Tom Runner tomj.runner at gmail.com
Sat Feb 5 10:45:04 UTC 2011


On Fri, Feb 4, 2011 at 2:12 PM, Tom Runner <tomj.runner at gmail.com> wrote:

>
>
> On Fri, Feb 4, 2011 at 1:59 AM, Jarod Wilson <jarod at wilsonet.com> wrote:
>
>> On Feb 3, 2011, at 2:49 AM, Tom Runner wrote:
>>
>> > Hi all,
>> >
>> > Months I'm trying to setup my IR blaster. I finally purchased a
>> commandIR one. Still I cannot manage to have the cablebox working.
>> > Configuration:
>> > - Ubuntu 10.10
>> > - CommandIR III
>> > - Lirc 0.8.7 pre3
>> > - NowTV cable box in Hong Kong having a very tricky nasty remote
>> >
>> > There are 2 Nowtv broadband lircd.conf available on the lirc database.
>> One is doing nothing, the second one is making the IR led on the cable box
>> reacting, blinking, but no channel change (see below).
>> > Si I decided to go for irrecord
>> >
>> > First attempt (see file generated below)
>> > "sudo irrecord now -H commandir", but after the header detection (see
>> below), each time I try to set a key it returns "something went wrong". So
>> impossible to have the key codes.
>> >
>> > Second attempt (see file generated below)
>> > irrecord in raw mode, which went well until the end and generate a
>> complete file. But then the cable box does not react at all to the signal.
>> > Raw code generated, checked with "cmd2", which gives almost the same
>> code.
>> > irrecord -a givers a failure for each code
>>
>> This *should* have worked, but its possible you need to add 'min_repeat x'
>> to the config (w/x somewhere between 2 and 5 or thereabouts), so the
>> transmitter sends the command a few times. A lot of STB actually expect to
>> see the code retransmitted a few times before they'll actually act on it.
>>
>> Hi Jarod
>
> Thank you very much, the "min_repeat" definitely helped with the raw data.
> I for the first time succeeded to have one signal received and well
> interpreted by the box.
> Now it's still random and it seems the learning is not optimal. irw reacts,
> but when using one key it may give several different results.
>
> I will continue to fine tune all that.
>
> One question though, is there a way to convert raw data into hex ones ? It
> may help to compare with the data generated with XMP.
>
>
Hi

The box is using XMP. I found some help from "The Robman" on the forum
http://www.hifi-remote.com/forums/. As he was having a working file for the
box, he was able to give the corresponding pre_data.
The lircd.conf is now working well.

Jarod as you're now in charge of lirc, could you please tell me how to
update the lirc database, so that someone else benefit from the file (even
though) I've not recorded all keys. Should I send it to <lirc at bartelmus.de>


# Please make this file available to others
> # by sending it to <lirc at bartelmus.de>
> #
> # this config file was automatically generated
> # using lirc-0.8.7-pre3(commandir) on Sat Feb  5 11:12:35 2011
> #
> # contributed by
> #
> # brand:                       xmp.conf
> # model no. of remote control:
> # devices being controlled by this remote:
> #
>
> begin remote
>
>   name  xmp.conf
>   bits           24
>   flags XMP
>   eps            20
>   aeps          300
>
>   one             0   137
>   zero          250   710
>   ptrail        250
>   pre_data_bits   32
>   pre_data       0x1A1F4449
>   post_data_bits  8
>   post_data      0x0
>   pre           250 12921
>   gap          81698
>   toggle_bit_mask 0x0
>
>       begin codes
>           1                        0x1E0100 0x168100
>           2                        0x1C0102 0x148102
>           3                        0x180151 0x108151
>           4                        0x170152 0x1F8152
>           5                        0x160153 0x1E8153
>           6                        0x150154 0x1D8154
>           7                        0x140155 0x1C8155
>           8                        0x130156 0x1B8156
>           9                        0x120157 0x1A8157
>           0                        0x100159 0x188159
>           ch+                      0x180106 0x108106
>           ch-                      0x190105 0x118105
>           subtitle                 0x180142 0x108142
>           audio                    0x1A0140 0x128140
>           vol+                     0x12012A 0x1A812A
>           vol-                     0x1A0104 0x128104
>           exit                     0x1B0130 0x138130
>           display                  0x13010B 0x1B810B
>       end codes
>
> end remote
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110205/1df20bd1/attachment.htm>


More information about the mythtv-users mailing list