Автор Тема: LIRC и Aver  (Прочитано 1671 раз)

sivakvale

  • Гость
LIRC и Aver
« : 14.03.2010 12:15:01 »
Уже 4 день не могу настроить LIRC под ALTlinux 4.1 Desktop.
1)Приемник находится на /dev/input/event7
[root@SAPPHIRE ~]# dmesg |grep input
input: Macintosh mouse button emulation as /devices/virtual/input/input0
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
input: PC Speaker as /devices/platform/pcspkr/input/input2
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input5
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input6
input: saa7134 IR (AverMedia AverTV St as /devices/pci0000:00/0000:00:0b.0/input/input7
2)Создаем конфиг с кнопками
irrecord -H dev/input -d /dev/input/event7 /etc/lircd.conf3)Подправляем файл /etc/sysconfig/lirc
    # Note: in addition to these parameters, you need to have working -*- sh -*-
    # configuration file for lircd (and lircmd if enabled).
    # Options to lircd(8). Typically, at least a remote controller driver
    # ("-H foo") needs to be specified here. Run "/usr/sbin/lircd -H help" to get
    # a listing of supported drivers.
    LIRCD_OPTIONS="-H dev/input -d /dev/input/event7"
    # If "yes", the init script will try to start lircmd(8) too.
    ENABLE_LIRCMD="no"
    # Options to lircmd(8).
    LIRCMD_OPTIONS=""
4)Запускаем lircd (/etc/rc.d/init.d/lircd start)
[root@SAPPHIRE ~]# /etc/rc.d/init.d/lircd start
Starting Infrared Remote Control:                                                [ DONE ]
Starting lircmd service:                                                         [ DONE ]
[root@SAPPHIRE ~]# /etc/rc.d/init.d/lircd status
lircd is stopped
lircmd is stopped
Пишет, что запущен, но при проверке статуса пишет, что он остановлен.
В чем причина? irw также не работает.

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 255
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Re: LIRC и Aver
« Ответ #1 : 14.03.2010 13:13:46 »
спросите в рассылке - там вроде rider настраивал себе lirc

sivakvale

  • Гость
Re: LIRC и Aver
« Ответ #2 : 20.03.2010 07:49:34 »
А есть что-нибудь, вроде, irkick'a только для gnome?