* [linux-dvb] TT-Budget C-1501
@ 2008-04-12 17:58 Stephen Dawkins
2008-04-13 1:49 ` Oliver Endriss
0 siblings, 1 reply; 18+ messages in thread
From: Stephen Dawkins @ 2008-04-12 17:58 UTC (permalink / raw)
To: linux-dvb
Hi
I've recently purchased a Technotrend C-1501 card and I've been trying
to get it to work under Linux.
I'm not entirely sure what's needed to get it working. I've added the
following code to drivers/media/dvb/ttpci/budget.c:
in frontend_init:
case 0x101a: // TT Budget-C-1501 (philips tda10023/philips tda8274A)
budget->dvb_frontend = dvb_attach(tda10023_attach,
&tda1002x_config, &budget->i2c_adap, read_pwm(budget));
if (budget->dvb_frontend) {
if (dvb_attach(tda827x_attach, budget->dvb_frontend, 0x0e,
&budget->i2c_adap, 0) == NULL)
printk("%s: No tda827x found!\n", __FUNCTION__);
break;
}
}
and the relevant MAKE_BUDGET_INFO and MAKE_EXTENTION_PCI entries. I'm
not entirely sure, but I think the demodulator is on 0x0c on the i2c bus
and the tuner is on 0x0e, is there a way of confirming this?
When I modprobe budget, I get the follow:
saa7146: register extension 'budget dvb'.
ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 16 (level, low) -> IRQ 17
saa7146: found saa7146 @ mem f8de2000 (revision 1, irq 17) (0x13c2,0x101a).
budget: budget_attach(): dev:f7281580, info:f8df5c20, budget:f7173000
budget_core: ttpci_budget_init(): dev: f7281580, budget: f7173000
budget_core: ttpci_budget_init(): saa7146 (0): buffer type = single,
width = 188, height = 1024
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (TT-budget-C-1501)
adapter has MAC addr = 00:d0:5c:c6:4f:01
budget_core: budget_register(): budget: f7173000
DVB: registering frontend 0 (Philips TDA10023 DVB-C)...
I also get demux0, dvr0, frontend0 and net0 in /dev/dvb0.
I then do a dvbtune -f 666750000 -s 6952, and I get:
saa7146 (0) saa7146_i2c_writeout [irq]: timed out waiting for end of xfer
saa7146 (0) saa7146_i2c_writeout [irq]: timed out waiting for end of xfer
I'm not entirely sure what I need todo next to get it working, any help
will be greatly appreciated.
Thanks & Regards
Stephen
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: [linux-dvb] TT-Budget C-1501
2008-04-12 17:58 [linux-dvb] TT-Budget C-1501 Stephen Dawkins
@ 2008-04-13 1:49 ` Oliver Endriss
2008-04-13 10:22 ` Stephen Dawkins
0 siblings, 1 reply; 18+ messages in thread
From: Oliver Endriss @ 2008-04-13 1:49 UTC (permalink / raw)
To: linux-dvb
Stephen Dawkins wrote:
> Hi
>
> I've recently purchased a Technotrend C-1501 card and I've been trying
> to get it to work under Linux.
>
> I'm not entirely sure what's needed to get it working. I've added the
> following code to drivers/media/dvb/ttpci/budget.c:
>
> in frontend_init:
> case 0x101a: // TT Budget-C-1501 (philips tda10023/philips tda8274A)
> budget->dvb_frontend = dvb_attach(tda10023_attach,
> &tda1002x_config, &budget->i2c_adap, read_pwm(budget));
> if (budget->dvb_frontend) {
> if (dvb_attach(tda827x_attach, budget->dvb_frontend, 0x0e,
> &budget->i2c_adap, 0) == NULL)
^^^
I don't know, but maybe you have to pass a config struct for the tda827x
driver here.
> printk("%s: No tda827x found!\n", __FUNCTION__);
> break;
> }
> }
>
> and the relevant MAKE_BUDGET_INFO and MAKE_EXTENTION_PCI entries. I'm
> not entirely sure, but I think the demodulator is on 0x0c on the i2c bus
> and the tuner is on 0x0e, is there a way of confirming this?
The tuner address sounds strange to me. If the tuner is not behind an
i2c gate, you should be able to find it by running i2cdetect (from the
i2c tools package).
> When I modprobe budget, I get the follow:
>
> saa7146: register extension 'budget dvb'.
> ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 16 (level, low) -> IRQ 17
> saa7146: found saa7146 @ mem f8de2000 (revision 1, irq 17) (0x13c2,0x101a).
> budget: budget_attach(): dev:f7281580, info:f8df5c20, budget:f7173000
> budget_core: ttpci_budget_init(): dev: f7281580, budget: f7173000
> budget_core: ttpci_budget_init(): saa7146 (0): buffer type = single,
> width = 188, height = 1024
> saa7146 (0): dma buffer size 192512
> DVB: registering new adapter (TT-budget-C-1501)
> adapter has MAC addr = 00:d0:5c:c6:4f:01
> budget_core: budget_register(): budget: f7173000
> DVB: registering frontend 0 (Philips TDA10023 DVB-C)...
>
> I also get demux0, dvr0, frontend0 and net0 in /dev/dvb0.
>
> I then do a dvbtune -f 666750000 -s 6952, and I get:
>
> saa7146 (0) saa7146_i2c_writeout [irq]: timed out waiting for end of xfer
> saa7146 (0) saa7146_i2c_writeout [irq]: timed out waiting for end of xfer
>
> I'm not entirely sure what I need todo next to get it working, any help
> will be greatly appreciated.
See m920x.c or saa7134-dvb.c for drivers using tda10046 and/or tda827x.
CU
Oliver
--
----------------------------------------------------------------
VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/
----------------------------------------------------------------
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: [linux-dvb] TT-Budget C-1501
2008-04-13 1:49 ` Oliver Endriss
@ 2008-04-13 10:22 ` Stephen Dawkins
2008-04-14 20:47 ` Arthur Konovalov
0 siblings, 1 reply; 18+ messages in thread
From: Stephen Dawkins @ 2008-04-13 10:22 UTC (permalink / raw)
To: linux-dvb
Oliver Endriss wrote:
> Stephen Dawkins wrote:
>
>>Hi
>>
>>I've recently purchased a Technotrend C-1501 card and I've been trying
>>to get it to work under Linux.
>>
>>I'm not entirely sure what's needed to get it working. I've added the
>>following code to drivers/media/dvb/ttpci/budget.c:
>>
>>in frontend_init:
>> case 0x101a: // TT Budget-C-1501 (philips tda10023/philips tda8274A)
>> budget->dvb_frontend = dvb_attach(tda10023_attach,
>>&tda1002x_config, &budget->i2c_adap, read_pwm(budget));
>> if (budget->dvb_frontend) {
>> if (dvb_attach(tda827x_attach, budget->dvb_frontend, 0x0e,
>>&budget->i2c_adap, 0) == NULL)
>
> ^^^
> I don't know, but maybe you have to pass a config struct for the tda827x
> driver here.
The documentation says that the config parameter is optional, and it
only consists of callback functions.
>
>
>> printk("%s: No tda827x found!\n", __FUNCTION__);
>> break;
>> }
>> }
>>
>>and the relevant MAKE_BUDGET_INFO and MAKE_EXTENTION_PCI entries. I'm
>>not entirely sure, but I think the demodulator is on 0x0c on the i2c bus
>>and the tuner is on 0x0e, is there a way of confirming this?
>
>
> The tuner address sounds strange to me. If the tuner is not behind an
> i2c gate, you should be able to find it by running i2cdetect (from the
> i2c tools package).
>
When I run i2cdetect I get:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- 0c -- 0e --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 52 53 54 55 56 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
I'm 99% certain the demodulator is 0x0c as any other value causes
problems when modprobing. I've tried every single value, but none of
those work either.
>
>>When I modprobe budget, I get the follow:
>>
>>saa7146: register extension 'budget dvb'.
>>ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 16 (level, low) -> IRQ 17
>>saa7146: found saa7146 @ mem f8de2000 (revision 1, irq 17) (0x13c2,0x101a).
>>budget: budget_attach(): dev:f7281580, info:f8df5c20, budget:f7173000
>>budget_core: ttpci_budget_init(): dev: f7281580, budget: f7173000
>>budget_core: ttpci_budget_init(): saa7146 (0): buffer type = single,
>>width = 188, height = 1024
>>saa7146 (0): dma buffer size 192512
>>DVB: registering new adapter (TT-budget-C-1501)
>>adapter has MAC addr = 00:d0:5c:c6:4f:01
>>budget_core: budget_register(): budget: f7173000
>>DVB: registering frontend 0 (Philips TDA10023 DVB-C)...
>>
>>I also get demux0, dvr0, frontend0 and net0 in /dev/dvb0.
>>
>>I then do a dvbtune -f 666750000 -s 6952, and I get:
>>
>>saa7146 (0) saa7146_i2c_writeout [irq]: timed out waiting for end of xfer
>>saa7146 (0) saa7146_i2c_writeout [irq]: timed out waiting for end of xfer
>>
>>I'm not entirely sure what I need todo next to get it working, any help
>>will be greatly appreciated.
>
>
> See m920x.c or saa7134-dvb.c for drivers using tda10046 and/or tda827x.
>
I will take a look at them.
> CU
> Oliver
>
Thanks & Regards
Stephen
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: [linux-dvb] TT-Budget C-1501
2008-04-13 10:22 ` Stephen Dawkins
@ 2008-04-14 20:47 ` Arthur Konovalov
2008-04-16 20:08 ` Stephen Dawkins
0 siblings, 1 reply; 18+ messages in thread
From: Arthur Konovalov @ 2008-04-14 20:47 UTC (permalink / raw)
To: linux-dvb
Stephen Dawkins wrote:
>>> I'm not entirely sure what I need todo next to get it working, any help
>>> will be greatly appreciated.
>>
>> See m920x.c or saa7134-dvb.c for drivers using tda10046 and/or tda827x.
>>
>
> I will take a look at them.
>
Hi,
do You have progress in that direction?
I'll very concerned, because I have this card too.
Arthur
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-14 20:47 ` Arthur Konovalov
@ 2008-04-16 20:08 ` Stephen Dawkins
2008-04-17 8:53 ` Sigmund Augdal
0 siblings, 1 reply; 18+ messages in thread
From: Stephen Dawkins @ 2008-04-16 20:08 UTC (permalink / raw)
To: Arthur Konovalov; +Cc: linux-dvb
Arthur Konovalov wrote:
> Stephen Dawkins wrote:
>
>>>>I'm not entirely sure what I need todo next to get it working, any help
>>>>will be greatly appreciated.
>>>
>>>See m920x.c or saa7134-dvb.c for drivers using tda10046 and/or tda827x.
>>>
>>
>>I will take a look at them.
>>
>
> Hi,
> do You have progress in that direction?
> I'll very concerned, because I have this card too.
>
> Arthur
>
Not yet I'm afraid.
Regards
Stephen
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-16 20:08 ` Stephen Dawkins
@ 2008-04-17 8:53 ` Sigmund Augdal
2008-04-17 10:24 ` Stephen Dawkins
0 siblings, 1 reply; 18+ messages in thread
From: Sigmund Augdal @ 2008-04-17 8:53 UTC (permalink / raw)
To: linux-dvb; +Cc: Hartmut Hackmann, Arthur Konovalov
Hi,
I have also added support for this card based on the little change you
showed here and some looking around in other drivers. I have gotten
information from technotrend that the proper i2c address for the tuner
is 0x61 (or 0xc2 as these adresses sometimes appear shifted for some
reason). With this address and the tuner driver loaded in debug mode I
seem to get some more response from the tuner, but still no lock.
Now looking at the tda827x.c sources it seems this driver was
specifically written for dvb-t usage, and I'm uncertain wether it would
work out of the box for dvb-c. There are also some parts of the code I
don't understand, for instance the agcf callback. Harmut, do you know
anything more about this? The AGC2 gain value that is printed in debug
usually show 4 or 5 now, does this indicate a good signal or a bad
signal?
Also there is still the occational i2c timeouts that Stephen reported.
I'm not sure wether they are caused by the tuner or the demod, but they
appear to come so seldom that it should be able to complete a tuning
cycle. Any feedback on this would be welcome as well. Maybe Oliver has
some suggestions how to debug this?
Best regards
Sigmund Augdal
ons, 16.04.2008 kl. 21.08 +0100, skrev Stephen Dawkins:
> Arthur Konovalov wrote:
> > Stephen Dawkins wrote:
> >
> >>>>I'm not entirely sure what I need todo next to get it working, any help
> >>>>will be greatly appreciated.
> >>>
> >>>See m920x.c or saa7134-dvb.c for drivers using tda10046 and/or tda827x.
> >>>
> >>
> >>I will take a look at them.
> >>
> >
> > Hi,
> > do You have progress in that direction?
> > I'll very concerned, because I have this card too.
> >
> > Arthur
> >
>
> Not yet I'm afraid.
>
> Regards
> Stephen
>
> >
> > _______________________________________________
> > linux-dvb mailing list
> > linux-dvb@linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> >
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-17 8:53 ` Sigmund Augdal
@ 2008-04-17 10:24 ` Stephen Dawkins
2008-04-17 20:15 ` Hartmut Hackmann
0 siblings, 1 reply; 18+ messages in thread
From: Stephen Dawkins @ 2008-04-17 10:24 UTC (permalink / raw)
To: Sigmund Augdal; +Cc: Hartmut Hackmann, Arthur Konovalov, linux-dvb
Hi
> Hi,
>
> I have also added support for this card based on the little change you
> showed here and some looking around in other drivers. I have gotten
> information from technotrend that the proper i2c address for the tuner
> is 0x61 (or 0xc2 as these adresses sometimes appear shifted for some
> reason). With this address and the tuner driver loaded in debug mode I
> seem to get some more response from the tuner, but still no lock.
>
Yes, I notice this last night. The demod is on 0x0c (altho I was told
0x18, which is 0x0c shift left 1 position) and the tuner is on 0x61 (which
is 0xc2 shift left 1 pos).
> Now looking at the tda827x.c sources it seems this driver was
> specifically written for dvb-t usage, and I'm uncertain wether it would
> work out of the box for dvb-c. There are also some parts of the code I
> don't understand, for instance the agcf callback. Harmut, do you know
> anything more about this? The AGC2 gain value that is printed in debug
> usually show 4 or 5 now, does this indicate a good signal or a bad
> signal?
>
This is exactly what I am getting at the moment.
> Also there is still the occational i2c timeouts that Stephen reported.
I'm still seeing these.
Regards
Stephen
> I'm not sure wether they are caused by the tuner or the demod, but they
> appear to come so seldom that it should be able to complete a tuning
> cycle. Any feedback on this would be welcome as well. Maybe Oliver has
> some suggestions how to debug this?
>
> Best regards
>
> Sigmund Augdal
>
> ons, 16.04.2008 kl. 21.08 +0100, skrev Stephen Dawkins:
>> Arthur Konovalov wrote:
>> > Stephen Dawkins wrote:
>> >
>> >>>>I'm not entirely sure what I need todo next to get it working, any
>> help
>> >>>>will be greatly appreciated.
>> >>>
>> >>>See m920x.c or saa7134-dvb.c for drivers using tda10046 and/or
>> tda827x.
>> >>>
>> >>
>> >>I will take a look at them.
>> >>
>> >
>> > Hi,
>> > do You have progress in that direction?
>> > I'll very concerned, because I have this card too.
>> >
>> > Arthur
>> >
>>
>> Not yet I'm afraid.
>>
>> Regards
>> Stephen
>>
>> >
>> > _______________________________________________
>> > linux-dvb mailing list
>> > linux-dvb@linuxtv.org
>> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>> >
>>
>> _______________________________________________
>> linux-dvb mailing list
>> linux-dvb@linuxtv.org
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>
>
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-17 10:24 ` Stephen Dawkins
@ 2008-04-17 20:15 ` Hartmut Hackmann
2008-04-17 20:31 ` Stephen Dawkins
0 siblings, 1 reply; 18+ messages in thread
From: Hartmut Hackmann @ 2008-04-17 20:15 UTC (permalink / raw)
To: Stephen Dawkins; +Cc: linux-dvb, Arthur Konovalov
Hi,
Sorry folks, i did not immedeately notice that you asked me...
Stephen Dawkins schrieb:
> Hi
>
>> Hi,
>>
>> I have also added support for this card based on the little change you
>> showed here and some looking around in other drivers. I have gotten
>> information from technotrend that the proper i2c address for the tuner
>> is 0x61 (or 0xc2 as these adresses sometimes appear shifted for some
>> reason). With this address and the tuner driver loaded in debug mode I
>> seem to get some more response from the tuner, but still no lock.
>>
>
> Yes, I notice this last night. The demod is on 0x0c (altho I was told
> 0x18, which is 0x0c shift left 1 position) and the tuner is on 0x61 (which
> is 0xc2 shift left 1 pos).
>
Jep, this is inconsistent all over the planet. The i2c address is 8 bits,
the read / write flag is the LSB. So it depends on whether you count this as
an address bit...
>> Now looking at the tda827x.c sources it seems this driver was
>> specifically written for dvb-t usage, and I'm uncertain wether it would
>> work out of the box for dvb-c. There are also some parts of the code I
>> don't understand, for instance the agcf callback. Harmut, do you know
>> anything more about this? The AGC2 gain value that is printed in debug
>> usually show 4 or 5 now, does this indicate a good signal or a bad
>> signal?
>>
You should be ok with the dvb-t tuning code. An AGC2 gain value of 4 is
perfect.
>
> This is exactly what I am getting at the moment.
>
>> Also there is still the occational i2c timeouts that Stephen reported.
>
> I'm still seeing these.
>
> Regards
> Stephen
>
>> I'm not sure wether they are caused by the tuner or the demod, but they
>> appear to come so seldom that it should be able to complete a tuning
>> cycle. Any feedback on this would be welcome as well. Maybe Oliver has
>> some suggestions how to debug this?
>>
>> Best regards
>>
>> Sigmund Augdal
>>
>> ons, 16.04.2008 kl. 21.08 +0100, skrev Stephen Dawkins:
>>> Arthur Konovalov wrote:
>>>> Stephen Dawkins wrote:
>>>>
>>>>>>> I'm not entirely sure what I need todo next to get it working, any
>>> help
>>>>>>> will be greatly appreciated.
>>>>>> See m920x.c or saa7134-dvb.c for drivers using tda10046 and/or
>>> tda827x.
>>>>> I will take a look at them.
>>>>>
>>>> Hi,
>>>> do You have progress in that direction?
>>>> I'll very concerned, because I have this card too.
>>>>
>>>> Arthur
>>>>
>>> Not yet I'm afraid.
>>>
>>> Regards
>>> Stephen
>>>
I did not follow the thread yet. Which channel demodulator are you talking
about?
BTW: You need to be careful to not mix up the a- and non-a versions of
the tuner. They are *not* software compatible.
Best regards
Hartmut
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-17 20:15 ` Hartmut Hackmann
@ 2008-04-17 20:31 ` Stephen Dawkins
2008-04-17 21:31 ` Hartmut Hackmann
2008-04-18 8:40 ` Sigmund Augdal
0 siblings, 2 replies; 18+ messages in thread
From: Stephen Dawkins @ 2008-04-17 20:31 UTC (permalink / raw)
To: Hartmut Hackmann; +Cc: linux-dvb
Hartmut Hackmann wrote:
<snip>
> I did not follow the thread yet. Which channel demodulator are you
talking
> about?
>
The demod is a TDA10023HT.
> BTW: You need to be careful to not mix up the a- and non-a versions of
> the tuner. They are *not* software compatible.
>
How do I know which one I have?
> Best regards
> Hartmut
>
Regards
Stephen
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-17 20:31 ` Stephen Dawkins
@ 2008-04-17 21:31 ` Hartmut Hackmann
2008-04-18 8:11 ` Stephen Dawkins
2008-04-22 11:07 ` Sigmund Augdal
2008-04-18 8:40 ` Sigmund Augdal
1 sibling, 2 replies; 18+ messages in thread
From: Hartmut Hackmann @ 2008-04-17 21:31 UTC (permalink / raw)
To: Stephen Dawkins; +Cc: linux-dvb
Hi,
Stephen Dawkins schrieb:
> Hartmut Hackmann wrote:
> <snip>
> > I did not follow the thread yet. Which channel demodulator are you
> talking
> > about?
> >
>
> The demod is a TDA10023HT.
>
> > BTW: You need to be careful to not mix up the a- and non-a versions of
> > the tuner. They are *not* software compatible.
> >
>
> How do I know which one I have?
>
> > Best regards
> > Hartmut
> >
>
> Regards
> Stephen
>
The driver is able to determine this automatically if it is used the way
we intended.
After attach, the first call either needs to be init or sleep. At the first
call, they probe for the chip version.
Do you have a datasheet of the tda10023? From the first glance, i have the
impression that it was only used with a conventional tuner yet. With the
silicon tuner, the chip needs to be programmed to use a different IF. We
beed to find out how this is done.
Best regards
Hartmut
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-17 21:31 ` Hartmut Hackmann
@ 2008-04-18 8:11 ` Stephen Dawkins
2008-04-22 11:07 ` Sigmund Augdal
1 sibling, 0 replies; 18+ messages in thread
From: Stephen Dawkins @ 2008-04-18 8:11 UTC (permalink / raw)
To: Hartmut Hackmann; +Cc: linux-dvb
> Hi,
>
> Stephen Dawkins schrieb:
>> Hartmut Hackmann wrote:
>> <snip>
>> > I did not follow the thread yet. Which channel demodulator are you
>> talking
>> > about?
>> >
>>
>> The demod is a TDA10023HT.
>>
>> > BTW: You need to be careful to not mix up the a- and non-a versions
>> of
>> > the tuner. They are *not* software compatible.
>> >
>>
>> How do I know which one I have?
>>
>> > Best regards
>> > Hartmut
>> >
>>
>> Regards
>> Stephen
>>
> The driver is able to determine this automatically if it is used the way
> we intended.
> After attach, the first call either needs to be init or sleep. At the
> first
> call, they probe for the chip version.
>
> Do you have a datasheet of the tda10023? From the first glance, i have the
> impression that it was only used with a conventional tuner yet. With the
> silicon tuner, the chip needs to be programmed to use a different IF. We
> beed to find out how this is done.
>
I can't find any useful datasheets on the TDA10023 on the Internet.
> Best regards
> Hartmut
>
Regards
Stephen
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-17 21:31 ` Hartmut Hackmann
2008-04-18 8:11 ` Stephen Dawkins
@ 2008-04-22 11:07 ` Sigmund Augdal
2008-04-22 13:04 ` Stephen Dawkins
2008-04-22 15:34 ` e9hack
1 sibling, 2 replies; 18+ messages in thread
From: Sigmund Augdal @ 2008-04-22 11:07 UTC (permalink / raw)
To: Hartmut Hackmann, e9hack; +Cc: linux-dvb
tor, 17.04.2008 kl. 23.31 +0200, skrev Hartmut Hackmann:
<snip>
> Do you have a datasheet of the tda10023? From the first glance, i have the
> impression that it was only used with a conventional tuner yet. With the
> silicon tuner, the chip needs to be programmed to use a different IF. We
> beed to find out how this is done.
I don't have any datasheet. I tried playing around with some of the
values in the init-tab, and they do affect the signal levels (signal and
snr) reported, but I haven't managed to find something that does give a
lock. There is also a if_freq variable in the current driver sources
that does not seem to be passed to the chip directly but is used in some
computations. In the current driver this value is selected based on
channel bandwidth (being only used for dvb-t this far). I've tried with
several values for this (8MHz, 0MHz, 4MHz and the currently used 5MHz
for 8MHz bandwidth channels).
Birr: Do you have any info on this, as you seem to be the last developer
working on that demod?
Best regards
Sigmund Augdal
>
> Best regards
> Hartmut
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-22 11:07 ` Sigmund Augdal
@ 2008-04-22 13:04 ` Stephen Dawkins
2008-04-22 15:34 ` e9hack
1 sibling, 0 replies; 18+ messages in thread
From: Stephen Dawkins @ 2008-04-22 13:04 UTC (permalink / raw)
Cc: linux-dvb
Sigmund Augdal wrote:
> tor, 17.04.2008 kl. 23.31 +0200, skrev Hartmut Hackmann:
> <snip>
>
>>Do you have a datasheet of the tda10023? From the first glance, i have the
>>impression that it was only used with a conventional tuner yet. With the
>>silicon tuner, the chip needs to be programmed to use a different IF. We
>>beed to find out how this is done.
>
> I don't have any datasheet.
I asked NXP for the datasheets for the TDA10023 and the TDA8274A, but
they require a NDA to be signed to obtain them.
> I tried playing around with some of the
> values in the init-tab, and they do affect the signal levels (signal and
> snr) reported, but I haven't managed to find something that does give a
> lock. There is also a if_freq variable in the current driver sources
> that does not seem to be passed to the chip directly but is used in some
> computations. In the current driver this value is selected based on
> channel bandwidth (being only used for dvb-t this far). I've tried with
> several values for this (8MHz, 0MHz, 4MHz and the currently used 5MHz
> for 8MHz bandwidth channels).
>
> Birr: Do you have any info on this, as you seem to be the last developer
> working on that demod?
>
> Best regards
>
> Sigmund Augdal
>
>>Best regards
>> Hartmut
Regards
Stephen
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-22 11:07 ` Sigmund Augdal
2008-04-22 13:04 ` Stephen Dawkins
@ 2008-04-22 15:34 ` e9hack
2008-04-22 20:49 ` Hartmut Hackmann
1 sibling, 1 reply; 18+ messages in thread
From: e9hack @ 2008-04-22 15:34 UTC (permalink / raw)
To: linux-dvb
Sigmund Augdal schrieb:
> tor, 17.04.2008 kl. 23.31 +0200, skrev Hartmut Hackmann:
> <snip>
>> Do you have a datasheet of the tda10023? From the first glance, i have the
>> impression that it was only used with a conventional tuner yet. With the
>> silicon tuner, the chip needs to be programmed to use a different IF. We
>> beed to find out how this is done.
> I don't have any datasheet. I tried playing around with some of the
> values in the init-tab, and they do affect the signal levels (signal and
> snr) reported, but I haven't managed to find something that does give a
> lock. There is also a if_freq variable in the current driver sources
> that does not seem to be passed to the chip directly but is used in some
> computations. In the current driver this value is selected based on
> channel bandwidth (being only used for dvb-t this far). I've tried with
> several values for this (8MHz, 0MHz, 4MHz and the currently used 5MHz
> for 8MHz bandwidth channels).
>
> Birr: Do you have any info on this, as you seem to be the last developer
> working on that demod?
I don't own the datasheet of the TDA10023. I think you must read the configuration of the
TDA10023 from windows. This can be done with this program
(http://linuxtv.org/downloads/saa7146dump-0.2.zip). If it is necessary to monitor the
initialization of the tuner chip, you must use an i2c-monitor. I developed a cheap monitor
(http://www.vdr-portal.de/board/thread.php?postid=639818#post639818). The costs of the
parts are less then 10€. To build such a monitor, you should know what a soldering-iron is.
-Hartmut Birr
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-22 15:34 ` e9hack
@ 2008-04-22 20:49 ` Hartmut Hackmann
2008-04-23 10:16 ` Sigmund Augdal
0 siblings, 1 reply; 18+ messages in thread
From: Hartmut Hackmann @ 2008-04-22 20:49 UTC (permalink / raw)
To: linux-dvb
hi,
e9hack schrieb:
> Sigmund Augdal schrieb:
>> tor, 17.04.2008 kl. 23.31 +0200, skrev Hartmut Hackmann:
>> <snip>
>>> Do you have a datasheet of the tda10023? From the first glance, i have the
>>> impression that it was only used with a conventional tuner yet. With the
>>> silicon tuner, the chip needs to be programmed to use a different IF. We
>>> beed to find out how this is done.
>> I don't have any datasheet. I tried playing around with some of the
>> values in the init-tab, and they do affect the signal levels (signal and
>> snr) reported, but I haven't managed to find something that does give a
>> lock. There is also a if_freq variable in the current driver sources
>> that does not seem to be passed to the chip directly but is used in some
>> computations. In the current driver this value is selected based on
>> channel bandwidth (being only used for dvb-t this far). I've tried with
>> several values for this (8MHz, 0MHz, 4MHz and the currently used 5MHz
>> for 8MHz bandwidth channels).
>>
>> Birr: Do you have any info on this, as you seem to be the last developer
>> working on that demod?
>
> I don't own the datasheet of the TDA10023. I think you must read the configuration of the
> TDA10023 from windows. This can be done with this program
> (http://linuxtv.org/downloads/saa7146dump-0.2.zip). If it is necessary to monitor the
> initialization of the tuner chip, you must use an i2c-monitor. I developed a cheap monitor
> (http://www.vdr-portal.de/board/thread.php?postid=639818#post639818). The costs of the
> parts are less then 10€. To build such a monitor, you should know what a soldering-iron is.
>
> -Hartmut Birr
>
Looks like we need to make changes in both, tda827x and tda10023. Currently the 10023
is programmed for 36.13MHz IF frequency. This is *not* possible with the 827x.
So we need to implement a configuration option for the tda10023 to select the IF center
frequency (haven't had the time to have a close look yet) and we need to implement a way
to let the tda827x driver choose the right parameter set.
I would be more interested in the configuration of the tda10023. With the tda827x, i know
what to do.
Hartmut
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-22 20:49 ` Hartmut Hackmann
@ 2008-04-23 10:16 ` Sigmund Augdal
2008-05-03 16:11 ` Antti Palosaari
0 siblings, 1 reply; 18+ messages in thread
From: Sigmund Augdal @ 2008-04-23 10:16 UTC (permalink / raw)
To: Hartmut Hackmann; +Cc: linux-dvb
tir, 22.04.2008 kl. 22.49 +0200, skrev Hartmut Hackmann:
> hi,
>
> e9hack schrieb:
> > Sigmund Augdal schrieb:
> >> tor, 17.04.2008 kl. 23.31 +0200, skrev Hartmut Hackmann:
> >> <snip>
> >>> Do you have a datasheet of the tda10023? From the first glance, i have the
> >>> impression that it was only used with a conventional tuner yet. With the
> >>> silicon tuner, the chip needs to be programmed to use a different IF. We
> >>> beed to find out how this is done.
> >> I don't have any datasheet. I tried playing around with some of the
> >> values in the init-tab, and they do affect the signal levels (signal and
> >> snr) reported, but I haven't managed to find something that does give a
> >> lock. There is also a if_freq variable in the current driver sources
> >> that does not seem to be passed to the chip directly but is used in some
> >> computations. In the current driver this value is selected based on
> >> channel bandwidth (being only used for dvb-t this far). I've tried with
> >> several values for this (8MHz, 0MHz, 4MHz and the currently used 5MHz
> >> for 8MHz bandwidth channels).
> >>
> >> Birr: Do you have any info on this, as you seem to be the last developer
> >> working on that demod?
> >
> > I don't own the datasheet of the TDA10023. I think you must read the configuration of the
> > TDA10023 from windows. This can be done with this program
> > (http://linuxtv.org/downloads/saa7146dump-0.2.zip). If it is necessary to monitor the
> > initialization of the tuner chip, you must use an i2c-monitor. I developed a cheap monitor
> > (http://www.vdr-portal.de/board/thread.php?postid=639818#post639818). The costs of the
> > parts are less then 10€. To build such a monitor, you should know what a soldering-iron is.
> >
> > -Hartmut Birr
> >
> Looks like we need to make changes in both, tda827x and tda10023. Currently the 10023
> is programmed for 36.13MHz IF frequency. This is *not* possible with the 827x.
> So we need to implement a configuration option for the tda10023 to select the IF center
> frequency (haven't had the time to have a close look yet) and we need to implement a way
> to let the tda827x driver choose the right parameter set.
> I would be more interested in the configuration of the tda10023. With the tda827x, i know
> what to do.
The init-tab part of tda10023.c seems to indicate which posisions are
which registers in the chip. There are in particular two that are called
DELTAF_MSB and DELTAF_LSB, which is currently set to 0xFFF0. I guess
this would be a key thing to change, but what needs to be changed in the
tuner driver? I've also noticed that when the tda10046 is used with
tda827x it changes some other parameters in the demod (agc threshold,
gain and polarities). Do we need to change these in tda10023 also? Or
could we change tda827x to output what the tda10023 needs?
Best regards
Sigmund Augdal
>
> Hartmut
>
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-23 10:16 ` Sigmund Augdal
@ 2008-05-03 16:11 ` Antti Palosaari
0 siblings, 0 replies; 18+ messages in thread
From: Antti Palosaari @ 2008-05-03 16:11 UTC (permalink / raw)
To: Sigmund Augdal; +Cc: Hartmut Hackmann, linux-dvb
Sigmund Augdal wrote:
> The init-tab part of tda10023.c seems to indicate which posisions are
> which registers in the chip. There are in particular two that are called
> DELTAF_MSB and DELTAF_LSB, which is currently set to 0xFFF0. I guess
> this would be a key thing to change, but what needs to be changed in the
> tuner driver? I've also noticed that when the tda10046 is used with
> tda827x it changes some other parameters in the demod (agc threshold,
> gain and polarities). Do we need to change these in tda10023 also? Or
> could we change tda827x to output what the tda10023 needs?
Probably you want to look current Anysee TDA10023-module. I have put
some of those registers configurable already.
http://linuxtv.org/hg/~anttip/anysee/
regards
Antti
--
http://palosaari.fi/
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [linux-dvb] TT-Budget C-1501
2008-04-17 20:31 ` Stephen Dawkins
2008-04-17 21:31 ` Hartmut Hackmann
@ 2008-04-18 8:40 ` Sigmund Augdal
1 sibling, 0 replies; 18+ messages in thread
From: Sigmund Augdal @ 2008-04-18 8:40 UTC (permalink / raw)
To: Stephen Dawkins; +Cc: Hartmut Hackmann, linux-dvb
tor, 17.04.2008 kl. 21.31 +0100, skrev Stephen Dawkins:
> Hartmut Hackmann wrote:
> <snip>
> > I did not follow the thread yet. Which channel demodulator are you
> talking
> > about?
> >
>
> The demod is a TDA10023HT.
>
> > BTW: You need to be careful to not mix up the a- and non-a versions of
> > the tuner. They are *not* software compatible.
> >
>
> How do I know which one I have?
It should be the tda8274A according to TT.
Best regards
Sigmund Augdal
>
> > Best regards
> > Hartmut
> >
>
> Regards
> Stephen
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2008-05-03 16:11 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-12 17:58 [linux-dvb] TT-Budget C-1501 Stephen Dawkins
2008-04-13 1:49 ` Oliver Endriss
2008-04-13 10:22 ` Stephen Dawkins
2008-04-14 20:47 ` Arthur Konovalov
2008-04-16 20:08 ` Stephen Dawkins
2008-04-17 8:53 ` Sigmund Augdal
2008-04-17 10:24 ` Stephen Dawkins
2008-04-17 20:15 ` Hartmut Hackmann
2008-04-17 20:31 ` Stephen Dawkins
2008-04-17 21:31 ` Hartmut Hackmann
2008-04-18 8:11 ` Stephen Dawkins
2008-04-22 11:07 ` Sigmund Augdal
2008-04-22 13:04 ` Stephen Dawkins
2008-04-22 15:34 ` e9hack
2008-04-22 20:49 ` Hartmut Hackmann
2008-04-23 10:16 ` Sigmund Augdal
2008-05-03 16:11 ` Antti Palosaari
2008-04-18 8:40 ` Sigmund Augdal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox