PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : LIRC aber wie?



shb
12.06.04, 20:04
hi all,
ich versuche hier gerade lirc verzeifelt zulaufen zu kriegen, kennt sich damit jemand aus?
ich hab schon rum gesucht und tümmle mich auf der lirc.org homepage.

ich weiß das der irda empfänger und die fernbedinung mal gingen, das sollten sie auch noch ;). wie kann ich testen ob das ding noch richtig funzt welche module muss ich laden? irda umd irda_i2c hab ich schon geladen. ich habe den standart kernel (2.6.3) von mandrake 10

könnt ihr mir noch tips geben?

thx

cu SHB

jonasge
12.06.04, 21:11
Naja als erstes müssen wir wissen, welche Hardware du verwendest!


Hier findest du ne Anleitung mit LIRC und seriellen Empfänger.
http://www.linuxnetmag.com/de/issue6/m6lirc1.html

Wenn du Kernel 2.6.X hast, brauchst du einen Patch für den Kernel, denn da kannst du nicht die Treiber benutzten, die im LIRC Packet sind.
EIne einfache google.de suche gab mir folgende Seite für lirc 2.6.X patche:
http://flameeyes.web.ctonet.it/downloads.html


Gruß
Jonas
P.S meine Glaskugel geht gerade nicht :D

`kk
12.06.04, 22:03
Nur als kleiner Hinweis:
In seiner Signatur steht seine Hardware.

MfG

jonasge
12.06.04, 22:46
Nur als kleiner Hinweis:
In seiner Signatur steht seine Hardware.

MfG
LOL aber nicht was dein infraRot Empfänger is!!!

shb
12.06.04, 23:05
danke für die schnellen antworten.
also das ist ein seriel infrarot empfänger der bei einer pinnacle tvkarte bei gelegt war. und die fernbedinung ist auch von pinnacle.

also mit dem patch finde ich nicht so toll da in der kiste ein haufen drin ist. auf der homepage von lirc steht auch das ich mit der cvs version auch gehen (ohne! patch). ich hab mir das ding von cvs server geholt.
mein erstes prob ist beim ./configure dort werde ich nach den treibern gefragt. nehme ich die serial treiber oder eine von der auswahl bei den tv karten?
bei ./configutre und make kommt folgendes:



setup.sh written by Karsten Scheibler, 1999-JUN-28

If you have problems or questions please consult the mailing list
<http://lists.sourceforge.net/mailman/listinfo/lirc-list>

Configuration: .setup.config, executable shell script: configure.sh
Starting the generated shell script which will call configure with the right
parameters...
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... m(cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for mknod... (cached) /bin/mknod
checking for mkfifo... (cached) /usr/bin/mkfifo
checking for depmod... (cached) /sbin/depmod
checking whether ln -s works... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /bin/sed
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) 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... (cached) no
creating libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for gethostname... (cached) yes
checking for gettimeofday... (cached) yes
checking for mkfifo... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strtoul... (cached) yes
checking for snprintf... (cached) yes
checking for strsep... (cached) yes
checking for vsyslog... (cached) yes
checking for daemon... (cached) yes
checking for forkpty... (cached) no
checking for forkpty in -lutil... (cached) yes
checking for vga.h... (cached) no
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for getopt_long... (cached) yes
checking for mktemp... (cached) yes
checking for Linux kernel sources... (cached) /usr/src/linux/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... (cached) no
checking for ir_strerror in -lirman... (cached) no
checking for ir_strerror in -lirman_sw... (cached) no
checking for portaudio.h... (cached) no
checking for alsa/asoundlib.h... (cached) yes
checking for snd_pcm_open in -lasound... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
sed: can't read ./Makefile.in: No such file or directory
creating drivers/Makefile
creating drivers/lirc_serial/Makefile
creating drivers/lirc_sir/Makefile
creating drivers/lirc_parallel/Makefile
creating drivers/lirc_i2c/Makefile
creating drivers/lirc_gpio/Makefile
creating drivers/lirc_dev/Makefile
creating drivers/lirc_it87/Makefile
creating drivers/lirc_bt829/Makefile
creating drivers/lirc_atiusb/Makefile
creating drivers/lirc_mceusb/Makefile
creating daemons/Makefile
creating tools/Makefile
creating doc/Makefile
creating doc/man/Makefile
creating config.h
config.h is unchanged

You will have to use the lirc_serial kernel module.

Now enter 'make' and 'make install' to compile and install the package.

[root@stefan lirc]# make
make: *** Keine Targets. Schluss.


warum geht das make nicht?

ach ja ich hab auch noch die rpms von mandrake installiert aber das lirc.conf file ist nicht dam und wie gesagt würde ich auch gern testen ob mein irda überhaupt geht und was mir auch noch einfällt ich habe kein /dev/lirc durch was kriege ich das? durch die installation von lirc oder?
ich hoffe die infos reichten, damit ihr mir helfen könnt.

thx

cu SHB

jonasge
13.06.04, 11:00
Naja auf http://www.lirc.org/cvs.html
steht wie du die CVS installieren musst, das geht ein bisschen anderes:

cd lirc
./autogen.sh
./setup.sh
make



Versuche das mal.

Gruß
Jonas