[mythtv-users] Irrecord - lirc.conf - help needed
Tom Runner
tomj.runner at gmail.com
Thu Feb 3 07:49:20 UTC 2011
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
Third attempt,
As I found somewhere on the web, the protocol should be XMP for this box. I
used a XMP template and then tried to use irrecord to get teh code.
Codes are successfully detected, on the contrary of attempt 1. But not
result on the cable box either.
Any idea on how I can identify the remote code and build the lircd.conf ?
Thank you
lircd.conf genereating reaction on the cable box, but not changing
> #
> # this config file was automatically generated
> # using lirc-0.7.1pre2(any) on Sun Oct 1 03:39:07 2006
> #
> # contributed by Long Sing 'Sam' Wong
> #
> # brand: NOW Broadband TV
> # model no. of remote control: N/A
> # devices being controlled by this remote:
> # Hong Kong PCCW NOW Broadband TV
>
> begin remote
>
> name NOW_Broadband_TV
> bits 16
> flags SPACE_ENC|CONST_LENGTH
> eps 30
> aeps 100
>
> header 9048 4481
> one 578 1671
> zero 578 547
> ptrail 585
> repeat 9047 2230
> pre_data_bits 16
> pre_data 0x176
> gap 108196
> toggle_bit 0
>
>
> begin codes
> Power 0xC03F
> Back 0x00FF
> Up 0x40BF
> Down 0xA05F
> Left 0x609F
> Right 0x807F
> Enter 0xE01F
> Exit 0x20DF
> Red 0xD02F
> Green 0x50AF
> Blue 0x906F
> Yellow 0x10EF
> TVGuide 0xF00F
> OnDemand 0x708F
> OneLink 0xB04F
> Menu 0x30CF
> 1 0x48B7
> 2 0x8877
> 3 0x08F7
> 4 0x6897
> 5 0xA857
> 6 0x28D7
> 7 0x58A7
> 8 0x9867
> 9 0x18E7
> 0 0xB847
> Display 0x7887
> Clear 0x38C7
> Audio 0xCA35
> AB 0x4AB5
> Mute 0x8A75
> Mode 0x0AF5
> DVDMenu 0xEA15
> Title 0x6A95
> Prev 0xAA55
> Next 0x2AD5
> SoundMode 0xDA25
> Subtitle 0x5AA5
> Angle 0x9A65
> Zoom 0x1AE5
> Slow 0xFA05
> Goto 0x7A85
> TVSystem 0xBA45
> Eject 0x3AC5
> end codes
>
> end remote
>
Attempt 1 lircd.conf
# this config file was automatically generated
> # using lirc-0.8.7-pre3(commandir) on Tue Feb 1 22:22:23 2011
>
> begin remote
>
> name now
>
> bits 16
> flags SPACE_ENC|CONST_LENGTH
> eps 30
> aeps 100
>
> header 9048 4481
> one 578 1671
> zero 578 547
> ptrail 585
> repeat 9047 2230
> pre_data_bits 16
> pre_data 0x176
> gap 108196
> toggle_bit 0
>
> begin codes
> end codes
>
> end remote
>
>
Attempt 2 lircd conf
# this config file was automatically generated
> # using lirc-0.8.7-pre3(commandir) on Tue Feb 1 22:58:35 2011
>
> begin remote
>
> name now4
> flags RAW_CODES
> eps 30
> aeps 100
>
> gap 81783
>
> begin raw_codes
>
> name 1
> 222 880 222 2135 222 881
> 221 2833 222 1299 222 1299
> 222 1298 222 1994 222 12965
> 222 880 222 2692 222 741
> 222 881 222 741 222 741
> 221 741 221 739 222
>
> name 2
> 222 880 222 2135 222 881
> 222 2833 222 1299 222 1299
> 222 1298 223 1992 222 12965
> 222 881 222 2414 223 741
> 222 881 221 741 221 1020
> 222 741 221 739 222
>
> name 3
> 221 880 221 2135 222 881
> 221 2832 222 1298 222 1299
> 222 1299 222 1993 222 12965
> 222 881 221 1857 222 742
> 222 881 221 1438 222 880
> 222 741 222 739 222
>
>
> end raw_codes
>
> end remote
>
Attempt 3 lircd.conf
# 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 Wed Feb 2 19:13:10 2011
> #
> # contributed by
> #
> # brand: now2.conf
> # model no. of remote control:
> # devices being controlled by this remote:
> #
>
> begin remote
>
> name now2.conf
> bits 24
> flags XMP
> eps 20
> aeps 300
>
> one 0 137
> zero 250 710
> ptrail 250
> pre_data_bits 32
> pre_data 0x170F443E
> 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
> end codes
>
> end remote
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110203/cacaf37d/attachment.htm>
More information about the mythtv-users
mailing list