VDR und SuSE 9.1

  • Приветствую Всех !


    Как заставить plugin SC работать ?


    В стандартной поставке уже есть DVB дрова и VDR 1.2.6


    Нужно-ли инталлировать новые дрова с Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.
    делать PATCH и менять FIRMWARE (Root)?

  • Нет, можно и родное использовать, но как быть с "sc" ?


    P.S.
    Адресок ;-) можно и убрать всеравно его, я думаю, все знают.

  • Родное без патчей не канает с sc. Точно также как родные дрова только в топку годятся. Других вариантов нету.


    Не хочется чтобы из за URL дали по шапке админу. Он тут ни при чем. Домейн зарегистрирован в Германии и Европейском сообществе где просмотр такого рода запрещен точно также как и ссылки на подобные вещи. Наглядный тому пример например использование libdvdcss когда преследование идёт за то что рассказывается где взять и как установить, хотя каждый знает где и как...

  • Привет !


    По поводу ссылки - нет проблем.


    Вот нашел еще, может кто разжует для непонятливых...


    Hey there people, here is a doc for everyone that wants to install a Nexus-S DVB card with a 2.6.x kernel.
    As I am going through the steps, I will try to point out some of the differences between using a 2.4.x kernel
    and a 2.6.x kernel. But, this document is mainly going to focus on the latter. The distro that I am currently
    using is Debian Sid, but any mainstream linux distro should work (as long as you are able to build a kernel
    on it from the source). Also, I would like to mention that for this tutorial we are always going to be using the
    vanilla kernel source from Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. (not the distros hacked up version). Lets get started...


    1) Get the Linuxtv dvb drivers and put them in the correct location:


    cd /usr/src
    wget Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.


    2) Extract the drivers and create a softlink:


    tar -jxf linuxtv-dvb-1.1.1.tar.bz2
    ln -s linuxtv-dvb-1.1.1 DVB


    Note: you should now have a directory called /usr/src/DVB and this is linked to /usr/src/linuxtv-dvb-1.1.1


    3) Change to the /usr/src/DVB directory and run MAKEDEV-DVB.sh (this creates your /dev/dvb directories).


    cd /usr/src/DVB
    ./MAKEDEV-DVB.sh


    Note: the MAKEDEV-DVB.sh script only needs to run one time during the initial setup.


    4) Run the "makelinks" script so the current 2.6.x kernel is now linked to the linuxtv drivers (instead of its
    original drivers)


    ./makelinks /usr/src/linux


    Note: This step requires that you already have a directory on your system called /usr/src/linux and it is
    pointing to a 2.6.x kernel source directory. For example:


    username@debian:/usr/src$ ls -l linux
    lrwxrwxrwx 1 username src 11 Apr 11 13:28 linux -> linux-2.6.5


    5) We are now going to apply a few patches to the linuxtv drivers before we go and build the actual kernel.


    Patch #1 (for fixing the Nexus-S/vdr recording problem):


    diff -urN dvb-kernel.org/linux/drivers/media/dvb/ttpci/av7110.c dvb-kernel/linux/drivers/media/dvb/ttpci/av7110.c
    --- dvb-kernel.org/linux/drivers/media/dvb/ttpci/av7110.c 2004-01-02 19:15:45.000000000 +0100
    +++ dvb-kernel/linux/drivers/media/dvb/ttpci/av7110.c 2004-01-04 22:55:12.000000000 +0100
    @@ -104,9 +104,9 @@
    static int av7110_debug = 0;


    static int vidmode=CVBS_RGB_OUT;
    -static int pids_off;
    +static int pids_off=0;
    static int adac=DVB_ADAC_TI;
    -static int hw_sections = 1;
    +static int hw_sections = 0;
    static int rgb_on = 0;


    int av7110_num = 0;



    Patch #2 (so the frontend driver does not go to sleep):


    edit the file: /usr/src/DVB/linux/drivers/media/dvb/dvb-core/dvb_frontend.c


    look for the line that says:


    static int dvb_shutdown_timeout = 1;


    change it to:


    static int dvb_shutdown_timeout = 0;


    Patch #3 (so the Remote Control has the correct permissions):


    --- av7110_ir.c.org Wed May 21 16:11:17 2003
    +++ av7110_ir.c Fri Oct 10 21:07:49 2003
    @@ -185,7 +185,7 @@ int __init av7110_ir_init (void)
    av7110_setup_irc_config (NULL, 0x0001);
    av7110_register_irc_handler (av7110_emit_key);


    - e = create_proc_entry ("av7110_ir", S_IFREG | S_IRUGO | S_IWUSR, NULL);
    + e = create_proc_entry ("av7110_ir", S_IFREG | S_IRUGO | S_IWUGO, NULL);


    if (e) {
    e->write_proc = av7110_ir_write_proc;


    Patch #4 (so the driver defaults to NTSC instead of PAL):


    edit the file: /usr/src/DVB/linux/drivers/media/dvb/ttpci/av7110_av.c


    look for the line that says:


    av7110->vidmode = VIDEO_MODE_PAL;


    change it to:


    av7110->vidmode = VIDEO_MODE_NTSC;


    6) Now we are going to build the tool that builds the firmware for the Nexus-S.


    cd /usr/src/DVB/scripts
    gcc -Wall ttpci-firmware.c -o ttpci-firmware


    7) Build the patched root firmware with the ttpci-firmware program.


    cd /usr/src/DVB/scripts
    wget Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.
    gunzip Root-patched-031110.gz
    ./ttpci-firmware Dpram Root-patched-031110 01


    Note: If you are wondering where to get the "Dpram" file, it can be found in the
    file: Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.


    Download the linuxtv-dvb-1.0.1 file and copy the Dpram file out of it into /usr/src/DVB/scripts before
    you run the command to build the patched root firmware file.


    After you run the command above, you should have built a file called "dvb-ttpci-01.fw".
    Copy dvb-ttpci-01.fw to /usr/lib/hotplug/firmware/dvb-ttpci-01.fw (this is the default location the
    2.6.x kernel looks for it during the kernel compilation).


    You are now ready to build your 2.6.x kernel with the appropriate linuxtv drivers. When you build the kerenel,
    build all the dvb related drivers into the kernel (*), not as modules (M). This will be alot easier in the long run
    because now we will not have to worry about editing the modprobe.conf and passing all the necessary parameters.
    The DVB drivers also require I2C-DEV, Bit-Banging, ENVDEV, and DVB-DEV to be built in the kernel for support.


    9) In order to get the Nexus-S remote control to work, you will need to get this file:


    cd /usr/src
    wget Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.
    tar -jxf linuxtv-dvb-apps-1.1.0.tar.bz2
    cd /usr/src/linuxtv-dvb-apps-1.1.0/util/av7110_loadkeys
    make av7110_loadkeys
    ./av7110_loadkeys hauppauge.rc5 > /proc/av7110_ir


    Note: when you build VDR, add the remote-0.2.1 plugin and you are set.


    --Cym

  • По идее всё правильно. Описание шаг за шагом установки дров DVB для ядра 2.6.5 на Debian/Sid. У меня никаких претензий нет....
    Я правда всё ещё предпочитаю 2.4, но насколько я знаю ЖуЖА 9.1 уже работает с 2.6 ядром из коробки

  • Все заработало, после танцев с бубном,
    но появилось несколько вопросов:


    1. Необходимы-ли Patch'и #1, #2 и #3 ?
    2. В конце пункта 7) написано, что надо компилировать ядро Linux'а. А как компилировать DVB-дрова ? Или это произойдет автоматически при компиляции ядра Линукса ?

  • Я с 2.6 ещо не разбирался. Поетому основываюсь на опыте с 2.4. Там всё не так сложно было и накручено
    Точка отправления откомпилированное ядро с включенными модулями как написано у Сандманна ( перевод здесь на форуме в отделе доку).
    Берем дрова например от 08-11-2003
    Берем патченный Root и подменяем его в родной директории
    Компилируем дрова и устанавливаем
    Переходим в VDR и ставим 2 патча из исходников sc. И собираем vdr & plugins не забыв в опциях сказать какие кодировки должны поддерживатся. Расставляем всё по местам и запускаем vdr -Psc. Усё...

  • По ядру 2.4 вопросов нет.
    Все правильно, как ты сказал.


    Но в SuSE 9.1 чуть по другому - пункты 6 и 7.


    У меня все заработало, вопросы только в том,
    что насколько важны эти патчи:
    Patch #1 (for fixing the Nexus-S/vdr recording problem)
    Patch #2 (so the frontend driver does not go to sleep)
    Patch #3 (so the Remote Control has the correct permissions)


    Действительно-ли возникают проблемы ?


    Я их не делал и у меня пока все ОК.
    Может кто пробовал SuSE 9.1 с этими патчами и VDR 1.3.6 ?

  • Цитата

    По словам пользователя Grischenkow ...
    Patch #2 (so the frontend driver does not go to sleep)



    Насколько я знаю, етот патч важен для систем с двумя и больше DVB-картами.
    Дело в том, что второстепенные карты отключаются, если им какое-то время занятия нет. И, как результат, при записи с таймера, VDR карту 'разбудить' не может, и DVB-драйвер вместе с VDR перезапускаются. Довольно неприятное явление, конечно.
    Правда я читал, что етот патч не всегда помогает...