All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Dawkins <elfarto@elfarto.com>
To: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] TT-Budget C-1501
Date: Sun, 13 Apr 2008 11:22:11 +0100	[thread overview]
Message-ID: <4801DED3.4020804@elfarto.com> (raw)
In-Reply-To: <200804130349.15215@orion.escape-edv.de>

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

  reply	other threads:[~2008-04-13 10:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4801DED3.4020804@elfarto.com \
    --to=elfarto@elfarto.com \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.