TiVo Community Forum

TiVo Community Forum Archive 2
Covering threads with a last post date between
July 1, 2004 and December 31, 2005.
THIS IS A READ ONLY SITE
 


 

SEARCH  |  ARCHIVE 1 MAIN SITE

 
Forum Jump
 
Thread Tools Search this Thread Display Modes
Old 04-03-2003, 11:22 AM   #121 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
Re: Do I need to do this if I have a Series 2?

Quote:
Originally posted by Mr. T
My S2 has an option in setup to enable serial cable and lets you choose GI, Motorola etc. I tried all 3 (I have a Comcast Motorola v7.54). It says it can't talk to cable box, so I am using IR blaster.

My question is do I need to run the rc.sysinit script too? or is it that Comcast just has turned off that feature in my box?



I'll presume that you've already tried connecting the TiVo's serial cable from the TiVo's Control Out (Serial) to the female 9-pin D connector on the back of the DCT (your Motorola cable box).

The GI/Motorola/etc. selection in the TiVo is unimportant. They're all the same, and are only there so that a user can select what they see on the front of their DCT (Motorola's DCTs used to be GI).

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA

Last edited by DonS : 08-04-2003 at 04:48 PM.
DonS is offline Report Bad Post Report Post
Old 04-03-2003, 12:42 PM   #122 (Print)
Mr. T
New Member
 
Join Date: Jan 2003
Location: DC area
Posts: 8
Yes I have the right model and have the 9pin hookup. So it appears that I need to get them to turn it on and installing the sysinit.rc patches has nothing to do with this.

I wonder if I tell them my box is flakey and ask for another one if it might be turned on by chance?

Is there anyway to "program" the box without being "Comcast", ie. how is this done is it electronic via the cable or done via the remote control.

Thanks!

__________________
Linux sucks - why didn't Tivo use a real O/S?
Mr. T is offline Report Bad Post Report Post
Old 04-03-2003, 01:00 PM   #123 (Print)
Riggstonia
Registered User
 
Join Date: Sep 2002
Location: Camarillo, CA
Posts: 124
has anyone had this problem, i'm not expecting a fix just was wondering if i'm the only one.

i have two tivos, a 80hr and a 60 hr both new
adelphia cable with two dct2224 boxes
the 80hr was changing fine with the serial
the 60hr would change to the number you wanted then add 1 of you changing up, or take away 1 if changing down.

if you went from 7 to 200 it would go to 200 pause for a second then go to 201
from 200 to 7 would go to 7 wait and then go to 6.
after two weeks the 80hr started to do the same.

the adelphia resent the signal to both boxes and the 80 started to work again, but the 60 still doesn't work.

now they are both changing wrong again. tivo said they can't help me because they haven't done any testing with adelphia.
Riggstonia is offline Report Bad Post Report Post
Old 04-04-2003, 05:23 PM   #124 (Print)
Dids
New Member
 
Join Date: Apr 2003
Posts: 4
Here's my $0.02.

I have a Philips Series 1 and a Motorola DCT2000 box (Firmware is 7.65) which has the female DB9 in the back (labelled 'data')

After reading this thread yesterday I dug out my serial cable which came with the Tivo and installed the script to enable serial cable.

Script worked fine, but the tivo is unable to change the channels. I tried reversing TX and RX (stereo left/right on the cable) to no avail.

I live in Orange County and get cable thru Cox Communications. This morning I rang them and asked if they could turn the serial port on. Here's a short version of a long phonecall:

cox: We don't support Tivo
me: It's not about Tivo, it's about my cable box
cox: please hold...

cox: We don't use this feature, we can't switch it on I've talked to my
supervisor
me: You just have to send a specific signal to the box, it's only turned off
by default
cox: but the box software doesn't support it
me: The firware on the box is 7.65, anything above 7.54 supports it
cox: How do you know the firmware version?
me: press power and select and choose a menu option
cox: oh... but the hardware in the box doesn't support it, it's not connected
me(fobing off at this point): No I checked the serial number underneath
the cable box, the hardware is fine
cox: please hold...

cox: ok I've talked to our digital group and they can switch it on..

Tada!! The guy called me back and told me that the switch had happened...

...but....it still doesn't work.


Any suggestions on how I can diagnose the problem?

Anybody else in OC wants to try this to see if they have more luck?

-D
Dids is offline Report Bad Post Report Post
Old 04-05-2003, 01:10 PM   #125 (Print)
jahf
Mew Nember
 
Join Date: Apr 2002
Location: Nederland, CO
Posts: 351
Is there somewhere that documents the codes sent by the TiVo over serial? I have a PC that I would like to put in the living room as a media player and it would be very interesting for me to know the codes so that I could program a serial input on the PC, letting the TiVo remote control the PC media player.

__________________
My SIG was TOOOOOO long ... instead I posted it all in this thread for people to read.

Wanna know about what is different from a DirecTV DVR with TiVo and a standalone TiVo -OR- newbie links to hack your box -OR- info on improving your NTSC PQ -OR- info on HDTV resolutions -OR- [to be added]?

Go there :)
jahf is offline Report Bad Post Report Post
Old 04-05-2003, 01:37 PM   #126 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
Quote:
Originally posted by jahf
Is there somewhere that documents the codes sent by the TiVo over serial? I have a PC that I would like to put in the living room as a media player and it would be very interesting for me to know the codes so that I could program a serial input on the PC, letting the TiVo remote control the PC media player.


The "codes" sent by the TiVo over its serial port depend on the device that the TiVo is trying to control. For example, if the TiVo is trying to control a Motorola DCT, the TiVo will send commands that tell the DCT to "simulate" remote control keypresses (for CH+, CH-, and digits). The TiVo expects several responses from the DCT, including a channel status message that the DCT sends, indicating to the TiVo that the channel change was successful. These messages look like:
10 78 <16-bit length> <8-bit seq #> <8-bit ID (?)> <packet payload> <16-bit CRC> 10 03
For example, a message to simulate the '5' key on the remote looks like:
10 78 00 04 21 40 22 05 30 00 10 03

The receiver of a packet is expected to respond with an acknowledgement. For example:
10 78 00 02 A2 04 20 00 10 03 (DCT responding to the '5' message above).

Good luck!

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA
DonS is offline Report Bad Post Report Post
Old 04-05-2003, 02:29 PM   #127 (Print)
embeem
 
Join Date: Apr 2001
Location: edge of tomorrow
Posts: 235
Quote:
Originally posted by DonS

10 78 <16-bit length> <8-bit seq #> <8-bit ID (?)> <packet payload> <16-bit CRC> 10 03
For example, a message to simulate the '5' key on the remote looks like:
10 78 00 04 21 40 22 05 30 00 10 03

The receiver of a packet is expected to respond with an acknowledgement. For example:
10 78 00 02 A2 04 20 00 10 03 (DCT responding to the '5' message above).


I came to pretty much the same conclusion looking at the data, although I'm not sure about the id/seq #.

<16bit packet type><16bit length><data><16bit checksum><16bit end packet>

0x10 is a control character
<packet type> can be 10 78, it can also be 10 70 (and probably more)

if <data> contains a 0x10 then it will be stored as 10 10 to denote that it's an actual 0x10 and not a control code.

<size> self explainitory; 10 10 only counts as one byte.

<checksum> never did figure out exactly what scheme they were using

<end packet> seems to be a constant 10 03

...

If anyone can nail these down further I'd be interested in hearing about it.

footnotes:
Code:
channel change messages, starting with channel 2: [1078][0008][0000200002000100][3864][1003] [1078][0008][0000200003000100][24df][1003] [1078][0008][0000200004000100][73fe][1003] [1078][0008][0000200005000100][6f45][1003] [1078][0008][0000200006000100][4a88][1003] manual channel change <-- [1078][0019] [1010042000a60100002a1556cd00000000000000000000000000] [219c][1003] --> [1078][0002][9140][b8ea][1003] <-- [1078][0019] [21042000a60100002a1556cd00000000000000000000000000] [ed37][1003] --> [1078][0002][a240][2420][1003] <-- [1078][0019] [32042000a60108d02a1556cd00000000000000000000000000] [a489][1003] --> [1078][0002][b340][a869][1003] buttons: "1" > [1078][0004][1010][402201][266d][1003] "2" > [1078][0004][1010][412202][14f6][1003] "3" > [1078][0004][1010][402203][057f][1003] "4" > [1078][0004][1010][402204][71c0][1003] "5" > [1078][0004][1010][402205][6049][1003]

__________________
http://tivo.samba.org/download/mbm
E4pFXEMBEEMXXv2L0TlAFOYC3/2HtWFvYiL3md0h2cxuU1BFugTKBBaOi1GH/7265DTD4a57
7fg1JOK8+3nCiZvRjl11Bit4LuaXA4KjPh0OHCyFIpSP2VJkb5pkY2M5HPlB N0/UawyQBhSM
CVnB02kbxifsgVYcYfEiTG2qfIdFXmstrEhW9gpe+5OxEYid979qu1Esg2YH NA7W8tSTd1t9
88LYW46AhE01Uts8pa4TgZazxlo/FkMAS3i/Oqtm7Rf8C6QzXmbDgbN+fP+Fcu53FOtZXNXX
ClRoZSB0cnV0aCBhYm91dCBhIG1hbiBsaWVzIGluIHdoYXQgaGUgaGlkZXMg LU1hbHJhdXgK
embeem is offline Report Bad Post Report Post
Old 04-05-2003, 02:42 PM   #128 (Print)
jahf
Mew Nember
 
Join Date: Apr 2002
Location: Nederland, CO
Posts: 351
Hmm, while I don't mind the idea of confirming the data if I can find out all the proper responses, I don't really need it.

What happens on the TiVo if it doesn't get the response? Will it try and resend, will it not care, or will it start getting confused?

__________________
My SIG was TOOOOOO long ... instead I posted it all in this thread for people to read.

Wanna know about what is different from a DirecTV DVR with TiVo and a standalone TiVo -OR- newbie links to hack your box -OR- info on improving your NTSC PQ -OR- info on HDTV resolutions -OR- [to be added]?

Go there :)
jahf is offline Report Bad Post Report Post
Old 04-05-2003, 03:00 PM   #129 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
Quote:
Originally posted by embeem
I came to pretty much the same conclusion looking at the data, although I'm not sure about the id/seq #.


I'm sure about the sequence number. It seems to use the lower two bits in each nybble, like so: 03 10 21 32 03... A 'response' has the high bit set and may depend on the previous packet (haven't investigated enough to be sure).

The "id" part is based on my observation that everything sent by the TiVo has 40 in this position, while everything sent by the DCT has 04. It may really be something like "this is a command vs response".

Quote:
Originally posted by embeem
0x10 is a control character


Yes, and must be 'escaped' with another 10 if it's embedded inside the packet.

Quote:
Originally posted by embeem
<packet type> can be 10 78, it can also be 10 70 (and probably more)


It's 10 70 before the DCT has been placed in its "serial link" mode (i.e. when it first powers up). This is the packet type used in the diagnostic tool I use (Motorola's "DiagMon"). All packets between the TiVo and the DCT, after the TiVo tells the DCT to enter "serial link" mode, use packet type 10 78.

Quote:
Originally posted by embeem
<checksum> never did figure out exactly what scheme they were using


Me neither. I tried a couple of 16-bit CRCs (CCITT, etc.), with different initial values, as well as MPEG-2's CRC, and nothing worked.

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA
DonS is offline Report Bad Post Report Post
Old 04-05-2003, 03:21 PM   #130 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
Quote:
Originally posted by jahf
Hmm, while I don't mind the idea of confirming the data if I can find out all the proper responses, I don't really need it.

What happens on the TiVo if it doesn't get the response? Will it try and resend, will it not care, or will it start getting confused?


Depends on what the TiVo is trying to do. If it's trying to change channels, it expects a channel status response. It will retry (for a while, at least) until it gets a valid channel response indicating that the channel change message "worked".

Here's a conversation between my TiVo and DCT when I did a channel-up operation to ch 125:
Code:
TiVo DCT 10 78 00 04 03 40 22 01 C0 01 10 03 10 78 00 02 80 04 30 83 10 03 10 78 00 04 10 40 22 02 14 F6 10 03 10 78 00 02 91 04 BC CA 10 03 10 78 00 04 21 40 22 05 30 00 10 03 10 78 00 02 A2 04 20 00 10 03 10 78 00 19 32 04 20 00 7D 01 08 C0 2B B6 D6 B0 00 00 00 00 00 00 00 00 00 00 00 00 00 82 3E 10 03 10 78 00 02 B3 40 A8 69 10 03


The TiVo sent three 'remote control digit press' messages ('1', '2', and '5'). Each was ACKed by the DCT. The DCT then sent a channel status message indicating we're now on channel 125 (the 00 7D in the 'long' packet). The TiVo then ACKed that packet.

The packets above are shown as they were sent and received. The DCT sent its response to the first packet before the TiVo sent its second packet. Either the TiVo waited for a response, or it merely waited for some timeout to expire.

Last edited by DonS : 04-05-2003 at 03:32 PM.
DonS is offline Report Bad Post Report Post
Old 04-07-2003, 04:56 PM   #131 (Print)
Dids
New Member
 
Join Date: Apr 2003
Posts: 4
I managed to get the service prompt (7.65>) by using a null-modem
adapter and pluging that into a PC so the serial port is working.

My DCT number is DCT2224/1661/ACDEGK so the serial option is there.

Connecting the Tivo to my PC (using the Tivo cable and a gender
changer) works. I can get the password prompt although 'factory'
doesn't seem to work anymore.

This seems to confirm that the Tivo cable works and that it is in fact a
NULL modem cable so the nullmodem adapter shouldn't be needed between Tivo and the cable box.

I'm stuck. The Tivo still seems unable to change the channels.

The only thing I've noticed is that the cable box seems VERY
unreliable on its serial port. I plugged my computer back to it and
couldn't get the prompt again (although I got a lot of debugging
messages at one point and couldn't reproduce that either)

-D
ps: For those of you using Cox, this does mean that they CAN enable the serial port if you bug them enough and sound sure of yourself )
Dids is offline Report Bad Post Report Post
Old 04-08-2003, 05:01 PM   #132 (Print)
kangolo
New Member
 
Join Date: Sep 2002
Posts: 14
Does anyone else get periodic lockups?

It will work fine for ages, then for no aparent reason will stop changing channels via serial - until the cable box is reset.
kangolo is offline Report Bad Post Report Post
Old 04-08-2003, 05:04 PM   #133 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
Quote:
Originally posted by kangolo
Does anyone else get periodic lockups?

It will work fine for ages, then for no aparent reason will stop changing channels via serial - until the cable box is reset.


Mine does exactly that. Maybe once every couple of months.

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA
DonS is offline Report Bad Post Report Post
Old 04-09-2003, 12:02 AM   #134 (Print)
embeem
 
Join Date: Apr 2001
Location: edge of tomorrow
Posts: 235
Quote:
Originally posted by Dids
I managed to get the service prompt (7.65>) by using a null-modem
adapter and pluging that into a PC so the serial port is working.

- snip -

The only thing I've noticed is that the cable box seems VERY
unreliable on its serial port. I plugged my computer back to it and
couldn't get the prompt again (although I got a lot of debugging
messages at one point and couldn't reproduce that either)


I have yet to see any prompt or debug messsages here; all I've seen are the packets described above and some useless key combos like diagnostics (power off, hit select) and subtitle settings (power off, hit info). If these were bootup debug messages you'll probably only see them when the box is initally plugged in, turning the box off really only goes into standby.

__________________
http://tivo.samba.org/download/mbm
E4pFXEMBEEMXXv2L0TlAFOYC3/2HtWFvYiL3md0h2cxuU1BFugTKBBaOi1GH/7265DTD4a57
7fg1JOK8+3nCiZvRjl11Bit4LuaXA4KjPh0OHCyFIpSP2VJkb5pkY2M5HPlB N0/UawyQBhSM
CVnB02kbxifsgVYcYfEiTG2qfIdFXmstrEhW9gpe+5OxEYid979qu1Esg2YH NA7W8tSTd1t9
88LYW46AhE01Uts8pa4TgZazxlo/FkMAS3i/Oqtm7Rf8C6QzXmbDgbN+fP+Fcu53FOtZXNXX
ClRoZSB0cnV0aCBhYm91dCBhIG1hbiBsaWVzIGluIHdoYXQgaGUgaGlkZXMg LU1hbHJhdXgK
embeem is offline Report Bad Post Report Post
Old 04-09-2003, 08:51 PM   #135 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
a bit of packet deciphering (LONG)...

I've figured out the CRC algorithm. It's the CCITT polynomial (x^16+x^12+x^5+1), data reflected on input, resulting CRC reflected, seed value 0. The CRC is calculated on all bytes after the initial 0x10 (for a packet whose 3rd and 4th bytes indicate length 0004, the CRC is calculated on 0007 bytes starting with the 2nd byte). No augmentation (adding 16 extra zeroes so that all data bits are run through the CRC polynomial) is performed on the data.

I believe I've also figured out the "sequence number":
* Two numbers, occupying the low 2 bits of each nybble (i.e. mask x33)
* Before transmitting new packet, increment the high nybble
* When responding to a packet, increment the low nybble and set the high bit of the byte (the high bit may indicate an ACK - all of the 'response' packets sent by both the TiVo and the DCT appear to be ACKs, with no payload)

This is illustrated by the following packets:
Code:
1. 10 78 00 04 10 10 40 22 0B 89 37 10 03 2. 10 78 00 02 91 04 BC CA 10 03 3. 10 78 00 08 21 04 20 00 37 00 01 00 42 F8 10 03 4. 10 78 00 02 A2 40 24 20 10 03 5. 10 78 00 04 32 40 22 0C 4B AD 10 03 6. 10 78 00 02 B3 04 AC 49 10 03 7. 10 78 00 08 03 04 20 00 36 00 01 00 E3 DC 10 03 8. 10 78 00 02 80 40 34 A3 10 03

0. Initial starting point is 00
1. TiVo sends a new packet, so it increments the high nybble (becomes 10) (which is also 'escaped' by another 10).
2. DCT is responding to the packet, so it increments low nybble (becomes 11) and sets high bit (becomes 91)
3. DCT sends a new packet, so it increments the high nybble (becomes 21)
4. TiVo responds to #3, so it increments the low nybble (becomes 22) and sets the high bit (becomes A2)
5-8. The sequence repeats, with a new "starting point" of 22 (i.e. where we left off after the previous packet).

So....

First two bytes are 10 78 (except for initial power-on - see below).

3rd and 4th bytes are length (payload size + 2). This length does NOT include any extra 10 bytes.

5th byte is sequence number.

6th byte is 40 if the sender is the TiVo, 04 if the sender is the DCT. I'll call this an "ID byte".

Payload, if any, starts at 7th byte and has length "len-2", where <len> is the value from the 2nd and 3rd bytes (<len> includes sequence number and ID byte).

Immediately after the payload is the CRC. The CRC is NOT calculated on any extra 10 bytes.

CRC followed by 10 03.

The TiVo is sending packets with 2-byte payloads. The first byte of the packet is 22 (for now, I'm presuming that this is a "fake some IR input" message - apart from this message and ACKs, I haven't seen the TiVo send anything else). The second byte is the 8-bit code value generated by a Motorola remote control. Here is a list of common code values:
Code:
0 0x00 A 0x17 1 0x01 MENU 0x19 2 0x02 FF 0x1D 3 0x03 REW 0x1E 4 0x04 PAUSE 0x1F 5 0x05 LOCK 0X24 6 0x06 LIST 0X25 7 0x07 GUIDE 0X30 8 0x08 RECORD 0X31 9 0x09 HELP 0X32 POWER 0x0A INFO 0x33 CHAN+ 0x0B UP 0x34 CHAN- 0x0C DOWN 0x35 VOL+ 0x0D LEFT 0x36 VOL- 0x0E RIGHT 0x37 MUTE 0x0F DAY+ 0x38 MUSIC 0x10 DAY- 0x39 OK 0x11 PG+ 0x3A EXIT 0x12 PG- 0x3B LAST 0x13 B 0x27 FAV 0x15 C 0x28

(Note that a given remote control may not have all of these keys, and some remotes may have more - I've looked at a couple of mine and these seem to be common).

The packets exchanged when the DCT first powers up are:
Code:
TiVo DCT 10 70 00 02 03 04 CC 07 10 03 10 70 00 02 03 40 C8 27 10 03 10 70 00 02 80 04 6A A3 10 03 10 78 00 03 03 40 00 68 96 10 03 10 78 00 02 80 04 30 83 10 03


These five messages don't completely follow the sequence number scheme I describe above, except for the responses (high bits set, low nybble incremented).

I don't know what the first three packets are - some kind of multi-part handshake to figure out who's there?

The 4th packet seems to be telling the DCT to change packet formats.

After the five messages above, and every time the TiVo changes the channel, the DCT sends at least one channel status message - first payload byte is 20, next two bytes indicate channel number. The payload length varies depending on channel type (analog vs. digital). I've seen multiple messages when tuning digital channels, as the DCT goes through its tune/enumerate streams/select streams sequence.

-Don

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA

Last edited by DonS : 08-04-2003 at 05:35 PM.
DonS is offline Report Bad Post Report Post
Old 04-09-2003, 10:51 PM   #136 (Print)
embeem
 
Join Date: Apr 2001
Location: edge of tomorrow
Posts: 235
Cool; now all we need is a way to get rid of those annoying channel change banners. Easiest thing to do would be to intercept the channel change messages and then send the clear button.

__________________
http://tivo.samba.org/download/mbm
E4pFXEMBEEMXXv2L0TlAFOYC3/2HtWFvYiL3md0h2cxuU1BFugTKBBaOi1GH/7265DTD4a57
7fg1JOK8+3nCiZvRjl11Bit4LuaXA4KjPh0OHCyFIpSP2VJkb5pkY2M5HPlB N0/UawyQBhSM
CVnB02kbxifsgVYcYfEiTG2qfIdFXmstrEhW9gpe+5OxEYid979qu1Esg2YH NA7W8tSTd1t9
88LYW46AhE01Uts8pa4TgZazxlo/FkMAS3i/Oqtm7Rf8C6QzXmbDgbN+fP+Fcu53FOtZXNXX
ClRoZSB0cnV0aCBhYm91dCBhIG1hbiBsaWVzIGluIHdoYXQgaGUgaGlkZXMg LU1hbHJhdXgK
embeem is offline Report Bad Post Report Post
Old 04-09-2003, 11:27 PM   #137 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
Quote:
Originally posted by embeem
Cool; now all we need is a way to get rid of those annoying channel change banners. Easiest thing to do would be to intercept the channel change messages and then send the clear button.


Yeah. I'm working on a little device that will take care of a few problems for me:
1. I'll send the select/ok/enter button immediately after the DCT gives a channel status message. This should clear the banner (TVGuide, in my case).
2. I've noticed that sometimes the DCT will miss a couple of the digits in the channel change messages. The TiVo will retry, but once it starts, it's usually fatal. I'll buffer what the TiVo sends and, if the DCT doesn't respond immediately with "success", I'll slow the messages down for delivery to the DCT.
3. I hope to handle the "TiVo lockup" problem. I'm not sure if the DCT will be OK, though.

I've never done any TiVo development (low-level embedded stuff is my typical work), so this will be a little processor with a couple of serial ports. It's got Ethernet, too, so I can monitor what's going on.

I'll have to keep two sets of sequence numbers: one between my device and the TiVo, the other between me and the DCT. I don't know how picky either one is about "correct" (i.e. received vs. anticipated) values; I guess I'll experiment with a direct connect to the DCT from my PC to see what happens.

I'm going to clean up my "deciphering" code and post it on my web site. Maybe somebody with more TiVo/Linux experience can do something with it on the TiVo. Linux question: could an app on the TiVo intercept serial port communications, so that it performs in software the functions of my external device?

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA
DonS is offline Report Bad Post Report Post
Old 04-10-2003, 12:35 AM   #138 (Print)
embeem
 
Join Date: Apr 2001
Location: edge of tomorrow
Posts: 235
Quote:
Originally posted by DonS
I'm going to clean up my "deciphering" code and post it on my web site. Maybe somebody with more TiVo/Linux experience can do something with it on the TiVo. Linux question: could an app on the TiVo intercept serial port communications, so that it performs in software the functions of my external device?


Hijacking i/o is tricky, but not all that hard. I had plans to write some software to take care of that pesky banner, maybe display some useless info while it's at it too.

__________________
http://tivo.samba.org/download/mbm
E4pFXEMBEEMXXv2L0TlAFOYC3/2HtWFvYiL3md0h2cxuU1BFugTKBBaOi1GH/7265DTD4a57
7fg1JOK8+3nCiZvRjl11Bit4LuaXA4KjPh0OHCyFIpSP2VJkb5pkY2M5HPlB N0/UawyQBhSM
CVnB02kbxifsgVYcYfEiTG2qfIdFXmstrEhW9gpe+5OxEYid979qu1Esg2YH NA7W8tSTd1t9
88LYW46AhE01Uts8pa4TgZazxlo/FkMAS3i/Oqtm7Rf8C6QzXmbDgbN+fP+Fcu53FOtZXNXX
ClRoZSB0cnV0aCBhYm91dCBhIG1hbiBsaWVzIGluIHdoYXQgaGUgaGlkZXMg LU1hbHJhdXgK
embeem is offline Report Bad Post Report Post
Old 04-17-2003, 09:33 AM   #139 (Print)
Augur
New Member
 
Join Date: Jul 2001
Location: Duluth, GA, USA
Posts: 2
Switch to new digital cable box problems

Thanks to the terrific work of Embeem and others (including posts to this forum), I successfully enabled serial control of my previous Motorola digital cable box last Fall. Dual control of the external box and internal tuner worked great and I could record and watch other programming simultaneously.

I upgraded to a Motorola DCT-5100 (HDTV capable digital box) this week only to discover no available serial port. I tried to select the IR blaster option in the Tivo setup option, but it wouldn't enable IR function (it worked while testing, but defaulted back to serial when I exited the setup screens). After installing the newer script from Embeem, I tried repeatedly to reset the dual control and get the IR blaster working again. Lots of failures led to re-running the guided setup on the Tivo, re-running Embeem's script and I am back in business with IR blaster working. However, my channel up and down button on the remote only works on the channels controlled by the IR blaster for the external box. I can input specific channel numbers and both the internal tuner or the external box work. If I am in the middle of the Tivo-tuned channels, I cannot use the UP/DOWN channel buttons to move up/down the channel lineup. Again, inputting the specific channel numbers or letting the Tivo choose channels (when recording) works OK. Any idea how I might re-enable the channel up/down functions?

Thanks!
Augur is offline Report Bad Post Report Post
Old 04-17-2003, 10:09 PM   #140 (Print)
Augur
New Member
 
Join Date: Jul 2001
Location: Duluth, GA, USA
Posts: 2
Trial and error seems to have solved my remote control problem. I tried repeatedly to import the channel lineup into the second source (RF in/Tivo tuner) and delete the duplicated channels. Each time it made things worse (even wrecked the guide listing). I finally decided I would import the Basic/Extended channels into the second source and not use the delete duplicated channels (I had already done this when I first set the combination up). Lo, and behold, the remote control/channel up/down function is working. 'Wish I understood Embeem's code better so I could figure out what I was doing wrong and maybe offer some advice to others if they have the same problems...

I guess for a lot of us, it is standing on the shoulders of giants (and a lot of trial and error) that gets us through.
Augur is offline Report Bad Post Report Post
Old 04-18-2003, 03:26 AM   #141 (Print)
joeytino
Registered User
 
Join Date: Feb 2003
Location: Atlanta, GA
Posts: 8
what am i missing

OK I may be an idiot, but I cannot figure out the error of my ways trying to following eyemcrazy's seemingly easy steps to activate serial control. First the /mnt/dos command doesn't work unless I create it first. Is this correct? Then I cannot get to the rc.syncinit file. HDx7 does not seem to open, no matter what I've tried. It says it doesn't exist

I have:

Sony Series 1 upgraded to 300+ hours with 120Gb Maxtor drives. I pulled first the A, then both A +B and although I can see hdc1-hdc10, hdc7 will not open.
Both drives are properly seen by my pc's BIOS
Jumpers are correctly set.


I tried both the boot floppy and Cd without success. Although the boot cd sees them as hdg and hde, I did not notice any other difference.

I would like to be able to plug this drive in my linux box just to see the directory structure, what risks are there?

Any help would be most appreciated
joeytino is offline Report Bad Post Report Post
Old 04-19-2003, 11:35 AM   #142 (Print)
mbpress
Registered User
 
Join Date: Feb 2003
Posts: 4
For what its worth... my DCT-2000 with the serial port, the correct software (7.54) and the "patch" TiVo sent me for V3 that was supposed to make my TiVo (Series 2) drive the DCT serially -- NEVER Worked.

Yesterday V4 showed up. I thought I'd give the serial connection another try and IT WORKED (No more IR blaster...wooohooo!).
mbpress is offline Report Bad Post Report Post
Old 04-19-2003, 12:38 PM   #143 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
Quote:
Originally posted by mbpress
For what its worth... my DCT-2000 with the serial port, the correct software (7.54) and the "patch" TiVo sent me for V3 that was supposed to make my TiVo (Series 2) drive the DCT serially -- NEVER Worked.

Yesterday V4 showed up. I thought I'd give the serial connection another try and IT WORKED (No more IR blaster...wooohooo!).


That would fall under my "TiVo is configured correctly" qualification above.

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA
DonS is offline Report Bad Post Report Post
Old 04-19-2003, 04:46 PM   #144 (Print)
gothboy
Registered User
 
gothboy's Avatar
 
Join Date: Apr 2003
Location: Boston, MA
Posts: 8
Send a message via AIM to gothboy Send a message via Yahoo to gothboy
On my Sony SVR-2000 3.0 I could not find to option to enable serial in the setup anywhere. Rebooted it, did a system reset and went through the entire walkthrough again, still nothing.

I called the Sony support number and spoke to tech support. They said that serial connections are not allowed for cable boxes period. Only satellite.

Now I've seen many many posts from people here saying that they've done it. I have a Motorola DCT-2224 with 7.65 firmware.

How can I get the Sony DVR to show serial as an option with this box? Is this only available by applying the hack at the beginning of this thread? I only ask because some mentioned having the serial option by default.
gothboy is offline Report Bad Post Report Post
Old 04-23-2003, 02:54 AM   #145 (Print)
embeem
 
Join Date: Apr 2001
Location: edge of tomorrow
Posts: 235
Alright, I've got some code to intercept/decode/modify the data from the dct's serial port. I'll try to clean up the code and post it sometime soon.

The overall structure to the communication is rather boring, tivo sends either 3 digits or a channel up/down key, cablebox responds with the channel number; many acknowledgements or retransmissions if any of the above fails.

Many thanks to DonS for providing key bits of information.

__________________
http://tivo.samba.org/download/mbm
E4pFXEMBEEMXXv2L0TlAFOYC3/2HtWFvYiL3md0h2cxuU1BFugTKBBaOi1GH/7265DTD4a57
7fg1JOK8+3nCiZvRjl11Bit4LuaXA4KjPh0OHCyFIpSP2VJkb5pkY2M5HPlB N0/UawyQBhSM
CVnB02kbxifsgVYcYfEiTG2qfIdFXmstrEhW9gpe+5OxEYid979qu1Esg2YH NA7W8tSTd1t9
88LYW46AhE01Uts8pa4TgZazxlo/FkMAS3i/Oqtm7Rf8C6QzXmbDgbN+fP+Fcu53FOtZXNXX
ClRoZSB0cnV0aCBhYm91dCBhIG1hbiBsaWVzIGluIHdoYXQgaGUgaGlkZXMg LU1hbHJhdXgK
embeem is offline Report Bad Post Report Post
Old 04-23-2003, 08:59 AM   #146 (Print)
DonS
New Member
 
Join Date: Mar 2002
Location: Santa Clara, CA
Posts: 21
Send a message via Yahoo to DonS
I've got some code, too. It started as a sniffer (looking at the Rx lines on two serial ports on my PC), then "evolved" into a packet forwarder.

It's a Windows console app, but should be easily portable to another OS. The only module that needs a lot of work is the serial I/O portion. It's currently full of #ifdef _WIN32 blocks.

I plan to make it more "intelligent", so that it will handle the retries if the DCT chokes (maybe varying the packet speed, since TVGuide seems to miss a bunch of keypress info).

Anyway, here's a ZIP file with the executable and an MSVC6 project:
http://www.starrsoft.com/freeware/DCTTest.zip

-Don

__________________
Sony SVR-2000 (3.0)
TiVoNET kit (connected via 10/100 switch to SonicWall DMZ)
WD 120G (times 2) = 298:46
DCT-2000 (7.54, w/TVGuide, hardware hack to give me serial control for the TiVo)
Comcast (was AT&T Broadband) in Santa Clara, CA
DonS is offline Report Bad Post Report Post
Old 04-23-2003, 01:56 PM   #147 (Print)
MickP
Registered User
 
Join Date: Apr 2002
Posts: 13
ok I've looked through this thread and eyemcrazys instructions look the most straight forward for a moron like me to get the serial connection.

However i only have a win xp desktop, so how do I insert the scripts, etc needed (and I know nothing about Linux other than how to spell it)

I have a Sony SA2000 upgraded to 246 hrs, and a Motorola Cable 2000 series.

Also where can I get a serial cable for the TIvo? I can't find mine.

If I don't fix this soon my wife is going to use me for Tivo tossing practice. She does not like missing her shows.

Thanks
MickP is offline Report Bad Post Report Post
Old 04-23-2003, 04:51 PM   #148 (Print)
embeem
 
Join Date: Apr 2001
Location: edge of tomorrow
Posts: 235
From the intercepting-serial-data-101 dept:

Busy. Nothing much to see here yet, the module only prints info to /var/log/kernel.
Attached Files
File Type: zip dct.zip (6.0 KB, 194 views)
embeem is offline Report Bad Post Report Post
Old 06-05-2003, 01:43 AM   #149 (Print)
suchland
New Member
 
Join Date: Dec 2002
Location: Anchorage, AK
Posts: 5
I've been struggling with trying to get serial control to work with my Series 2, working with a very helpful technician from my local cable company (GCI Cable in Anchorage, AK).

I've got a Motorola DCT2244/1661/ACDEFG with firmware version 07.65 boot 07.41, and the serial port has been enabled by the cable company. I've verified that the serial port is working by hooking up a serial cable and used a terminal emulation program on my PC to get a response from the cable box as expected.

Going through the setup on the TiVo, it always reports that it did not get a response from the cable box using the serial port - even after trying every suggestion I"ve seen posted here. Finally, I tested my serial cable that came with the TiVo, finding these connections between the two ends of the cable (please excuse the crude ASCII drawing):

Code:
mini-jack to TiVo serial port ----------- ------- | ---- | | ---- | | | ------- | | | ---------- | | | +---|-----+ | | | +------+ | | | +-----------------------+ | | | | | \ 0 0 0 0 0 / \ / \ 0 0 0 0 / \ / + ------------+ DB9 to Cable Box

I have no idea if these are what should be expected from a working cable.

At this point, the cable tech and I are stumped. We've tried all three of the cables boxes I have in the house, yet we can't get any of them to work. The most frustrating things is that he has the same model cable box and TiVo at his office and has gotten them to work! I suppose the next step is to haul my equipment to his office and compare things there - but I'd rather not tear everything apart if anyone here has a possible solution they'd like to suggest.

-Craig
suchland is offline Report Bad Post Report Post
Old 06-05-2003, 06:06 AM   #150 (Print)
lpwcomp
Registered User
 
Join Date: May 2002
Posts: 265
Suggestion: take your serial cable in to his office and try it with his equipment.

__________________
James L. Sutherland
AT&T TiVo 2 (213 Hrs)
AT&T TiVo 2 (282 Hrs)
TiVo 2 (186 Hrs)
TiVo 2 (62 Hrs)
lpwcomp is offline Report Bad Post Report Post
 
Forum Jump
Thread Tools

Go Back  TiVo Community Archive2 > Underground Playground > TiVo Underground

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 11:16 AM.


Powered by: vBulletin Version 3.0.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(C)opyright - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.


Spider History Index