iMON !!!

  • Есть такой пульт и дисплей (vfd) с IR на одной платке ... все подключается к usb - не к ком ....


    Вопрос: С чем его едят?


    на каком он контроллере?


    - конфигурация LCDd. conf
    - lirс конфигурация
    .... и т.д.


    Кто имел с ним дело ... поделитесь опытом.




    @ free-x
    - Не надо закрывать тему! Она не о том, как делать start-stop скрипт, симлинк в /etc/rc2.d ... и т.д.


    p.s. .... " хорошо бы начать изучение китайской поэзии, не зная китайского языка, да еще сразу в иероглифах ...."

  • и почему я не должен этого делать? Есть тема ... в ней черным по белому что с LIRC 0.8pre работает ... LCDPROC надо пропатчить с imon заплаткой ...
    Сколько надо ещё тем открыть?

  • для закрытия темы не хватает, как минимум, ссылок на lirc 0.8 pre и заплатку ( если есть уверенность, что они рабоают ..)


    у меня не работает .... вот и пишу сюда ... хотелось бы разобраться почему ... а так все нормально.

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем Qpsk ().

  • LIRC


    LCDPROC
    Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.



    можно закрывать?

  • вот такие пироги


    Mar 28 18:07:18 arvdr LCDd: imon: error opening /dev/lcd0 (No such file or directory)
    Mar 28 18:07:18 arvdr LCDd: Driver load failed, return code < 0
    Mar 28 18:07:18 arvdr LCDd: Could not load driver imon
    Mar 28 18:07:18 arvdr LCDd: There is no output driver
    Mar 28 18:07:18 arvdr LCDd: Critical error: main.c:238, abort

  • раскидай всё это по местам и создай lirc_imon.ko с lirc-oм,
    должно всё пойти.

    Файлы

    • usr.rar

      (82.05 kB, скачали 29 раз, последнее скачивание: )
  • Цитата

    Со слов пользователя ge-nka
    создай lirc_imon.ko с lirc-oм,
    должно всё пойти.



    поясни

  • Цитата

    Со слов пользователя Qpsk



    поясни


    значит так объесняю подробно ,


    Для того что-бы работал imon-vfd и imon-пульт нам нужен driver lirc_imon.ko oт lirc-a ,он является драйвером
    как для пульта так и для дисплэя.
    Для того что-бы получить этот драйвер нам нужен lirc-ХХХ.ХХ + kernel-source чтобы lirc перевести,соответствено
    всё в системе что связано с lirc надо изменить на lirc_imon.
    Как переводить lirc для получения нового трайбера я описывал Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.,эта инструкция годна только если ты остаёсщьа при
    старом 2.6.11.12 кернеле, если ты делаешь другой кернель то надо ещё изменить /boot/grub/menu.list иначе линукс стартует со старым кернелем а модуле находит для другого кернеля.(у меня щас 2.6.15.4 сделал сразу когда imon настраивал и lirc-0.8.0pre3 другие lirc version не хотели с новым кернелем компиливаться)
    Теперь если lirc_imon.ko готов и пульт настроин и работает ,
    переходим к дисплэю .


    apt-get install LCDproc


    теперь заменяем то что получилось на то что я выше подвесил.(кстати это патч от linvdr так-что пфады отличаются у меня на арвдр /usr/local/bin там лежат lcdproc lcdmetar.pl lcdheadlines /usr/local/sbin лежит LCDd)


    Для проверки что LCDproc работает задаём в конзоле :


    LCDd


    Display должен загоретьса итам ченибудь стоять.


    после подстаиваем скрипты что-бы LCDd перед VDR стартовал.(смотри куда тебя freex послал)


    Всё. 8o

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем ge-nka ().

  • переименовать не забыть.
    только работать скорее всего всё-равно не будет lirc version должна подходить.


    imon 2.6.11.12

    Файлы

    • imon_vfd.ko.txt

      (12.49 kB, скачали 17 раз, последнее скачивание: )

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем ge-nka ().

  • и чего ему не хватает?


    arvdr:~# cd /usr/src/lirc-0.8.0
    arvdr:/usr/src/lirc-0.8.0# ./configure --with-driver=imon
    loading cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for mawk... mawk
    checking whether make sets ${MAKE}... no
    checking for gcc... gcc
    checking whether the C compiler (gcc -O2 -g -Wall ) works... yes
    checking whether the C compiler (gcc -O2 -g -Wall ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for style of include used by make... none
    checking dependency style of gcc... none
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether make sets ${MAKE}... (cached) no
    checking for mknod... /bin/mknod
    checking for mkfifo... /usr/bin/mkfifo
    checking for depmod... /sbin/depmod
    checking for libusb-config... no
    checking whether ln -s works... yes
    checking for Cygwin environment... no
    checking for mingw32 environment... no
    checking how to run the C preprocessor... gcc -E
    checking host system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking for a sed that does not truncate output... /bin/sed
    checking how to recognise dependent libraries... pass_all
    checking for object suffix... o
    checking for executable suffix... no
    checking command to parse /usr/bin/nm -B output... ok
    checking for dlfcn.h... yes
    checking for ranlib... ranlib
    checking for strip... strip
    checking for objdir... .libs
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.lo... yes
    checking if gcc supports -fno-rtti -fno-exceptions... yes
    checking whether the linker (/usr/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking whether -lc should be explicitly linked in... no
    creating libtool
    checking for ANSI C header files... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for fcntl.h... yes
    checking for limits.h... yes
    checking for sys/ioctl.h... yes
    checking for sys/time.h... yes
    checking for syslog.h... yes
    checking for unistd.h... yes
    checking for working const... yes
    checking for inline... inline
    checking for off_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking return type of signal handlers... void
    checking for vprintf... yes
    checking for gethostname... yes
    checking for gettimeofday... yes
    checking for mkfifo... yes
    checking for select... yes
    checking for socket... yes
    checking for strdup... yes
    checking for strerror... yes
    checking for strtoul... yes
    checking for snprintf... yes
    checking for strsep... yes
    checking for vsyslog... yes
    checking for daemon... yes
    checking for forkpty... no
    checking for forkpty in -lutil... yes
    checking for vga.h... no
    checking for X... no
    checking for getopt_long... yes
    checking for mktemp... yes
    checking for Linux kernel sources... missing
    checking for which drivers can be installed on this system...
    checking for caraca_init in -lcaraca_client... no
    checking for ir_strerror in -lirman... no
    checking for ir_strerror in -lirman_sw... no
    checking for portaudio.h... no
    checking for alsa/asoundlib.h... no
    checking for scsi/sg.h... yes
    checking for linux/input.h... yes
    checking for sys/soundcard.h... yes
    configure: error: *** you need to have the Linux kernel source installed
    for this driver