Results 1 to 10 of 53

Thread: ?how to convert pronto neo IR codes

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2005
    Location
    South Africa
    Posts
    59
    Quote Originally Posted by NetMedic View Post
    Hope they interest you though. Thanks for your help.
    Yip, looks they they will be useful as they contain a different format to the codes I have been testing. Would I be correct in assuming the DBS device codes correlate to the hex codes extracted from the Marantz software?

    Quote Originally Posted by NetMedic View Post
    Unfortunately, no guarantees about any of these files having usable or correct information in them.
    I take it switching the burst pairs didn't solve the problem?

  2. #2
    Join Date
    Jun 2008
    Location
    Tasmania
    Posts
    77

    More...

    Hi T1voZA

    I've not tried the pair codes yet.

    You're right about the DBS codes being the ones I'm using. Sorry for not making that clear.

    I'll have a go with these codes later tomorrow, and let you know how I get on.

    Best wishes and thanks again

    Chris.

  3. #3
    Join Date
    Jun 2008
    Location
    Tasmania
    Posts
    77

    crashing on reboot

    Hi T1voZA

    I think the codes may be OK but there is something wrong with the way I'm importing them to my tivo.

    I've got the tivo operating with the supplied codes 30017. These don't work with my stb but I have to choose something in guided setup to complete the setup.

    I then reboot the tivo, and via serial port go to /var/hack/guides. I upload my tcl file there using zmodem and check it using "joe" text editor. My tcl file is set to 30017 to replace the codes already loaded.

    then I run

    tivosh
    %source altech4.tcl
    loadcodes

    this then completes with the correct 'puts' to the screen

    Then I type "ctrl-d" to exit tivosh.

    Then restart the tivo.

    When the tivo restarts it gets into a boot-reboot cycle.

    I wonder if the tcl file I've written has an error in it. I can't see how it would keep rebooting when all I've done is change the IR codes?? I haven't even used the codes, so unless the tivo sends them on boot, it shouldn't crash, unless my tcl file is doing something else in addition to changing the codes.

    Please help!!

    Chris.

    I'm going to try entering the codes manually using tridge's method of writing them directly to tty2, just to test them... hopefully without crashing the machine this way.

  4. #4
    Join Date
    Jun 2008
    Location
    Tasmania
    Posts
    77

    still no go.

    Hi again, from frustrated of Tasmania.

    Thanks Pete: But I'm not at all fussed about upcoming slices, unless of course someone has saved me the pain of getting some flinders codes which work, and put them in the slice.

    I don't have any codes which work yet, so I don't care if my codes are overwritten. To be honest, I'm getting to the stage now where I feel like overwriting the entire tivo HD with something more useful! I'll worry about the cable box code number once I get something working. I've had requests from all over the place for flinders codes. Only myself seems to be working on it. Me, who knowns next to nothing about the tivo, or linux for that matter.

    I've been trying to find where, in the tivo image, the list of cable box codes is located, so I can play with that directly, rather than using scripts which seem not to work. But I can't find where, on the tivo image, the stb codes live. I've looked all over the wiki and can't find this information. The wiki says something about a /stb sudirectory, which seems not to exist in the current image, I've searched all over for that.

    I really don't mind reimaging my drive (probably now for the 20th time) and then changing the stb code file to use my own codes, before I complete guided setup.

    I'm fed up of scripts which don't work, and scripts which result in a brick rather than a tivo. Unfortunately I don't know linux scripts well enough to pick out the faults in them. It seems a lot of stuff on the wiki relates to old images and when I try to use the scripts blind, either the directory doesn't exist on the new image, some file or proc doesn't exist, or I get a "permission denied" error despite setting the file system to read/write.

    So pete, you could really help me by letting me know where the stb ir codes are located in the current image, if you have that information.

    To my friend T1voZA

    I tried the ir_codes.tcl file and of course set my file system to read/write before I started

    ./ir_codes.tcl

    "permission denied"

    what?!

    I went to the mfslib.tcl file and checked and yes, it's read/write enabled.

    Now what do I do???!!!

    Chris.
    the ir_codes.tcl file is appended. Does this look right? This is the code downloaded form T1voZA's irconvert page with "switch sequences" ticked.
    Attached Files Attached Files

  5. #5
    Join Date
    Oct 2005
    Location
    South Africa
    Posts
    59
    Quote Originally Posted by NetMedic View Post
    I tried the ir_codes.tcl file and of course set my file system to read/write before I started

    ./ir_codes.tcl

    "permission denied"
    You need to first give the file execute permission, then you may execute it, this can be done as follows:
    Code:
    chmod 755 ir_codes.tcl
    ./ir_codes.tcl
    Quote Originally Posted by NetMedic View Post
    the ir_codes.tcl file is appended. Does this look right? This is the code downloaded form T1voZA's irconvert page with "switch sequences" ticked.
    Your 'ir_codes.tcl' file looks fine, the device number is set to '30002' which means you will need to run the dbset command (as explained when executing the script) in order for your TiVo to make use of the new codes.

    Quote Originally Posted by NetMedic View Post
    I've been trying to find where, in the tivo image, the list of cable box codes is located, so I can play with that directly, rather than using scripts which seem not to work. But I can't find where, on the tivo image, the stb codes live. I've looked all over the wiki and can't find this information. The wiki says something about a /stb sudirectory, which seems not to exist in the current image, I've searched all over for that.
    The cable codes are stored within the TiVo's MFS (i.e. it's proprietary database). You can view all the stored codes in TivoWeb from the following address:
    http://yourtivoip/mfs/Component/Ir/TivoFormat

    Since the MFS isn't editable, the only way in which to update the codes is by updating the MFS records and thus the need for the scripts.

    Quote Originally Posted by NetMedic View Post
    I'm fed up of scripts which don't work, and scripts which result in a brick rather than a tivo. Unfortunately I don't know linux scripts well enough to pick out the faults in them. It seems a lot of stuff on the wiki relates to old images and when I try to use the scripts blind, either the directory doesn't exist on the new image, some file or proc doesn't exist, or I get a "permission denied" error despite setting the file system to read/write.
    To solve the problem of the new codes corrupting your MFS and causing a reboot loop, rather test the ir codes without uploading them into the mfs.

    To achive this, first do the following:
    Code:
    mkdir /hack/ircodes
    cd /hack/ircodes
    wget tivoza.nanfo.com/downloads/testcodes.tgz
    tar -xzvf testcodes.tgz
    You only need to perform the above once.

    To make use of the above, you need to supply it with a codeset file. You can create the codeset file using the "IR Convert" webpage in the same manner as which you created the "ir_codes.tcl" file but this time set the "Output format" to "TiVo codes". Download the generated "ir.codes" file and ftp it to your TiVo's '/hack/ircodes' directory (created above).

    You can now test each button code by typing the following:
    Code:
    cd /hack/ircodes
    ./irlock testcode.tcl ir.codes Dig1 
    ./irlock testcode.tcl ir.codes Dig2
    ./irlock testcode.tcl ir.codes Dig3
    ./irlock testcode.tcl ir.codes Dig4
    ./irlock testcode.tcl ir.codes Dig5
    ./irlock testcode.tcl ir.codes Dig6
    ./irlock testcode.tcl ir.codes Dig7
    ./irlock testcode.tcl ir.codes Dig8
    ./irlock testcode.tcl ir.codes Dig9
    ./irlock testcode.tcl ir.codes Dig0
    The script will execute the specifed button 10 times.

    By performing the above you'll now be able to test new codes simply by uploading a new ir.codes file. No need for updating the MFS and no need for rebooting at any stage.

    When testing your codes, you may find that one of the codes causes your TiVo to reboot. This won't cause your TiVo to go into a reboot loop cycle but it does indicate that the learnt code is erroneous and if adjusting it's "burst pairs" settings (using the "IR Convert" webpage) doesn't help fix the codes, you'll need to relearn the code.

    I would suggest you create some test code files using the following "burst pairs" settings:
    • Retain all sequences
    • Remove single press sequence
    • Remove repeat sequence
    • Retain all sequences + switch sequences
    • Remove single press sequence + switch sequences
    • Remove repeat sequence + switch sequences

  6. #6
    Join Date
    Jun 2008
    Location
    Tasmania
    Posts
    77

    Thanks but no net connection

    Hi T1voZA.

    Just to thank you for all your help. I'm going to try your suggestions tomorrow.

    Unfortunately, my tivo is not connected to a network. I can't get a cable to it where it is in the living room. I do have a turbonzet card but even if I fit it, I would have to move the tivo from the living room to my office where the network is, and there's no way of testing the IR blaster from there when the STB is in the living room. Hence I'm doing all my editing and uploading via the tivo's serial port and use zmodem which mostly works ok. This way I can keep the tivo close the the stb and test the ir blaster. I keep my notebook near the tivo and run backwards and forwards to it with the files on a thumb drive. I get my guide data via the modem dial up system as there is a phone line near the tivo in the living room. And my guide data arrives very nicely every day as it should.

    However, you will deduce from all this that I can't elegantly call the tivo box via tivoweb and operate it remotely. I'm doing some real hacking!

    Despite all this, I think I can suss out a way of getting the files you suggest, into the box. It'll take a bit of time and effort though!

    I'll let you know how I get on.

    Thanks for your help.

    Chris.
    Last edited by NetMedic; 09-08-2008 at 11:40 PM. Reason: clarity

  7. #7
    Join Date
    Jun 2008
    Location
    Tasmania
    Posts
    77

    switcherstart

    Hi again T1voZA

    Do I need to kill switcherstart before testing the codes with irlock?

    I've noticed that killing switcherstart sometimes causes my tivo to freeze, resulting in the need to "pull the plug out" to reboot.

    Are there any other processes I should kill before testing the ir codes?

    Thanks

    Chris.

Similar Threads

  1. Controlling TiVo HD with a Pronto
    By jnrdavo in forum Australian TiVoHD
    Replies: 3
    Last Post: 03-10-2008, 04:22 PM
  2. Tivo and Philips Pronto
    By jnrdavo in forum Australian TiVoHD
    Replies: 1
    Last Post: 12-09-2008, 12:25 PM
  3. IR Codes - how to convert to tcl format
    By deanobeano in forum New Zealand General Forum
    Replies: 1
    Last Post: 12-03-2007, 02:20 PM
  4. IR conversion from Pronto to TiVo via php
    By gideon_friedmann in forum Question and Answer Forum
    Replies: 0
    Last Post: 20-03-2005, 11:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •