| |||||
| Dernière réponse | |
|---|---|
| Sujet : installer et configurer lirc | |
| sly007 | Merci!! Il ne me reste plus qu'à automatiser tout ca et à revoir les fichiers de conf par défaut : ils ne ressemblent à rien... Ca devrait aller, quoi! |
| Aperçu |
|---|
| Vue Rapide de la discussion |
|---|
| sly007 | Merci!! Il ne me reste plus qu'à automatiser tout ca et à revoir les fichiers de conf par défaut : ils ne ressemblent à rien... Ca devrait aller, quoi! |
| Sagittarius | Normalement, ça marche très bien avec lirc 0.7 : http://lirc.sourceforge.net/softwa [...] e7.tar.bz2
Il suffit de: 1.- compiler le source 2.- charger le bon module, ici: lirc_gpio, par exemple dans /etc/modprobe.preload 3.- configurer /etc/lircd.conf 4.- lancer le démon lircd 5.- configurer ~/.lircrc, par exemple pour TVtime c'est celui-ci 6.- lancer irexec (qui fait partie des binaires issus de la compilation) |
| sly007 | Up... :) Je sais qu'il est long ce post... mais je pouvais pas troop faire autrement... :ange: Merci! :D |
| sly007 | :hello: Je suis en train d'essayer de configurer lirc pour ma coolcommand de chez leadtek, fournie avec ma winfast tv 2000 deluxe... 0 la compilation, aucun proble, il me demande meme le modele de carte tv et tout... je mets lirc_agpio comme le petit prog. me l'a dit au configure dans modprobe.preload, et je crée un fichier .lircd dans mon home qui contient les commandes par défaut pour ma télécommande, commandes que j'ai trouvées dans le readme de xawdecode (bref, tout est super documenté, cool que je me dis, parceque tout le monde disait configurer lirc = usine à gaz avec le 2.6)... ca donne ca
begin prog = irexec button = 1 config = xawdecode_cmd "setstation 0" end begin prog = irexec button = 2 config = xawdecode_cmd "setstation 1" end begin prog = irexec button = 3 config = xawdecode_cmd "setstation 2" end begin prog = irexec button = 4 config = xawdecode_cmd "setstation 3" end begin prog = irexec button = 5 config = xawdecode_cmd "setstation 4" end begin prog = irexec button = 6 config = xawdecode_cmd "setstation 5" end begin prog = irexec button = MUTE config = xawdecode_cmd "volume mute" end begin prog = irexec button = VOL_DOWN config = xawdecode_cmd "volume dec" repeat = 1 end begin prog = irexec button = VOL_UP config = xawdecode_cmd "volume inc" repeat = 1 end begin prog = irexec button = CH_UP config = xawdecode_cmd "setstation prev" end begin prog = irexec button = CH_DOWN config = xawdecode_cmd "setstation next" end begin prog = irexec button = FULLSCREEN config = xawdecode_cmd fullscreen end begin prog = irexec button = POWER config = xawdecode_cmd quit end begin prog = irexec button = DISPLAY config = xawdecode_cmd showtime end begin prog = irxevent button = VIDEO config = ctrl-d xawdecode end -------------------------------------------------------- Thanks to punky: carte: Winfast TV 2000XP (card=34) telecommande: RM-0010 -------------------------------------------------------- begin prog = irexec button = TV/FM repeat = 0 config = ( ps -C xawdecode && killall xawdecode || ( xawdecode & )) &> /dev/null mode = xawdecode flags = once end begin prog = irexec button = VOL_DOWN config = aumix -v-1 repeat = 1 end begin prog = irexec button = VOL_UP config = aumix -v+1 repeat = 1 end ... begin xawdecode begin prog = irexec button = POWER config = xawdecode_cmd "quit" flags = mode end begin prog = xawdecode button = 1 config = eventmap end begin prog = xawdecode button = 2 config = eventmap end begin prog = xawdecode button = 3 config = eventmap end begin prog = xawdecode button = 4 config = eventmap end begin prog = xawdecode button = 5 config = eventmap end begin prog = xawdecode button = 6 config = eventmap end begin prog = xawdecode button = MUTE config = eventmap end begin prog = xawdecode button = CH_UP config = eventmap end begin prog = xawdecode button = CH_DOWN config = eventmap end begin prog = xawdecode button = FULLSCREEN config = eventmap end end xawdecode et urpmi irexec donne rien, et je trouve rien dans google... Je mets aussi le /etc/lircd.conf begin remote name RM-0010 bits 16 flags SPACE_ENC|CONST_LENGTH eps 40 aeps 100 header 9000 4500 one 563 1687 zero 563 562 ptrail 563 repeat 9000 2250 pre_data_bits 16 pre_data 0xC03F gap 108000 toggle_bit 0 frequency 38000 duty_cycle 33 begin codes POWER 0x00000000000000FF TV/FM 0x00000000000040BF SCAN 0x000000000000A857 DISPLAY 0x0000000000006897 1 0x000000000000A05F 2 0x000000000000609F 3 0x000000000000E01F 4 0x000000000000906F 5 0x00000000000050AF 6 0x000000000000D02F 7 0x000000000000B04F 8 0x000000000000708F 9 0x000000000000F00F 0 0x00000000000048B7 RECALL 0x0000000000008877 ENTER 0x000000000000C837 CC 0x000000000000F807 MTS 0x000000000000D827 FINE_DOWN 0x0000000000009867 FINE_UP 0x00000000000018E7 VIDEO 0x0000000000007887 MUTE 0x00000000000028D7 CH_UP 0x00000000000030CF CH_DOWN 0x00000000000008F7 VOL_DOWN 0x00000000000010EF VOL_UP 0x00000000000020DF FULLSCREEN 0x000000000000C03F # The following are only supported by the remote control bundled with # the WinFast TV 2000 XP Deluxe card. SLEEP 0x00000000000002FD BOSS_KEY 0x000000000000926D RED 0x000000000000D22D GREEN 0x00000000000032CD YELLOW 0x000000000000B24D BLUE 0x000000000000728D PIP 0x00000000000052AD . 0x000000000000827D BACK 0x00000000000042BD PLAY 0x000000000000C23D NEXT 0x00000000000022DD TIMESHIFT 0x000000000000A25D STOP 0x000000000000629D REC 0x000000000000E21D SNAPSHOT 0x00000000000012ED # Only found on CoolCommand remote REPEAT 0x000000000000884B TELETEXT 0x000000000000F807 end codes end remote j'ajoute que j'ai bien un /dev/lircd mais c'est un tube??? ( me demandez pas ce que c'est, j'en sais fichtrement rien... ) Je tente le power de la telecommande, rien ne se passe! je lance xawdecode en console, et surprise [sylvain@localhost sylvain]$ xawdecode This is xawdecode 1.9.2 running on Linux/i686 (2.6.3-15mdk). scandir: No such file or directory No plugin found. WARNING: Your X-Server has no DGA support. WARNING: couldn't find framebuffer base address, try manual configuration ("xawdecode_v4l-conf -a <addr>" ) wmhooks: netwm detected wmhooks: netwm state above supported wmhooks: netwm fullscreen supported wmhooks: nothing found... VidMode: server=2.2, include=2.2 available video mode(s): 1024x768 832x624 800x600 640x480 Selected XvImage adaptor with YUY2 support: ATI Radeon Video Overlay on port 67 (grabdisplay) No XvVideo port available. x11: 1024x768, 32 bit/pixel, 4096 byte/scanline WARNING: video memory base unknown, may be caused by a problem with xawdecode_v4l-conf or a non-availability of DGA and frame buffer devices: CLASSICAL OVERLAY IS DISABLED ! *** GRABBER DEVICE TYPE = v4l2 /home/sylvain/.xawdecode/xawdecoderc:53: parse error /home/sylvain/.xawdecode/xawdecoderc:54: unknown tag prog /home/sylvain/.xawdecode/xawdecoderc:55: unknown tag button /home/sylvain/.xawdecode/xawdecoderc:56: unknown tag config /home/sylvain/.xawdecode/xawdecoderc:57: parse error /home/sylvain/.xawdecode/xawdecoderc:58: parse error /home/sylvain/.xawdecode/xawdecoderc:59: unknown tag prog /home/sylvain/.xawdecode/xawdecoderc:60: unknown tag button /home/sylvain/.xawdecode/xawdecoderc:61: unknown tag config /home/sylvain/.xawdecode/xawdecoderc:62: parse error /home/sylvain/.xawdecode/xawdecoderc:63: parse error et comme ca encore plein de lignes... Bref, je voudrais savoir s'il y a 1-des tutos en francais sur lirc 2-comment configurer mon bazar, genre c'est quoi l'erreur 3-comment piloter plusieurs softs avec la même telecommande? (ca a l'air possible, mais en angais...) Danke sehr schön!!!! :bounce: |




