ExtractStream and PlayStream failing on every sector in a DTivo
rwaldin
rwaldin at y...
Thu, 03 Jan 2002 11:48:36 -0000
--- In ExtractStream@y..., "jeremyjgordonhome" <jgordon@s...> wrote:
> I've gone so far as to get a linux build environment for the TiVo
> setup, and modify the ExtractStream source to try and see if the
> calculation for FSID->physical offset is off, but no success yet.
I think you hit the nail on the head. I found a change that fixes
FSID->logical offset calculation on my SAT-T60 w/ 120 GB A drive:
Change:
nsector = (((loff_t)(((fsid * 0x20db2) & 0x3ffff) + 0x462)) << 9);
to:
nsector = (((loff_t)(((fsid * 0x20db2) & 0xfffff) + 0x462)) << 9);
That's a change to the mask from 18 bits to 20. Here's a more
detailed answer I posted to DealDatabase:
http://www.dealdatabase.com/forum/showthread.php?s
=&threadid=6890&perpage=1&pagenumber=22
-Ray