29 марта 2024, 01:23:25

Новости:

ПРОГНОЗ ПОГОДЫ В МОСКВЕ

31 ДЕКАБРЯ
Днем: +3 С      Ночью: +1 С


1 ЯНВАРЯ
Днем: +1 С   Ночью: 0 С


2 ЯНВАРЯ
Днем: +2 С   Ночью:  +1 С



ПОГОДА СЕЙЧАС > > >
http://forum.vivatv.net.ru/index.php?topic=5490.0


Scan-S2 в Fedora

Автор Konstantin, 20 октября 2012, 19:47:02

« предыдущая - следующая »

0 Пользователей и 1 гость просматривают эту тему.

Konstantin

Ошибки при установке Scan-S2 в Fedora 17
(для 64х битной операционной системы Fedora 17 и ядра версии 3.5.4-2)


Установка программы Scan-S2 с ошибками

1. Скачиваем прикрепленный архив scan-s2 от crazycat с поддержкой просмотра нескольких потоков (мультистримов, MIS)
в папку Загрузки
2. В открытой программе "Терминал" вводим
cd ./home/Konstantin/Загрузки
tar xvf scan-s2.tar.bz2
cd scan-s2

и после каждой строки нажимаем на клавиатуре кнопку "Enter"
3. В открытой программе "Терминал" вводим
Код: [Выделить]
gedit scan.c

4. В открытой программе "Терминал" вводим
gedit Makefile

7. Открывается файл Makefile и в нем заменяем строку
INCLUDE=-I../s2/linux/include
на другую
INCLUDE=/home/Konstantin/Загрузки/s2-liplianin-v37/linux/include
то есть заменяем путь на папку с драйверами s2-liplianin-v37
8. В открывшемся окне "Makefile - gedit" заходим в меню "Файл" и выбираем "Сохранить"
9. В открытой программе "Терминал" вводим
make

Появились ошибки
gcc -I../linux/include -c atsc_psip_section.c -o atsc_psip_section.o
In file included from atsc_psip_section.c:1:0:
atsc_psip_section.h:57:1: замечание: offset of packed bit-field «reserved2» has changed in GCC 4.4
gcc -I../linux/include -c diseqc.c -o diseqc.o
gcc -I../linux/include -c dump-vdr.c -o dump-vdr.o
gcc -I../linux/include -c dump-zap.c -o dump-zap.o
gcc -I../linux/include -c lnb.c -o lnb.o
gcc -I../linux/include -c scan.c -o scan.o
In file included from scan.c:48:0:
atsc_psip_section.h:57:1: замечание: offset of packed bit-field «reserved2» has changed in GCC 4.4
scan.c: В функции «__tune_to_transponder»:
scan.c:1837:12: ошибка: «DTV_DVBS2_MIS_ID» undeclared (first use in this function)
scan.c:1837:12: замечание: each undeclared identifier is reported only once for each function it appears in
scan.c: В функции «main»:
scan.c:3043:13: ошибка: «DTV_DVBS2_MIS_ID» undeclared (first use in this function)
scan.c:3043:4: предупреждение: при инициализации указатель преобразуется в целое без приведения типа [по умолчанию включена]
scan.c:3043:4: предупреждение: (где-то рядом с инициализацией для «p[8].cmd») [по умолчанию включена]
make: *** [scan.o] Ошибка 1


Дальше установка не идет.
  • Мои антенны: Triax 88 см.
  • Мои ресиверы: Dreambox 800
  • Мои спутники: от Eutelsat-7C 7 East до Экспресс-АМ3 103 East

Konstantin

22 марта 2019, 14:29:23 #1 Последнее редактирование: 22 марта 2019, 14:44:51 от Konstantin
Установка Scan-S2 в Fedora 19
(для 64х битной операционной системы Fedora 19 и ядра версии 3.11.9-200.fc19.x86_64)

Установка программы Scan-S2

1. Скачиваем прикрепленный архив scan-s2 от crazycat
в папку Загрузки
2. В открытой программе "Терминал" вводим
cd /home/Konstantin/Загрузки
unzip scan-s2.zip -d scan-s2
cd scan-s2
и после каждой строки нажимаем на клавиатуре кнопку "Enter"
3. Для Сборки программы Scan-S2 в открытой программе "Терминал" вводим
make

В процессе сборки появляется только одна ошибка связанная с версией GCC
gcc -I../s2/linux/include -c atsc_psip_section.c -o atsc_psip_section.o
In file included from atsc_psip_section.c:1:0:
atsc_psip_section.h:57:1: замечание: offset of packed bit-field «reserved2» has changed in GCC 4.4
 } PACKED;
 ^
gcc -I../s2/linux/include -c diseqc.c -o diseqc.o
gcc -I../s2/linux/include -c dump-vdr.c -o dump-vdr.o
gcc -I../s2/linux/include -c dump-zap.c -o dump-zap.o
gcc -I../s2/linux/include -c lnb.c -o lnb.o
gcc -I../s2/linux/include -c scan.c -o scan.o
In file included from scan.c:45:0:
atsc_psip_section.h:57:1: замечание: offset of packed bit-field «reserved2» has changed in GCC 4.4
 } PACKED;
 ^
gcc -I../s2/linux/include -c section.c -o section.o
gcc  atsc_psip_section.o diseqc.o dump-vdr.o dump-zap.o lnb.o scan.o section.o -o scan-s2 

4. Для Установки сборки Scan-S2 в открытой программе "Терминал" вводим
su
Пароль:
make install
и после каждой строки нажимаем Enter

В конце действий в Терминале появляется сообщение
cp scan-s2 /usr/local/bin/
5. Чтобы узнать, как пользоваться программой Scan-S2,
вводим в Терминале команду
./scan-s2 -helpи нажимаем Enter
API major 5, minor 10
./scan-s2: invalid option -- 'h'

usage: ./scan-s2 [options...] [-c | initial-tuning-data-file]
 atsc/dvbscan doesn't do frequency scans, hence it needs initial
 tuning data for at least one transponder/channel.
 -c scan on currently tuned transponder only
 -v verbose (repeat for more)
 -q quiet (repeat for less)
 -a N use DVB /dev/dvb/adapterN/
 -f N use DVB /dev/dvb/adapter?/frontendN
 -d N use DVB /dev/dvb/adapter?/demuxN
 -s N use DiSEqC switch position N (DVB-S only)
 -S N    use DiSEqC uncommitted switch position N (DVB-S only)
 -r sat  move DiSEqC rotor to satellite location, e.g. '13.0E' or '1.0W'
 -R N    move DiSEqC rotor to position number N
 -i N spectral inversion setting (0: off, 1: on, 2: auto [default])
 -n evaluate NIT messages for full network scan (slow!)
 -5 multiply all filter timeouts by factor 5
 for non-DVB-compliant section repitition rates
 -O pos Orbital position override 'S4W', 'S19.2E' - good for VDR output
 -k cnt Skip count: skip the first cnt
 messages of each message type (default 0)
 -I cnt Scan iterations count (default 10).
 Larger number will make scan longer on every channel
 -o fmt output format: 'vdr' (default), 'vdr16x' for VDR version 1.6.x or 'zap'
 -x N Conditional Access, (default -1)
 N=-2  gets all channels (FTA and encrypted),
       output received CAID :CAID:
 N=-1  gets all channels (FTA and encrypted),
       output CA is set to :0:
 N=0  gets only FTA channels
 N=xxx  sets ca field in vdr output to :xxx:
 -t N  Service select, Combined bitfield parameter.
 1 = TV, 2 = Radio, 4 = Other, (default 7)
 -p for vdr output format: dump provider name
 -e N  VDR version, default 2 for VDR-1.2.x
 ANYTHING ELSE GIVES NONZERO NIT and TID
 Vdr version 1.3.x and up implies -p.
 -l lnb-type (DVB-S Only) (use -l help to print types) or
 -l low[,high[,switch]] in Mhz
 -u UK DVB-T Freeview channel numbering for VDR

 -P do not use ATSC PSIP tables for scanning
     (but only PAT and PMT) (applies for ATSC only)
 -A N check for ATSC 1=Terrestrial [default], 2=Cable or 3=both
 -U Uniquely name unknown services
 -D s Disable specified scan mode (by default all modes are enabled)
 s=S1  Disable DVB-S scan
 s=S2  Disable DVB-S2 scan (good for owners of cards that do not
       support DVB-S2 systems)
 -X Disable AUTOs for initial transponders (esp. for hardware which
 not support it). Instead try each value of any free parameters.
  • Мои антенны: Triax 88 см.
  • Мои ресиверы: Dreambox 800
  • Мои спутники: от Eutelsat-7C 7 East до Экспресс-АМ3 103 East