Поиск по этому блогу

вторник, 18 января 2011 г.

Lirc для VDR в Gentoo

Для того, чтобы VDR работал с lirc, нужно:

1. Собрать lirc с поддержкой devinput
#grep LIRC /etc/make.conf
LIRC_DEVICES="devinput"

2. Настроить /etc/X11/xorg.conf так, чтобы устройство пульта не определялось, как клавиатура

Находим имя, под которым система видит устройство
#cat /proc/bus/input/devices | grep Name
N: Name="Power Button"
N: Name="Power Button"
N: Name="AT Translated Set 2 keyboard"
N: Name="A4Tech USB Mouse"
N: Name="PC Speaker"
N: Name="cx88 IR (TeVii S460 DVB-S/S2)"

Добавляем новую секцию в /etc/X11/xorg.conf
...
Section "InputClass"
    Identifier "lirc-all"
    Driver "evdev"
    MatchProduct "cx88 IR (TeVii S460 DVB-S/S2)"
    Option "Ignore" "on"
EndSection
...

3. Убедиться, что vdr запускается без vdr-remote
#eselect vdr-plugin list
Available VDR plugins:
  [1]   femon *
  [2]   menuorg *
  [3]   remote
  [4]   sc *
  [5]   streamdev-client
  [6]   streamdev-server
  [7]   xine *

Комментариев нет: