Opened 18 years ago

Closed 16 years ago

#1793 closed defect (invalid)

Chan Scan fails on broken VCT

Reported by: davideshay@… Owned by: danielk
Priority: trivial Milestone: 0.22
Component: channelscan Version: head
Severity: low Keywords: dvb qam channels.conf scan
Cc: Ticket locked: no

Description

I have a USB DVB HDTV adapter and am using it with a QAM cable source. Under 19 I had this working using channels.conf import, which is now disabled.

According to the commit log,I'm supposed to attach some info, so here goes:

Signal timeout, 500, Tuning timeout 3000

Log with siparser,channel,record output attached, as well as working channels.conf.

I get *WAY* too many channels using the myth scan and myth actually dies (error encountered displaying video) when I try to tune many of them.

Attachments (3)

channels.conf.all (498 bytes) - added by anonymous 18 years ago.
dvb-qam.log.gz (45.6 KB) - added by anonymous 18 years ago.
1793.patch (552 bytes) - added by danielk 18 years ago.
Hack for probable problem

Download all attachments as: .zip

Change History (13)

Changed 18 years ago by anonymous

Attachment: channels.conf.all added

Changed 18 years ago by anonymous

Attachment: dvb-qam.log.gz added

comment:1 Changed 18 years ago by danielk

Milestone: 0.20
Owner: changed from Isaac Richards to danielk
Version: head

comment:2 Changed 18 years ago by danielk

Reporter: changed from anonymous to davideshay@…

comment:3 Changed 18 years ago by danielk

It looks like the cable provider is sending out bogus data:

Channel #0 name() 1008-0 mod(SCTE mode 2) cTSID(0x17)
 pnum(100) ETM_loc(0) access_ctrl(0) hidden(0)
path_select(0) out_of_band(0) hide_guide(1) service_type(2) source_id(1102)

Channel #1 name() 1008-0 mod(SCTE mode 2) cTSID(0x17)
 pnum(101) ETM_loc(0) access_ctrl(0) hidden(0)
path_select(0) out_of_band(0) hide_guide(1) service_type(2) source_id(1104)

Channel #2 name() 1008-0 mod(SCTE mode 2) cTSID(0x17)
 pnum(103) ETM_loc(0) access_ctrl(0) hidden(0)
path_select(0) out_of_band(0) hide_guide(1) service_type(2) source_id(1106)

Channel #3 name() 1008-0 mod(SCTE mode 2) cTSID(0x17)
 pnum(104) ETM_loc(0) access_ctrl(0) hidden(0)
path_select(0) out_of_band(0) hide_guide(1) service_type(2) source_id(1108)

Channel #4 name() 1008-0 mod(SCTE mode 2) cTSID(0x17)
 pnum(102) ETM_loc(0) access_ctrl(0) hidden(0)
path_select(0) out_of_band(0) hide_guide(1) service_type(2) source_id(1112)

Notice that the major channel is always 1008, and the minor channel is always 0. This confuses the scanner which assumes the channel numbers are unique.

I've created a hack which will give you unique channel numbers, but you need to use "delete" for the existing channel treatment.

Please, try this patch.

Then send me the output of channel scan again and the output this from the database:

select chanid,channum,atscsrcid/256,atscsrcid%256,serviceid,networkid,transportid,frequency from channel,dtv_multiplex where channel.mplexid = dtv_multiplex.mplexid;

Also, please point out at least one channel you can't tune to after applying the patch.

Changed 18 years ago by danielk

Attachment: 1793.patch added

Hack for probable problem

comment:4 Changed 18 years ago by danielk

Component: mythtvdvb
Summary: Problems with built-in scanner (channels.conf import used to work)Chan Scan fails on broken VCT

comment:5 Changed 18 years ago by danielk

Resolution: invalid
Status: newclosed

No response from ticket submitter, closing.

comment:6 Changed 16 years ago by myth@…

Resolution: invalid
Status: closednew

I'm getting this same issue of the bogus 1008 channel numbers on 2.6.24 + linuxtv HG for my Pinnacle PCTV 800i (PCTV HD Card). The feed is from Cox cable in Tucson, AZ. A Mythtv 0.21 (debian-multimedia.org package) scan gives me 3 channels, #58-1, #58-2, and 1008, where as scan.sh from the wiki got me 35 playable channels. I'll try rebuilding the mythtv packages with the 1793.patch from above and see if it helps in a day or two.

comment:7 Changed 16 years ago by danielk

Milestone: 0.200.22
Priority: minortrivial
Severity: mediumlow

This should work in the channel scanner branch, can you please check out that branch

svn co http://svn.mythtv.org/svn/branches/mythtv-channel-scan

compile and install then run:

mythtv-setup --scan

and let me know if that allows you to insert the 1008-0 channels?

Also I'd like some info from the DB after you do this so I can automate the conflict resolution, but lets see if manual resolution works first.

comment:8 Changed 16 years ago by danielk

Component: dvbchannelscan

comment:9 Changed 16 years ago by danielk

Status: newinfoneeded_new

comment:10 Changed 16 years ago by danielk

Resolution: invalid
Status: infoneeded_newclosed

no response from ticket reopener in 8 weeks, closing.

Note: See TracTickets for help on using tickets.