Re: DVB-S streams with TT3200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oliver Bardenheier (obardenh) schrieb:

Any chances to get the files for kernel >=2.6.20 and Skystar HD ??



-----Original Message-----
From: linux-dvb-bounces@xxxxxxxxxxx
[mailto:linux-dvb-bounces@xxxxxxxxxxx] On Behalf Of laasa
Sent: Sonntag, 6. Mai 2007 21:08
To: linux-dvb@xxxxxxxxxxx
Subject: Re:  DVB-S streams with TT3200

Second try: Here again with patchfile and shifted from budget to
budget-ci (thanks to marco for some hints).

Sources
- Manus snapshot at http://jusst.de/manu/stb0899-v4l-dvb.tar.bz
- the szap-sources from http://dev.kewl.org/tmp/hvr4000/szap2.tgz

Envoirenment:
- TT3200 (SAA7146AH, STB0899 C2L, STB6100, LNBP21 PD, 27000 MHz, board
B2S3000 Rev 1.0 TT2006.1)
- Tested with Linux-Kernel 2.6.16-45 (from kernel.org)  and
2.6.17-chw-8 (MythTV R5D1): must be <= 2.6.17

Procedure for compiling and loading of drivers:
- unpack kernel-sources (to /usr/src/linux) if necessary
- unpack v4l-dvb-sources (to /usr/src/v4l-dvb)
- unpack szap2-sources (to /usr/src/szap)
- change to /usr/src/szap
- make
- make install => check if szap2 now is installed
- change to /usr/src/v4l-dvb
- patch the tree
- v4l-scripts-make_myconfig.pl
- rename .version in /usr/src/v4l-dvb/v4l
- make
- unload all dvb-driver (e.g. make rmmod)
- make install
- modprobe budget-ci
- szap -r ...
- xine ...

Notes:
- the TT3200 is build into modules budget-ci
- to tune a channel you must (most times) tune to different channels
(for me ZDF and Kika are good candidates to get a LOCK)

Problems:
- everytime with the locking of PLL (sometimes after some trys on
different DVB-S-channels, on some DVB-S-channels and all DVB-S2-channels
never)
- It seems to be a problem with higher frequences (higest successfuly
tuned frequency is 11836 MHz, e.g. ARD => ProSieben ... not work)


As I know is the Skystar HD the same board as TT3200. It seems to be a common development of TT and Technisat. With a little bit luck you only need to adapt the PCI-IDs. In best case nothing.
see modul budget-ci.c
   ...
   MAKE_BUDGET_INFO(tt3200, "TT-Budget S2-3200 PCI", BUDGET_TT);
   MAKE_BUDGET_INFO(sstarHD, "SkyStar HD PCI", BUDGET_TT);

   static struct pci_device_id pci_tbl[] = {
      ...
       MAKE_EXTENSION_PCI(tt3200, 0x13c2, 0x1019),
       MAKE_EXTENSION_PCI(sstarHD, 0x????, 0x????),
       {
        .vendor = 0,
        }
   };


As I know is the tree from Manu only for linux-versions <= 2.6.17 (see http://www.linuxtv.org/pipermail/linux-dvb/2007-April/016943.html). I'm not the men to change this. I think the problem is that linux beginning from 2.6.18 has no more support for the sysfs.

Hint: On my PC the TT3200 with the patch only runs when I have started WinXP before and use this board. It helps when you change this in modul budget-ci.c (lines witg saa7146_setgpio)

   case 0x1019:        // TT S2-3200 PCI
       // gpio2 is connected to CLB - reset it + leave it high
       saa7146_setgpio(budget_ci->budget.dev, 2, SAA7146_GPIO_OUTLO);
       msleep(1);
       saa7146_setgpio(budget_ci->budget.dev, 2, SAA7146_GPIO_OUTHI);
       msleep(1);

budget_ci->budget.dvb_frontend = dvb_attach(stb0899_attach, &tt3200_config, &budget_ci->budget.i2c_adap);
       if (budget_ci->budget.dvb_frontend) {
if (dvb_attach(stb6100_attach, budget_ci->budget.dvb_frontend, &tt3200_stb6100_config, &budget_ci->budget.i2c_adap)) {

tt3200_config.tuner_set_frequency = budget_ci->budget.dvb_frontend->ops.tuner_ops.set_frequency; tt3200_config.tuner_get_frequency = budget_ci->budget.dvb_frontend->ops.tuner_ops.get_frequency; tt3200_config.tuner_set_bandwidth = budget_ci->budget.dvb_frontend->ops.tuner_ops.set_bandwidth; tt3200_config.tuner_get_bandwidth = budget_ci->budget.dvb_frontend->ops.tuner_ops.get_bandwidth; if (dvb_attach(lnbp21_attach, budget_ci->budget.dvb_frontend, &budget_ci->budget.i2c_adap, LNBP21_LLC, 0) == NULL) {
                   printk("%s: No LNBP21 found!\n", __FUNCTION__);
if (budget_ci->budget.dvb_frontend->ops.tuner_ops.release) budget_ci->budget.dvb_frontend->ops.tuner_ops.release(budget_ci->budget.dvb_frontend);
                   dvb_frontend_detach(budget_ci->budget.dvb_frontend);
                   budget_ci->budget.dvb_frontend = NULL;
               }
           } else {
               printk("%s: No STB6100 found!\n", __FUNCTION__);
               dvb_frontend_detach(budget_ci->budget.dvb_frontend);
               budget_ci->budget.dvb_frontend = NULL;
           }
       }



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

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux