Wissensdatenbank
Digital Devices > Digital Devices Support > Wissensdatenbank

Suchbegriff(e)


Change DVB_MAX_ADAPTERS under Linux

Lösung

There are systems in which several TV cards are installed, e.g. 2x Max S8.

Under Linux each tuner is recognize as one adapter, so if two Max S8 are installed then 16 tuners = 16 adapters availbale. If you have installed the driver and the system is rebooted, you will note that only the first 8 tuners/adapters are detected.

In the log outputs (e.g. dmesg) you find then entrys like this:

...

[   11.970694] Registering adapters failed. Check DVB_MAX_ADAPTERS in config.

... 

This is because under Linux by default only 8 adapters are preset. To get the missing tuners/adapters available in the system, you must change a part in the driver and then re-build the driver and install its again.

The following instructions will explain what in the driver must be changed.

 

Instruction:

If you have installed the drivers according to our instructions "Build and install the dddvb driver under linux (DVB)" , the driver sources will be found under /usr/src/.

 

  1. Go to the driver directory:

    cd /usr/src/dddvb-0.9.xx
    (replacing xx with the number of driver, e.g. 0.9.26)

     
  2. Clean driver:

    sudo make clean

     
  3. The file /dvb-core/dvbdev.h with any editor to edit as follows:

    #if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0
      #define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS
    #else
      #define DVB_MAX_ADAPTERS 64
    #endif


    change to...

    //#if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0
    //  #define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS
    //#else
    //  #define DVB_MAX_ADAPTERS 64
    //#endif

    #define DVB_MAX_ADAPTERS 64



     
  4. Build and install driver:

    sudo make
    sudo make install


     
  5. The system announce the new modules and their dependencies:

    sudo depmod -a
  6. Reboot PC:

    sudo reboot


After a restart of the computer should now all tuners/adapters be available.

 

 
War dieser Artikel hilfreich? ja / nein
Artikeldetails
Artikel-ID: 163
Kategorie: Linux
Datum (erstellt): 13-10-2016 13:15:44
Aufrufe: 5353
Bewertung (Stimmen): Artikelbewertung 2.9/5.0 (19)

 
« Zurück

Datenschutzerklärung | Impressum