Hi,

Markus Rechberger schrieb:
> On 2/6/07, Manu Abraham <[EMAIL PROTECTED]> wrote:
>> On 2/6/07, Michael Krufky <[EMAIL PROTECTED]> wrote:
>> > Hartmut Hackmann wrote:
>> > > Hi, folks
>> > >
>> > > Currently most boards report the type of the channel decoder as
>> > > the frontend name. This has the disadvantage that if you have
>> multiple
>> > > (hybrid) cards with the same channel decoder type, you will not be
>> > > able to distinguish them in the applications. Especially if you
>> want to
>> > > use one of them for analog- and and the other one for digital TV,
>> this
>> > > becomes a problem.
>> > > In my personal repository, i have a change that reports the board
>> name
>> > > instead in saa7134-dvb.
>> > >
>> > > Should i leave this in or remove it to stay consistent with other
>> > > cards?
>> >
>> > In the past, cx88-dvb would report the board name, but I've changed it
>> > to report the frontend name in this changeset:
>> >
>> > http://linuxtv.org/hg/v4l-dvb?cmd=changeset;node=d1b4025b0ec8
>> >
>> > --- a/linux/drivers/media/video/cx88/cx88-dvb.c Tue Aug 23 15:58:06
>> 2005
>> +0000
>> > +++ b/linux/drivers/media/video/cx88/cx88-dvb.c Thu Aug 25 06:06:52
>> 2005
>> +0000
>> > @@ -412,11 +412,6 @@ static int dvb_register(struct cx8802_de
>> >                 dev->dvb.frontend->ops->info.frequency_max =
>> dev->core->pll_desc->max;
>> >         }
>> >
>> > -       /* Copy the board name into the DVB structure */
>> > -       strlcpy(dev->dvb.frontend->ops->info.name,
>> > -               cx88_boards[dev->core->board].name,
>> > -               sizeof(dev->dvb.frontend->ops->info.name));
>> > -
>> >         /* register everything */
>> >         return videobuf_dvb_register(&dev->dvb, THIS_MODULE, dev);
>> >  }
>> >
>> >
>> > At the time, I thought it would be more consistent to report the
>> name of
>> the
>> > demodulator, since it is in fact the frontend driver that is being
>> reported here.
>> >
>> > However, now I am aware that some other dvb drivers report the
>> device name
>> > instead of the frontend driver's name.... For instance, any dvb-usb
>> device
>> > will report the device's textual name instead of the actual frontend's
>> name.
>> >
>> > In the case of dvb-usb, I do prefer that the device name is being
>> shown,
>> although
>> > I feel that we should be consistent across the board.
>> >
>> > Should I add those lines back to cx88-dvb so that the board's name
>> will be
>> displayed
>> > instead of the frontend driver's name?
>> >
>>
>>
>> The name of a frontend should be that of the frontend itself and not
>> the board, if it reports the board name then it is wrong, since the
>> board is not the frontend.
>>
> 
> not that this is very important but I've seen that some people were
> confused because of displaying the name of the demodulator, they
> stated out that they own product xy and not a ZL10353, MT352, etc.
> 
> Markus
> 
I would not call this unimportant and i agree, the channel decoder type
tells nothing to the average user. And even the kernel log doesn't tell
much more...

Hartmut

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to