Powered by Invision Power Board


  
 
Reply to this topicStart new topicStart Poll

> Gib es ein HOWTO für Kernel updates?
Ichi
Geschrieben am: Sonntag, 25.Januar 2009, 03:56 Uhr
Quote Post


Advanced Member
***

Gruppe: Members
Beiträge: 90
Mitgliedsnummer.: 4799
Mitglied seit: 2008-05-06



Was jemand wenn (order ab), das Mutiproto Treiber besser lauft unter ein andere Kernel, bzw der 2.6.27 order 2.6.28??

Unter astra 1 (19,2°O) lauft das mit dem Patches:

multiproto_channellock_fix.patch.diff
multiproto_fastlock_fix_new.patch.diff

lauft das ganze unter Astra 1 (19.2°O) ganz glat! :D
Lider war es nur so beim Astra 2 (28.2°O) :angry:

Ich habe mein alte ~VDR-1.6.0 channels.conf genommen aber wie ich verstehe konnte dies der probleme sein?

Egal ab mit dem "Squish" (Flach Dish) order mit dem 90'er ich kann nur die ein par transponder ausfishen.

Ich wedrd mich sehre interessieren ab ich der die eisigste bin die mit so ein situation bin.

Wie gesagt ich werde mich gerne wissen wie man ein Kernel Update macht unter gentoo (order gen2vdr), auf der DVB u. VDR basieren?
Email Poster
Top
R2D2
Geschrieben am: Sonntag, 25.Januar 2009, 09:55 Uhr
Quote Post


Prinz
****

Gruppe: Moderators
Beiträge: 6149
Mitgliedsnummer.: 1131
Mitglied seit: 2005-10-30



Anleitungen zum Update eines Kernel unter Linux gibt es doch wie Sand am Meer in Internet. :rolleyes: --> Google

Allerdings ist mit noch nicht ganz klar, weshalb Du unbedingt Deinen Kernel Updaten willst??
Es ist doch, zumindest meiner Meinung nach, völlig Wust, ob der Treiber fest im Kernel installiert ist, oder "von Hand" installiert und geladen wird.

QUOTE
multiproto_channellock_fix.patch.diff
multiproto_fastlock_fix_new.patch.diff


Ich kenne die Patche nicht und weiß auch nicht wozu die gut sein sollen.
Wenn Du darüber etwas erfahren willst, dann solltest Du dort nachfragen, woher Du sie hast, oder eine Quelle angeben.

Zum Thema channels.conf:

Auch ich verwende mit vdr-1.7.0 meine channels.conf die ich schon mit vdr-1.6.x hatte, - und das ohne Probleme.

Du kannst Die ja mal bei Linowsat eine passende herunterladen, bzw. zusammenstellen.


Email PosterUsers WebsiteICQ
Top
Ichi
Geschrieben am: Sonntag, 25.Januar 2009, 15:39 Uhr
Quote Post


Advanced Member
***

Gruppe: Members
Beiträge: 90
Mitgliedsnummer.: 4799
Mitglied seit: 2008-05-06



Ok sorry ich hatte gewusst das ich die quelle zu geben hat:
Die "Patches" sind für die Multiproto (TT S2-3200) Karte.

Ich habe dien HOWTO gefolgt bis auf der multiproto Section.
Nach dem Symlink in /usr/local/src/DVB
hab ich diesen beiden Patch Files überspielt:

multiproto_channellock_fix.patch.diff

CODE
--- linux/drivers/media/dvb/frontends/stb0899_algo.c.org 2008-04-24 22:04:10.000000000 +0200
+++ linux/drivers/media/dvb/frontends/stb0899_algo.c 2008-07-16 18:54:25.000000000 +0200
@@ -205,7 +205,7 @@
      struct stb0899_internal *internal = &state->internal;
      struct stb0899_params *params = &state->params;

-     short int derot_step, derot_freq = 0, derot_limit, next_loop = 3;
+     short int derot_freq = 0, derot_limit, next_loop = 3;
      int index = 0;
      u8 cfr[2];

@@ -213,11 +213,10 @@

      /* timing loop computation & symbol rate optimisation */
      derot_limit = (internal->sub_range / 2L) / internal->mclk;
-     derot_step = (params->srate / 2L) / internal->mclk;

      while ((stb0899_check_tmg(state) != TIMINGOK) && next_loop) {
              index++;
-             derot_freq += index * internal->direction * derot_step; /* next derot zig zag position */
+             derot_freq += index * internal->direction * internal->derot_step; /* next zig zag position */

              if (ABS(derot_freq) > derot_limit)
                      next_loop--;


und..
multiproto_fastlock_fix_new.patch.diff

CODE
--- linux/drivers/media/dvb/frontends/stb6100.c 2008-09-17 19:54:23.000000000 +0200
+++ linux/drivers/media/dvb/frontends/stb6100.c.new 2008-09-17 20:21:08.000000000 +0200
@@ -343,11 +343,18 @@
              break;
      }

+     regs[STB6100_DLB] = 0xDC;
+     /** Disable LPEN */
+     regs[STB6100_LPEN] &= ~STB6100_LPEN_LPEN;        /* PLL loop disabled           */
+
+     if ((rc = stb6100_write_regs(state, regs)) < 0)
+             return rc;
+
      /* Baseband gain. */
      if (srate >= 15000000)
-             g = 9;  //  +4 dB
-     else if (srate >= 5000000)
-             g = 11; //  +8 dB
+             g = 8;
+     else if (state->srate >= 5000000)
+             g = 12;
      else
              g = 14; // +14 dB

@@ -399,9 +406,11 @@
       /* Power up. */
       regs[STB6100_LPEN] |= STB6100_LPEN_SYNP | STB6100_LPEN_OSCP | STB6100_LPEN_BEN;

+      msleep(2);
       if ((rc = stb6100_write_regs(state, regs)) < 0)
               return rc;

+      msleep(2);
       regs[STB6100_LPEN] |= STB6100_LPEN_LPEN;         /* PLL loop enabled           */
       if ((rc = stb6100_write_reg(state, STB6100_LPEN, regs[STB6100_LPEN])) < 0)
               return rc;
@@ -410,13 +419,16 @@
 if ((rc = stb6100_write_reg(state, STB6100_VCO, regs[STB6100_VCO])) < 0)
               return rc;

-      msleep(10);                                      /* wait for LO to lock        */
+      msleep(5);                                       /* wait for LO to lock        */
       regs[STB6100_VCO] &= ~STB6100_VCO_OSCH;          /* vco search disabled        */
       regs[STB6100_VCO] |= STB6100_VCO_OCK;            /* search clock  off          */
       if ((rc = stb6100_write_reg(state, STB6100_VCO, regs[STB6100_VCO])) < 0)
               return rc;
       regs[STB6100_FCCK] &= ~STB6100_FCCK_FCCK;        /* LPF BW clock disabled      */
-      if ((rc = stb6100_write_reg(state, STB6100_FCCK, regs[STB6100_FCCK])) < 0)
+//    if ((rc = stb6100_write_reg(state, STB6100_FCCK, regs[STB6100_FCCK])) < 0)
+
+      stb6100_normalise_regs(regs);
+      if((rc = stb6100_write_reg_range(state, &regs[1], 1, STB6100_NUMREGS - 3)) < 0)
              return rc;

       msleep(30);



CODE
cd /usr/local/src/DVB
patch -p1 -i /zum/speicherstick/verzeichnis/patch-file.diff

und dem HOWTO dann weiter gefolgt.

Vorher ohne diesen "Patches" habe ich fast ein viertel stunde bis zwanzig minuten gewartet bis ich ein Lock bekämm, und das auf Astra 1 beim Kanal wie ProSieben order Sat.1.

Nach diesem Patch zapt dem 3200 diesem Kanal vom Astra 1 (19.2°O) ohnehin kein probleme mehr. Aber beim dem Astra 2 (28.2°O), es scheint das diese beiden patch files dort nicht seher hilfreich zu sein.

Die frage über dem kernel stamt von dem letzten Multiproto Update:

CODE
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c Wed Sep 10 20:16:04 2008 +0400

+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c Sat Jan 24 01:20:42 2009 +0400
@@ -242,7 +242,11 @@ int dvb_register_device(struct dvb_adapt
           
        mutex_unlock(&dvbdev_register_lock);

-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 26)

+#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 27)
+       clsdev = device_create(dvb_class, adap->device,
+                              MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
+                              NULL, "dvb%d.%s%d", adap->num, dnames[type], id);
+#elif LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 27)
        clsdev = device_create_drvdata(dvb_class, adap->device,
                               MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
                               NULL, "dvb%d.%s%d", adap->num, dnames[type], id);


Ich hoffe das die multiproto treiber dort besser laufe kann als unter die 2.6.23 kernel was ich momentan benutze.



Email Poster
Top
R2D2
Geschrieben am: Sonntag, 25.Januar 2009, 15:49 Uhr
Quote Post


Prinz
****

Gruppe: Moderators
Beiträge: 6149
Mitgliedsnummer.: 1131
Mitglied seit: 2005-10-30



????
Email PosterUsers WebsiteICQ
Top
Ichi
Geschrieben am: Sonntag, 25.Januar 2009, 16:39 Uhr
Quote Post


Advanced Member
***

Gruppe: Members
Beiträge: 90
Mitgliedsnummer.: 4799
Mitglied seit: 2008-05-06



Ok I'll try this in English if that helps to make myself clearer

Following this Guide HERE:

Up till this Point here

CODE
echo 'V4L_DVB_HG_REPO_URI="http://jusst.de/hg/multiproto"' >> /etc/make.conf
rm -rf /usr/local/portage/patches/v4l/SMT-dvb.diff
/_config/bin/dvb_update.sh
cd /usr/local/src
ln -s /mnt/data/portage/distfiles/hg-src/v4l-dvb-hg/multiproto DVB


Where I installed the above "multiproto" Patches, and then continued on with the HOWTO to the end...

I need these "Patches" just to tune into any given Transponder on the Astra 1 (i.e. 19.2°E) Network. In short with out these patches the TT S2-3200 would not lock a Channel in until well after 15 to 20 MINUTES!!

With these "Patches" I get more Nexus-S type zap times that is ~instantly~ so for me those Patches do work! Unfortunately they only seem to work on Astra 1 where I need them to work on Astra 2 (28.2°E), now granted that I have to use a "Sqush"* Dish (Flat Panel type: CAMOS), cause I'm not allowed to hang my normal 90cm Dish outside. :(
I've never had any reception problems (besides Rain or Snow), with Astra 2 (28.2°E), (BBC, iTV, Channel 4 and Five et.al), with the Nexus-S or the sqush
But the TT S2-3200 just refuses to tune in any of those Transponders in ~right away~ if it sits there long enough again for about 15 to 20 Minutes it will catch a lock and give me some "light" and then just crap out again like that.

At fist I thought this could be the "sqush"* but, having tested out the 90cm I have had similar results.

I have heard that the 3200 had locking problems but, I didn't think they were still this bad


The last bit of code that I posted relates to the last multiproto update from the 24.01.2009, and seems to be related to the 2.6.27 kernel, and I was wondering if by updateing the Kernel to 2.6.27, and pulling the "current" Driver if this wouldn't help with said locking problems?

In any case if I can't find a resoution to this soon I'm going to have to rethink this eHD/Multproto thing though cause no BBC/iTV/CH4 and 5 is a major deal breaker for me! :angry:

*I don't know if external linking is allowd I sure I'll be told so, if so the I'll remove it again, but in case you're scratching you head about what a "sqush" is.
This is a Sqush
Email Poster
Top
Thema wird von 0 Benutzer(n) gelesen (0 Gäste und 0 Anonyme Benutzer)
0 Mitglieder:

Topic Options Reply to this topicStart new topicStart Poll