- Arch linux dvb tune
- Contents
- Load required kernel modules
- Pinnacle PCTV Sat
- Additional modules: S2-liplianin
- Setup
- Additional firmware: OpenELEC DVB-firmware
- Setup permissions
- Scanning channels
- Using scan
- Using w_scan_cpp
- DiSEqC switch scanning (AKA multiple satellite LNB)
- Switching channels
- Software
- Kaffeine
- Importing channel list
- LinuxTV dvb-apps
- Contents
- Obtaining the dvb-apps package
- List of utilities within ‘dvb-apps’
- Настройка ТВ тюнеров в Linux
Arch linux dvb tune
DVB-S is a satellite television standard. This article describes the setup and use of DVB-S cards on Arch Linux.
Contents
Load required kernel modules
You have to lookup the chipset of your specific card; tools like lshwd AUR may help you.
Pinnacle PCTV Sat
This card uses bt878 and cx24110 as chipset. These require the dvb-bt8xx and cx24110 kernel modules.
Load them with modprobe:
And make them load at boot by creating the following file:
Additional modules: S2-liplianin
This article or section is out of date.
Some modules not included in the kernel are available from Igor M. Liplianin’s mercurial repository [dead link 2020-12-22 ⓘ] .
Setup
First of all, you have to download and prepare the source code.
To clone the repository will need to install mercurial or alternatively you can download the source code from https://bitbucket.org/liplianin/szap-s2/downloads/ [dead link 2020-12-22 ⓘ] and extract it manually.
After obtaining the code, change the working directory to the extracted folder:
Unfortunately not all modules of liplianin are compatible with recent kernels and cause some trouble if you want to compile them hence you have to exclude these modules from the build process (if you do not need them). You can choose which modules you want to build by executing:
which will create a config file: v4l/.config .
After that, you have to build the chosen modules:
If all configured modules were compiled successfully, you can install the modules at the kernel’s default modules directory by executing:
After that, reboot your machine.
Additional firmware: OpenELEC DVB-firmware
The OpenELEC project provides additional firmware files for various DVB devices, eg. TechniSat SkyStar S2. To use these firmware files you can install either openelec-dvb-firmware AUR or openelec-dvb-firmware-git AUR .
Setup permissions
To use your DVB-S card as user add it to the video group:
Scanning channels
Most applications like szap or xine are needing a channel list created by scan, which is part of dvb-utils. You will find the dvb-utils package under the name linuxtv-dvb-apps AUR .
Using scan
scan needs an channel to initialize scanning. In /usr/share/dvb/dvb-s/ are some files which contain these channels; you will need that one that fits the satellite you are watching from.
The following command will scan all channels and save them to channels.conf :
Using w_scan_cpp
w_scan_cpp AUR allows for automatic scanning of channels without configuration. Install it then issue:
Alternatively you can also scan using the satellite position like 19.5E for Astra 1. Scans like that can be done as follows:
You can also add the -X flag to generate tzap/czap/xine output instead of vdr output.
To get a file that can be loaded with VLC use the -L flag
DiSEqC switch scanning (AKA multiple satellite LNB)
This article or section is out of date.
If you have a LNB with a DiSEqC switch in it you can manually select that using the -D option like so:
The above line should work but not all found channels where actually saved. The line below worked perfectly for me:
Switching channels
By using zap, which comes with dvb-utils, you can switch channels, so you do not have to rely on the abilities of your player.
szap needs the channel file we created earlier; it will try
/.szap/channels.conf by default. You can move the channels.conf there or you can use the «-c» command-line option.
Switching channels works like this:
You can list all available channels with:
Now you can watch the stream for example with xine:
or with mplayer:
or with mplayer, but using DVB directly:
You can find all the channel names by running szap -q (assuming the channel list is also in
Software
Kaffeine
Kaffeine is a really nice player; it supports EPG, time-shifting, and recording. Additionally Kaffeine has built-in channel-searching.
Install it with the kaffeine package.
Importing channel list
- Linosaw.de provides channels.conf files for VDR
- conv2conf converts these files into kaffeine channel list format
Me-tv is a simple but powerfull dvb-viewer, supporting EPG, recording and channel-searching with a light-weight gui.
Copy your channel file to
Watch a specific channel with following command:
Источник
LinuxTV dvb-apps
The LinuxTV dvb-apps package contains some Linux DVB API applications and a set of utilities that both the developer and end user alike will find quite useful. Specifically, the utilities are geared towards the initial setup, testing, and operation of a DVB device, whether it be of the software decoding (a.k.a. ‘budget’) or hardware decoding (a.k.a. ‘premium’ or ‘full-featured’) class.
Contents
Obtaining the dvb-apps package
The dvb-apps package source code is available from the LinuxTV website and can be retrieved via Mercurial (Hg).
The download and build procedure is very simple:
There are some very old tarballs, compressed in tar.bz2 and tar.gz formats. The latest tarball of dvb-apps is provided by Mercurial (Hg).
Alternatively, if the package is maintained in a repository available for your «distro», then you can obtain a pre-built version with your package manager. Note, however, that not all Linux distributions (‘distros’) refer to the package by the proper «dvb-apps» name. The Debian package name for it, for example, is «dvb-utils». In other cases, you may also sometimes see it called «dvbtools». This is an insane situation, which creates much confusion; additional to the fact that DVB tools is itself the name of another project (not associated with LinuxTV) that features its own set of DVB related utilities. In any regard, the following provides a few examples with common distros
- To install it on a debian etch system:
# apt-get install dvb-utils
- To install it on a debian lenny or ubuntu system:
# apt-get install dvb-apps
- With gentoo:
# emerge linuxtv-dvb-apps
- Using Fedora, assume root privileges then install the dvb utilities with:
# yum install dvb-apps
- Using Suse, assume root privileges then install the dvb utilities with:
# zypper install dvb
- Using OpenEmbedded, assume root privileges then install the dvb utilities with:
# bitbake dvb-apps
- With Arch Linux:
# pacman -S linuxtv-dvb-apps
List of utilities within ‘dvb-apps’
The README file in the top level of the package gives a brief description of the package’s contents, but in general, some of the items of interest that you will find are:
Источник
Настройка ТВ тюнеров в Linux
Если вы обладатель ТВ тюнеров AverMedia, Beholder и т.п., на базе чипов от Philips 7134 и их производных (7131/7133/7135), то это инструкция для вас.
Приступим к настройке.
Откройте терминал, в Jeder Linux это делается из пункта Меню -> Стандартные -> Терминал
Скопируйте эту команду и вставьте в окно терминала:
sudo gedit /etc/modprobe.d/saa7134 |
Введите пароль администратора.
В открывшийся документ вставьте следующий код:
alias char-major-81 videodev alias char-major-81-0 saa7134 options i2c-algo-bit bit_test=1 options saa7134 card= XXX secam=dk options tuner secam=d |
Теперь перейдите в [список ТВ тюнеров] и найдите по номеру модели свою карту.
У меня ТВ тюнер AverMedia 507. Ввожу 507 в поиск по странице и нахожу там такую строчку:
102 -> Avermedia AVerTV Studio 507 [1461:9715] |
Нас интересует цифра перед названием тюнера – 102, если у вас другой тюнер, то у него будет другая цифра.
Теперь заменим символы XXX в верхнем коде на цифры нашего тюнера, т.е. на 102 .
Всё. Больше ничего менять не надо. Нажимаем сохранить у текстового редактора и закрываем его.
Теперь в терминале вводим поочерёдно следующие команды:
sudo rmmod saa7134_alsa sudo rmmod saa7134 sudo modprobe saa7134 |
Конфигурация тюнера завершена.
Теперь запускаем TVtime – программу для просмотра телевизора в Jeder Linux.
Меню -> Аудио и видео -> TVtime Television Viewer
При запуске программа сама начнёт сканирование каналов. Просто подождите когда она это закончит делать. При этом у вас будут мелькать каналы.
По завершению сканирования попереключайте каналы. Если у какого-то плохое изображение или нет звука, то подстройте.
Меню настройки в TVtime вызывается по нажатию правой кнопки мыши в окне программы.
Левая кнопка мыши показывает или прячет номер канала, если меню настройки неактивно.
Колесо мыши, а также клавиши вверх/вниз переключают каналы.
Спасибо за статью) Я, возможно, скоро ей воспользуюсь =)
А если номер, например, двузначный то как вводить: 035 или просто 35?
Спасибо помогла ваша инфо, но только вот у меня видео есть а звука нет, немогли бы помочь а то я неочень в LINUX можно сказать чайник.
вот моя audioкарта
0 [NVidia ]: HDA-Intel – HDA NVidia
HDA NVidia at 0xdfdf8000 irq 22
1 [SAA7134 ]: SAA7134 – SAA7134
saa7134[0] at 0xdfeffc00 irq 18
2 [HDMI ]: HDA-Intel – HDA ATI HDMI
HDA ATI HDMI at 0xdffec000 irq 17
а вот ето я прописал как в верху немного по другому
alias char-major-81 videodev
options i2c-algo-bit bit_test=1
options saa7134 card=12 tuner=12 i2c_scan=1 radio_nr=1
options tuner pal=i
alias char-major-81-0 saa7134
alias char-major-81-1 off
alias char-major-81-2 off
alias char-major-81-3 off
///ответ jeder
1. Немного по-другому зачем? Напишите как надо![]()
2. Звука нет на всех каналах или только на каком-то одном-двух?
3. Скажите название тюнера и какая версия ядра или какой дистрибутив у вас?
а вот ещё если я живу в германии то нада secam=dk на pal менять
моя система последняя Ubuntu, а звука в телевизоре вообще нету, а в системе всё ок.
///ответ jeder
Сначала впишите код как в инструкции, а потом уже может звук и сам заработает. Вроде бы в Европе тоже в секаме есть каналы?
card=12, это у вас тюнер Medion 7134 что ли?
да ти прав модел Medion 7134, сделал всё как в верху но звука нет, я так думаю что проблемма в передаче звука с PCI на audiocarte. и ещё насчот модели в винде она опредиляется как Creatix карта но чип saa7134 может ето тоже важно
///ответ jeder
Есть подозрение, что в 10.04 что-то сломали, т.к. там многое работать перестало, может и звук у тюнеров заодно.
Могу посоветовать только перебором менять коды карты – подставлять от разных производителей, вдруг заработает.
///ответ jeder
Пожалуйста![]()
А до этого другими убунтами или дистрами пользовались?
Автор чем я тебя так обидел что ты даже мои посты снес с форума. Ну не захотел общатся дальше, сказал бы сразу, я же понимаю,свобода есть свобода…тем более в СПО.
///ответ jeder
Ты что! Ничем ты меня не обидел. Ты ж хотел, чтобы никто не видел нашу переписку, я тебя добавил в новую группу, а нашу тему на форуме перенёс в скрытый раздел, который можем видеть только ты и я.
Зайди на форум, найди там так и называется Скрытый раздел и в нём твоя тема. Я тебе там ответ написал, жду тебя, а ты и не видишь. Ну ты даёшь!
да openSuse пробывал тоже самое
///ответ jeder
Вчера погуглил, смотрю у многих проблемы с этим тюнером в линуксах, причём ещё с 2007 года.
У меня тюнер не все каналы со звуком показывает, так что проблема распространена, но не у всех линуксоидов есть тюнеры![]()
Может в следующих версиях ядра исправят эти глюки со звуком
усе зделал как надо но тюнер неподнялси
///ответ jeder
Значит не всё, а телепаты у нас в отпуске
не вру нагло я сделал………. что он как клава обнаружился
///ответ jeder
Что сделал? И как так надо было сделать, чтобы тюнер стал клавой?
Повторяю – телепаты в отпуске, проблемы с настройкой решаются на форуме и только после предоставления вами информации о том что и как вы делали.
Всё. Хватит засорять эфир
привет еще раз вобщем переустановил систему mandriva 2010 тв тюнер cronos video shuttle 2 от суперпользовател прописую sudo gedit /etc/modprobe.d/saa7134 ответ command not found
ответ jeder
Читай мой ответ на твой предыдущий коммент.
поставил твою систему стала армально)но с тв тюнером порблемы так и остались я в списке не нашел своего Cronos Video Shuttle TV II
ответ jeder
Если тюнера в списке нет, значит линукс его не поддерживает.
что-то нифига не хочет настраиваться.
В общем у меня тв-тюнер KWorld 210, а точнее PCI Hybrid TV Card (DVB-T 210SE)
Значит ввожу в терминале:
sudo gedit /etc/modprobe.d/saa7134
записываю в saa7134 такие строки
alias char-major-81 videodev
alias char-major-81-0 saa7134
options i2c-algo-bit bit_test=1
options saa7134 card=0 secam=dk
options tuner secam=d
и никак, в общем не работает, в tvtime показывает чёрный экран,каналы не сканирует, потому как даже такого пункта нет ‘сканировать”.
Для более понятного уточнения:
ввожу dmesg
выдало:
[ 8.115478] gameport gameport0: NS558 PnP Gameport is pnp00:04/gameport0, io 0x201, speed 547kHz
[ 8.216825] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5
[ 8.401585] saa7130/34: v4l2 driver version 0, 2, 17 loaded
[ 8.401704] saa7134 0000:00:09.0: PCI INT A -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
[ 8.401718] saa7133[0]: found at 0000:00:09.0, rev: 209, irq: 11, latency: 32, mmio: 0xdffff800
[ 8.401733] saa7133[0]: subsystem: 17de:7253, board: Philips EUROPA V3 reference design [card=69,insmod option]
[ 8.401769] saa7133[0]: board init: gpio is 100
[ 8.564134] saa7133[0]: i2c eeprom 00: de 17 53 72 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 8.564157] saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff ff ff ff ff ff ff 01
[ 8.564176] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 00 fe ff ff ff ff
[ 8.564195] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564214] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 15 56 ff ff ff ff ff ff
[ 8.564233] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564251] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564270] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564289] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564308] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564326] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564345] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564363] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564382] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564401] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.564419] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 8.641837] IR NEC protocol handler initialized
[ 8.652579] i2c-core: driver [tuner] using legacy suspend method
[ 8.652587] i2c-core: driver [tuner] using legacy resume method
[ 8.676325] tuner 1-0061: Tuner -1 found with type(s) Radio TV.
[ 8.748202] IR RC5(x) protocol handler initialized
[ 8.909714] IR RC6 protocol handler initialized
[ 8.914835] tuner-simple 1-0061: unable to probe Philips TD1316 Hybrid Tuner, proceeding anyway.
[ 8.914845] tuner-simple 1-0061: creating new instance
[ 8.914853] tuner-simple 1-0061: type set to 67 (Philips TD1316 Hybrid Tuner)
[ 8.915041] tuner-simple 1-0061: i2c i/o error: rc == -5 (should be 4)
[ 8.915228] tuner-simple 1-0061: i2c i/o error: rc == -5 (should be 4)
[ 8.915409] tuner-simple 1-0061: i2c i/o error: rc == -5 (should be 4)
[ 8.919694] saa7133[0]: registered device video0 [v4l2]
[ 8.920263] saa7133[0]: registered device vbi0
[ 8.997274] IR JVC protocol handler initialized
[ 9.014020] tuner-simple 1-0061: i2c i/o error: rc == -5 (should be 4)
[ 9.016231] tuner-simple 1-0061: i2c i/o error: rc == -5 (should be 4)
[ 9.161059] IR Sony protocol handler initialized
[ 9.174007] dvb_init() allocating 1 frontend
[ 9.193498] IR MCE Keyboard/mouse protocol handler initialized
[ 9.215443] tda10046: chip is not answering. Giving up.
[ 9.215511] saa7133[0]/dvb: frontend initialization failed
[ 9.225094] lirc_dev: IR Remote Control driver registered, major 251
[ 9.227517] IR LIRC bridge handler initialized
[ 9.989105] saa7134 ALSA driver for DMA sound loaded
[ 9.989203] saa7133[0]/alsa: saa7133[0] at 0xdffff800 irq 11 registered as card -1
[ 10.199098] snd_via82xx 0000:00:11.5: PCI INT C -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
[ 10.199287] snd_via82xx 0000:00:11.5: setting latency timer to 64
Т.е у меня получается так:
Имя драйвера – saa7133
Название тюнера – B UNKNOWN/GENERIC, номер карты card=0
Номер драйвера для тюнера tuner-simple 2-004b: type set to 69 (Tena TNF 5335 and similar models)
rmmod saa7134
выдал: ERROR: Module saa7134 is in use by saa7134_alsa,saa7134_dvb
modprobe saa7134 tuner=69 card=0
выдал:
WARNING: All config files need .conf: /etc/modprobe.d/saa7134, it will be ignored in a future release.
rmmod tuner
выдал: ERROR: Module tuner is in use
modprobe tuner secam=d
выдал: WARNING: All config files need .conf: /etc/modprobe.d/saa7134, it will be ignored in a future release.
я даже вот так пробовал прописывать в saa7134
alias char-major-81 videodev
options i2c-algo-bit bit_test=1
options saa7134 card=0 tuner=69
options tuner secam=d
и всё равно нифига не работает, мож кто чем подскажет?
Уже не знаю где искать, уйму форумов перерыл.
Доброго дня.
Можно ли здесь попросить помощи в настройке в-тюнер GoTView USB2.0 DVD Deluxe ?
Уже долгое время не получается установить тв-тюнер GoTView USB2.0 DVD Deluxe https://pctuner.club/page-al-gousb2.html для оцифровки VHS в программе VLC.
Если возможно, то есть ли здесь спойлеры, чтобы не выкладывать информацию из терминала в развёрнутом виде ?
это параметры ноутбука где хочется оцифровывать VHS:
System: Host: samsung Kernel: 4.13.0-21-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Machine: System: SAMSUNG product: 300E4Z/300E5Z/300E7Z v: 0.1
Mobo: SAMSUNG model: 300E4Z/300E5Z/300E7Z v: FAB1
Bios: Phoenix v: 02QB date: 11/12/2011
CPU: Dual core Intel Core i3-2350M (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9180
clock speeds: max: 2300 MHz 1: 2295 MHz 2: 2295 MHz 3: 2295 MHz
4: 2295 MHz
Graphics: Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
bus-ID: 00:02.0
Card-2: NVIDIA GF119M [GeForce GT 520MX] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1366×768@60.07hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card Intel 6 Series/C200 Series Family High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.13.0-21-generic
Network: Card-1: Intel Centrino Wireless-N 130
driver: iwlwifi bus-ID: 02:00.0
IF: wlp2s0 state: down mac:
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 03:00.0
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac:
Drives: HDD Total Size: 750.2GB (23.9% used)
ID-1: /dev/sda model: TOSHIBA_MK7559GS size: 750.2GB
Partition: ID-1: / size: 37G used: 9.9G (29%) fs: ext4 dev: /dev/sda6
ID-2: swap-1 size: 8.50GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 52.0C mobo: 29.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 212 Uptime: 1:50 Memory: 1149.4/7893.1MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
Понятно написано, НО все же как мне свой Behold TV Cruise установить на Linux Mint 20 если команда gedit(bash: gedit: команда не найдена) для ОС не известна и для этого тюнера кода нет в списке? Причем “железо” у него такое: NXP TDA18273HN DVB-T2: SiLabs Si2168-A30
Источник