[mythtv-users] New release of scte65scan (mainly for Comcast users)

Mark Knecht markknecht at gmail.com
Sun May 17 14:53:31 UTC 2009


On Sun, May 17, 2009 at 7:40 AM, Mark Knecht <markknecht at gmail.com> wrote:
> On Sun, May 17, 2009 at 7:37 AM, Mark Knecht <markknecht at gmail.com> wrote:
>> On Sun, May 17, 2009 at 6:58 AM, Mark Knecht <markknecht at gmail.com> wrote:
>>> On Sat, May 16, 2009 at 11:29 PM, Dennis Lou <dlou99 at yahoo.com> wrote:
>>>>
>>>> I decided to host the project at sourceforge.  Web page is http://scte65scan.sourceforge.net
>>>>
>>>> In case you're just tuning in, this will help make your SchedulesDirect or other guide data lineup match with your digital clearQAM layout. (i.e. channel 35 in SchedulesDirect is FOODTV which is mplexid=84/serviceid=5 in MythTV and 84.5 on your digital capable TV)
>>>>
>>>> From the changelog (0.2):
>>>>  Compiles under/for Windows
>>>>  Added HDHomerun support (no idea if working; I don't have one)
>>>>  Added PSIP scan
>>>>  Added input file mode (including stdin)
>>>>  Myth SQL tested working
>>>>  Name output now default
>>>>  Cleaned up output layout
>>>>  Added GPL license
>>>>
>>>> Short attention span instructions are:
>>>> 1. Go to Comcast office.  Get Pace DC50X DTA (they're free).  Punch up diagnostic page.  Write down VCT_ID.  Do what you want with DTA b/c you don't need it any more.
>>>> http://picasaweb.google.com/virgegx/ComcastDTAUnboxing#5276142959144255586
>>>>
>>>> 2. ./scte65scan -f3 -V your_VCT_ID us-Cable-Standard-center-frequencies-QAM256 > myth-vct.sql
>>>>
>>>> 3. mysql mythconverg < myth-vct.sql
>>>>
>>>> -Dennis
>>>
>>> Dennis,
>>>   I'm on this item this morning WRT the HDHR as soon as the wife
>>> wakes up and I can get the the VCT_ID in the bedroom.
>>>
>>>   No matter what comes out of this from all us HDHR users out here
>>> having a terrible time with the switch I appreciate your efforts.
>>>
>>>   I'm curious as to the need for the VCT_ID. Is it that Comcast only
>>> transmits this info to their own known good IDs or something like
>>> that?
>>>
>>>   Also, the Myth.org HDHR setup suggests scanning for QAM64 also. Is
>>> that necessary and is it even supported with scte65scan?
>>>
>>> Thanks,
>>> Mark
>>>
>>
>> Dennis,
>>   OK, I got the VCT_ID but am having some problems finding the HDHR.
>> How does the program understand the network location of this device?
>> Should I be giving it the IP address? The ID on the bottom of the
>> HDHR?
>>
>>   I'm making the assumption that I can run scte65scan from any Linux
>> box on my network, but it's complaining about not finding dvb devices:
>>
>> mark at lightning ~/scte65scan/scte65scan-0.2 $ ./scte65scan -f0 -V 0xBC2
>> us-Cable-Standard-center-frequencies-QAM256
>> /dev/dvb/adapter0/demux0: No such file or directory
>> mark at lightning ~/scte65scan/scte65scan-0.2 $
>>
>> Thanks,
>> Mark
>>
>
> Time-out. Just found the instructions about getting the HDHR library.
> Off to do that.
>
> Sorry for the noise.
>
> - Mark
>

OK, got the library but it's not compiling for me:

mark at lightning ~/scte65scan/scte65scan-0.2 $ ls -la
total 408
drwxr-xr-x 3 mark users   4096 2009-05-17 07:50 .
drwxr-xr-x 3 mark users   4096 2009-05-17 07:44 ..
-rw-r--r-- 1 mark users  35147 2009-05-16 21:22 COPYING
-rw-r--r-- 1 mark users    265 2009-05-16 21:22 Changelog
-rw-r--r-- 1 mark users    361 2009-05-16 21:22 INSTALL
-rw-r--r-- 1 mark users    140 2009-05-16 21:22 Makefile
-rw-r--r-- 1 mark users    960 2009-05-16 21:22 Makefile.hdhr
-rw-r--r-- 1 mark users   7543 2009-05-16 21:22 README
-rw-r--r-- 1 mark users     93 2009-05-16 21:22 TODO
drwxr-xr-x 2 mark users   4096 2009-05-17 07:48 libhdhomerun
-rw-r--r-- 1 mark users 215040 2009-05-17 07:47 libhdhomerun_20090415.tar
-rw-r--r-- 1 mark users  41416 2009-05-16 21:22 scte65scan.c
-rw-r--r-- 1 mark users   1656 2009-05-16 21:22 scte65scan.h
-rw-r--r-- 1 mark users  45216 2009-05-17 07:44 scte65scan.o
-rw-r--r-- 1 mark users  11052 2009-05-16 21:22 tunerdmx.c
-rw-r--r-- 1 mark users   1620 2009-05-16 21:22 tunerdmx.h
-rw-r--r-- 1 mark users   2522 2009-05-16 21:22
us-Cable-Standard-center-frequencies-QAM256


mark at lightning ~/scte65scan/scte65scan-0.2 $ make -f Makefile.hdhr
cc -O2 -DHDHR -c tunerdmx.c -o tunerdmx.o
tunerdmx.c:39:23: error: hdhomerun.h: No such file or directory
tunerdmx.c: In function ‘open_hdhr’:
tunerdmx.c:49: warning: assignment makes pointer from integer without a cast
tunerdmx.c:51: error: ‘id_str’ undeclared (first use in this function)
tunerdmx.c:51: error: (Each undeclared identifier is reported only once
tunerdmx.c:51: error: for each function it appears in.)
tunerdmx.c:54: error: ‘uint32_t’ undeclared (first use in this function)
tunerdmx.c:54: error: expected ‘;’ before ‘device_id_requested’
tunerdmx.c:55: error: ‘device_id_requested’ undeclared (first use in
this function)
tunerdmx.c:58: warning: initialization makes pointer from integer without a cast
tunerdmx.c: In function ‘demux_start’:
tunerdmx.c:172: error: ‘ret_error’ undeclared (first use in this function)
tunerdmx.c: In function ‘demux_read’:
tunerdmx.c:245: error: ‘uint8_t’ undeclared (first use in this function)
tunerdmx.c:245: error: ‘pbuf’ undeclared (first use in this function)
tunerdmx.c:245: error: ‘VIDEO_DATA_BUFFER_SIZE_1S’ undeclared (first
use in this function)
tunerdmx.c: In function ‘tuner_tune’:
tunerdmx.c:382: error: ‘ret_error’ undeclared (first use in this function)
tunerdmx.c: In function ‘tuner_checklock’:
tunerdmx.c:414: error: ‘arg’ undeclared (first use in this function)
tunerdmx.c:414: error: ‘tp’ undeclared (first use in this function)
tunerdmx.c:415: error: ‘ret_error’ undeclared (first use in this function)
tunerdmx.c:425: warning: passing argument 2 of ‘__rawmemchr’ makes
integer from pointer without a cast
tunerdmx.c:425: warning: passing argument 2 of ‘__builtin_strchr’
makes integer from pointer without a cast
make: *** [tunerdmx.o] Error 1


mark at lightning ~/scte65scan/scte65scan-0.2 $ ls -al libhdhomerun/hdhomerun.h
-rw-r--r-- 1 mark users 1813 2008-12-05 22:12 libhdhomerun/hdhomerun.h
mark at lightning ~/scte65scan/scte65scan-0.2 $

If it matters the box is Gentoo and the gcc compiler is 4.3.2

mark at lightning ~/scte65scan/scte65scan-0.2 $ gcc-config -l
 [1] x86_64-pc-linux-gnu-4.3.2 *
mark at lightning ~/scte65scan/scte65scan-0.2 $


Thanks,
Mark


More information about the mythtv-users mailing list