Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Foxtel Digital and IR (IT LIVES!)

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


daniel at automagic-software

Jan 24, 2005, 4:42 PM

Post #1 of 5 (1515 views)
Permalink
Foxtel Digital and IR (IT LIVES!)

G'day All,

after quite a bit of messing about with the IR, I had actually given
up trying to get my myth box to control the Foxtel digital set top box
(after upgrading from ye olde foxtel which worked perfectly).
I'd looked around on the net and found a file for some programmable
remote made by Philips that was supposed to be about to control the
Foxtel digital box, but of course it was in it's own file format (a CCF
file). There are several tools about that will extract the IR codes as
hex strings, and finally this morning I looked through some code that
is supposed to send these IR codes via a special interface attached to
a PocketPC device. Using this code as a guide I was able to produce a
simple lircd.conf file that allows me to change the channels on again
:)
If anybody is interested I can send them a copy.

Daniel


mythmail at nb

Jan 24, 2005, 6:58 PM

Post #2 of 5 (1412 views)
Permalink
Re: Foxtel Digital and IR (IT LIVES!) [In reply to]

Daniel Parnell wrote:

> G'day All,
>
> after quite a bit of messing about with the IR, I had actually given
> up trying to get my myth box to control the Foxtel digital set top box
> (after upgrading from ye olde foxtel which worked perfectly).
> I'd looked around on the net and found a file for some programmable
> remote made by Philips that was supposed to be about to control the
> Foxtel digital box, but of course it was in it's own file format (a CCF
> file). There are several tools about that will extract the IR codes as
> hex strings, and finally this morning I looked through some code that is
> supposed to send these IR codes via a special interface attached to a
> PocketPC device. Using this code as a guide I was able to produce a
> simple lircd.conf file that allows me to change the channels on again :)
> If anybody is interested I can send them a copy.
>
> Daniel

hi,

i don't have a foxtel digital receiver, but i'd like to know what
tools/code you used to get the IR codes into a lirc format. i have a
sony clie that i can use to "learn" remote codes, but haven't found an
easy (read: lazy) way to convert those codes into something i can use in
a lircd.conf file. anything you could send along to the list would be
muchly appreciated!

thanks,
stephen


daniel at automagic-software

Jan 25, 2005, 1:21 PM

Post #3 of 5 (1402 views)
Permalink
Re: Foxtel Digital and IR (IT LIVES!) [In reply to]

G'day Mark,

here is the contents of the lirc.conf file. I've only done the codes
for the number keys as that is all I need to get myth to change
channels (and I'm too lazy to do the rest of the codes).

As for my setup: I'm using a PVR-350. I've got a set of splitters
attached to the foxtel video out, and one set goes to the TV, while the
other goes to the PVR-350 on the myth box.

Daniel
Attachments: foxtel.conf (6.41 KB)


daniel at automagic-software

Jan 25, 2005, 1:41 PM

Post #4 of 5 (1419 views)
Permalink
Re: Foxtel Digital and IR (IT LIVES!) [In reply to]

G'day Stephen,

I found some code that can read CCF files under Linux, but it isn't
working too well, so I may try to fix those bugs and produce a tool
that does the conversion manually. What I did was to use some CCF
tools under Windows that extract the CCF file to a XML format. The XML
format has the raw IR codes expressed as hex digits. The first 4 words
contain header information, while the rest represent the number of
carrier cycles for the pulse or gap.
In the case of the Foxtel Digital box the header says the carrier is
36kHz, so to convert the hex numbers to numbers Lirc can use you do the
following

(hex_word / carrier_freq)*1000000 = lirc pulse width

so, in the case of the Foxtel digital box

(hex_word / 36000)*1000000 = lirc pulse width

The header is made up of 4 words as follows

0000 - IR format - 0000 = raw
0073 - Carrier frequency divisor - calculate actual carrier frequency
as follows 4145146/ 115 = 36045 = 36kHz
0036 - Number of pulses and gaps
0000 - The number of repeat pulses

I wrote a simple little windows app that takes just the raw pulse code
parts and produces the lirc codes for them (and makes a nice little
graph of the IR pulses). What I may do eventually is make something
that takes a CCF file and extracts all the IR codes and produces a lirc
conf file from it.

Daniel

On 25/01/2005, at 1:58 PM, stephen wrote:

> Daniel Parnell wrote:
>
>> G'day All,
>> after quite a bit of messing about with the IR, I had actually
>> given up trying to get my myth box to control the Foxtel digital set
>> top box (after upgrading from ye olde foxtel which worked perfectly).
>> I'd looked around on the net and found a file for some programmable
>> remote made by Philips that was supposed to be about to control the
>> Foxtel digital box, but of course it was in it's own file format (a
>> CCF file). There are several tools about that will extract the IR
>> codes as hex strings, and finally this morning I looked through some
>> code that is supposed to send these IR codes via a special interface
>> attached to a PocketPC device. Using this code as a guide I was able
>> to produce a simple lircd.conf file that allows me to change the
>> channels on again :)
>> If anybody is interested I can send them a copy.
>> Daniel
>
> hi,
>
> i don't have a foxtel digital receiver, but i'd like to know what
> tools/code you used to get the IR codes into a lirc format. i have a
> sony clie that i can use to "learn" remote codes, but haven't found an
> easy (read: lazy) way to convert those codes into something i can use
> in a lircd.conf file. anything you could send along to the list would
> be muchly appreciated!
>
> thanks,
> stephen
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


michael at optusnet

Feb 1, 2005, 7:05 PM

Post #5 of 5 (1390 views)
Permalink
Re: Foxtel Digital and IR (IT LIVES!) [In reply to]

I actually posted a working lirc.conf for the foxtel box some
time ago to the list. :)

I think I did it pretty much the way you did for pretty much
the same reason!

Daniel Parnell <daniel [at] automagic-software> writes:

> G'day Mark,
>
> here is the contents of the lirc.conf file. I've only done
> the codes for the number keys as that is all I need to get myth to
> change channels (and I'm too lazy to do the rest of the codes).
>
> As for my setup: I'm using a PVR-350. I've got a set of
> splitters attached to the foxtel video out, and one set goes to the
> TV, while the other goes to the PVR-350 on the myth box.
>
> Daniel
>

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.