bubba123321
01-24-2006, 03:30 PM
Hello all,
I am starting this thread with the hope that we can quickly drive to a simple solution for TIVO series2 support on COOLSAT5000 without requiring a modification to TIVO. This means we will need to modify the Coolsat bin file.
I propose we simply replace the COOLSAT IR codes in the bin file that are used for numbers 0,1,2,3,4,5,6,7,8,9,and enter. This will render these keys useless on the Coolsat remote. You will only be able to use the TIVO to change channels. I know a "better option would be to add the IR codes instead of replacing them and put a soft switch in the menu but if we cant get a copy of the source code from NORW, it will be impossible to do that.
I propose that we replace them with the DN codes for numbers 0,1,2,3,4,5,6,7,8,9, and enter. I propose DN IR codes because I believe that they are readily available by the most people here.
So we need three things to make this happen
1) the coolsat bin. - Readily available here (wow! almost done already!)
2) coolsat IR codes for 0,1,2,3,4,5,6,7,8,9,enter
3) DN IR codes for 0,1,2,3,4,5,6,7,8,9,enter
If you have or can get numbers 2 and 3 below please post them ASAP.
Thanks and good luck!
bubba123321
01-24-2006, 07:23 PM
Hi, I was hoping you'd join this effort. I've seen the file you posted before.
It is a script called Coolsat_5k.tcl that needs to be placed on a hacked tivo to teach the tivo how to generate IR pulses that the coolsat understands.
I believe that it was created by someone who captured the IR codes from a coolsat remote on a pronto remote and entered them at this website h**p://www.tivoportal.co.uk/prontoconverter which automatically generated the file. This web page uses the pronto hexadecimal version of the coolsat codes to creat this .tcl file. I don't believe that the file itself contains the actual hexadecimal string that we would have to search for if we were bit editing the NORW bin file.
I can open the file you posed in a text editor and it looks like this :
source /tvlib/tcl/tv/mfslib.tcl
proc setIr { irObj field irSequence } {
set savedInitial 0
foreach irPart $irSequence {
if {$savedInitial == 0} {
set savedInitial 1
dbobj $irObj set $field $irPart
} else {
dbobj $irObj add $field $irPart
}
}
}
proc loadcodes {} {
set db [dbopen]
puts "Setting new IR codes into 10004 (PrimeStar)..."
RetryTransaction {
set tivoir [db $db open /Component/Ir/TivoFormat/10004]
setIr $tivoir "Dig0" "0 51 36 0 516 261 34 97 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 97 34 97 34 97 34 97 34 97 34 97 34 97 34 34 34 97 34 97 34 97 34 34 34 34 34 34 34 34 34 97 34 34 34 34 34 34 34 97 34 97 34 97 34 97 34 2247 516 132 34 261"
setIr $tivoir "Dig1" "0 51 36 0 514 258 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 2233 514 132 34 258"
setIr $tivoir "Dig2" "0 51 36 0 514 258 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 2220 514 130 34 258"
setIr $tivoir "Dig3" "0 51 36 0 514 258 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 96 34 96 34 34 34 34 34 34 34 34 34 34 34 96 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 2226 514 130 34 258"
setIr $tivoir "Dig4" "0 51 36 0 514 258 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 34 34 96 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 34 34 96 34 96 34 96 34 96 34 96 34 2223 514 130 34 258"
setIr $tivoir "Dig5" "0 51 36 0 516 261 34 97 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 97 34 97 34 97 34 97 34 97 34 97 34 97 34 97 34 34 34 97 34 34 34 34 34 34 34 34 34 34 34 34 34 97 34 34 34 97 34 97 34 97 34 97 34 97 34 2244 516 132 34 261"
setIr $tivoir "Dig6" "0 51 36 0 514 258 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 2226 514 130 34 258"
setIr $tivoir "Dig7" "0 51 36 0 514 258 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 34 34 34 34 96 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 34 34 96 34 96 34 96 34 96 34 2223 514 130 34 258"
setIr $tivoir "Dig8" "0 51 36 0 516 261 34 97 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 97 34 97 34 97 34 97 34 97 34 97 34 97 34 34 34 97 34 34 34 97 34 34 34 34 34 34 34 34 34 97 34 34 34 97 34 34 34 97 34 97 34 97 34 97 34 2247 516 132 34 261"
setIr $tivoir "Dig9" "0 51 36 0 514 258 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 34 34 96 34 96 34 96 34 96 34 2227 514 130 34 258"
setIr $tivoir "Enter" "0 51 36 0 516 259 34 96 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 96 34 96 34 96 34 96 34 96 34 96 34 96 34 34 34 96 34 34 34 34 34 96 34 34 34 34 34 34 34 96 34 34 34 96 34 96 34 34 34 96 34 96 34 96 34 2218 516 130 34 259"
}
puts "Finished! Press Control-C to reboot your TiVo for the new codes to take effect."
dbclose $db
}
bubba123321
01-26-2006, 06:24 AM
that does put a crimp in the plan. got a link to that thread? I'd like to maybe talk to the guy that posted it.
bubba123321
01-26-2006, 05:29 PM
I am getting a palm pilot to run h**p://www.pacificneotek.com/ this software on and will be capturing the IR codes for the CS5000 and DN301 over the weekend.
It would be a cake walk if I had the .bin source code (or knew someone who did) who could swap out the 0thru9 codes and recompile the .bin
Can you help?
thanks,
Bubba
jamunga
01-26-2006, 09:19 PM
Just a note....you dont want to use DN codes. They use a proprietary encoding that is non-standard. When you dive into this, you will find the standard is NEC1. It accounts for about 80% of the boxes out there.
Next thing.....you need to know about NEC-1. It transmits 32 bits. The first 8 are the device, the next 8 are the subdevice, then the function, then the complement of the function.
The Coolsat 4000 is Device 1, Subdevice 254 (complement of 1).
The Hughes box (Tivo code 10020) is what you tell Tivo you have. It is NEC1. Device 12, Subdevice 251.
Coolsat 4000 function codes (5000 wont be much different):
Keypress - Button Code (bin) - HEX
1 - 1 - 7F
2 - 2 - BF
3 - 6 - 9F
4 - 4 - DF
5 - 5 - 5F
6 - 7 - 1F
7 - 8 - EF
8 - 10 - AF
9 - 11 - 2F
0 - 14 - 8F
Ch UP - 21 - 57
Ch DN - 22 - 97
And of course, the Hughes has its own set. My circuit is able to read the Tivo's IR blasters (Hughes codes) and sends out Coolsat codes. But Coolsat no likey. I am switching to a different LED tomorrow (maybe pull the one from the Coolsat remote).
bubba123321
01-27-2006, 06:41 AM
thanks!,
Now I feel like i'm starting to make some headway. thanks for the input. I would choose something other than the DN codes but the only remote that I have is from a dp301. perhaps after I play around with it thins weekend i can settle on something other than DN. Do you have the Hughes codes?
Do you have a llink to a FAQ about IR codes that might get me up to speed?
thanks,
Bubba