[linux-dvb] [PATCH] Uniquely identify unknown services

Patrick Boettcher patrick.boettcher at desy.de
Thu Aug 18 09:48:03 CEST 2005

On Wed, 17 Aug 2005, Michael Krufky wrote:

> David Engel wrote:
>> Here's a very simple patch to scan that I've found useful while
>> playing around with my new Fusion HDTV card.  If scan detects a
>> service that can't be named, it generates one based on the service_id.
>> This can leas to duplicate names in the resulting channels file if
>> unnamed services are found on different frequencies with the same
>> service_id.  This patch remedies the problem by prefixing each
>> generated name with a unique number.
>> David
> I think that's a cool idea, but I don't think everybody is going to want that 
> enabled by default.  Could you make a command line argument that would enable 
> this behavior, and leave it disabled by default?

For ATSC I would do it vice versa: enable generated channel numbers by 
default, and disable by option.

OTOH the best option would be to find out how to get the real channel 
name. There must be a way, because the set top boxes are able to get it.

Currently when ATSC/QAM channels don't have a name, it is because they 
don't provide a PSIP section. Maybe there is something else, maybe even 


More information about the linux-dvb mailing list