Wissensdatenbank
Digital Devices > Digital Devices Support > Wissensdatenbank

Suchbegriff(e)


Digital Devices scripts for Linux

Lösung

 

Digital Devices scripts. 

List of scripts: 

Preparations

For a fast executing of script(s), you will need to install the 'cURL' utility

$sudo apt install curl

Or you may download scripts with the "wget" (or any other method), make them executable and run by path ./path/to/script.sh

In order to make a script executable on Linux, use the “chmod” command and assign “execute” permissions to the file.

You can either use the binary or the symbolic notation in order to make it executable.

$chmod u+x script

or

$chmod 744 script

 

Run Bash Script from script path

In order to run a Bash script on Linux, simply specify the full path to the script and provide arguments that may needed in order to run your Bash script.

$./path/to/script <arg1> <arg2> ... <argn>

Scripts

1.     ddinfo.sh  -  script for retrieving information about Digital Devices cards, such as: Card Number in system, Name, PCI address, Firmware/drivers version, temperature, etc. That information may be requested by support team for better supporting purposes. 

 

 Options:
               -v     Verbose mode (-vv or -vvv for more Verbose)

Location: http://linuxsupport.digital-devices.eu/ddinfo.sh

Examples:

$curl -s http://linuxsupport.digital-devices.eu/ddinfo.sh | bash

If you prefer wget, you can run this command:

$wget -qO- http://linuxsupport.digital-devices.eu/ddinfo.sh | bash

Or for verbose use <-v> option:

$curl -s http://linuxsupport.digital-devices.eu/ddinfo.sh | bash /dev/stdin -v

 

2. dddvb_build.sh - script for building dddvb drivers. This script requires root rights, so please login as root or run command with root rights.

 

Options:

-g|--git    

download and build latest Git version of dddvb drivers.  (By default the Release version is downloaded)

-f|--fmode

set *MODE for Max S8/SX8/SX8 Basic cards. Requires value 0; 1; 2 or 3 (ex. –f 2 - to set fmode=2 in ddbridge.conf file)

-v|--version

dddvb version to build. Possible values: 37; 38; 39

          -v 37  =  dddvb-0.9.37 

          -v 38  =  dddvb-0.9.38

          -v 39  =  dddvb-0.9.39

-m|--max-adapters

 set MAX ADAPTERS value (Default value for dddvb 0.9.38/39 is 64)

 Possible values: 1; 2 

          -m 1 = MAX ADAPTERS 128 (set 128 adapters) 

          -m 2 = MAX ADAPTERS 256 (set 256 adapters)

-M|--msi 

If you have I²C-Timeouts, please disable MSI for ddbridge.

Possible values: 0-disable, 1-enable (default)"

-h|--help

print help

 Location: http://linuxsupport.digital-devices.eu/dddvb_build.sh

 Examples:

 

 

Execute without options to apply default values fmode=0 and dddvb version=0.9.39:

#curl -s http://linuxsupport.digital-devices.eu/dddvb_build.sh | bash

 

Or for building the Git version of drivers, use <-g> option:

#curl -s http://linuxsupport.digital-devices.eu/dddvb_build.sh | bash /dev/stdin -g

 

Building the Git version of drivers and set fmode=2:

#curl -s http://linuxsupport.digital-devices.eu/dddvb_build.sh | bash  /dev/stdin -g -f 2

 

Building the 0.9.37 version of drivers and set fmode=1:

 

#curl -s http://linuxsupport.digital-devices.eu/dddvb_build.sh | bash  /dev/stdin -v 37 -f 1

 

*Modes for Max S8/SX8/SX8 Basic:

§  fmode=0

4 tuner mode ( Internal multiswitch disabled )

§  fmode=1

Quad LNB / normal outputs of multiswitches

§  fmode=2

Quattro - LNB / cascade outputs of multiswitches

§  fmode=3

Unicable LNB or JESS / Unicabel output of the multiswitch

 

3. dd_fw_update.sh script for updating of firmwares for all cards in the system. This script requires root rights, so please login as root or run command with root rights.

 Be careful, this script will update FW for all cards which are in system. If you want to do it for single card, better to go with steps from this link 

#curl -s http://linuxsupport.digital-devices.eu/dd_fw_update.sh | bash 

If you find any mistakes or have something to add/ask, please write to the author and he will correct the article)

Palii Dmytro

paliydmn@digitaldevices.de

 

 
War dieser Artikel hilfreich? ja / nein
Artikeldetails
Artikel-ID: 184
Kategorie: Linux
Datum (erstellt): 15-11-2022 10:17:31
Aufrufe: 1810
Bewertung (Stimmen): Artikelbewertung 4.6/5.0 (22)

 
« Zurück

Datenschutzerklärung | Impressum