Je n'arrive qu'a faire marcher les fonctions : play, stop, >> et << de Xmms mais rien avec d'autres applications!!
 
Je suis sous Gentoo, j'ai modifié le fichier ebuild de lirc avec les paramètres pour ma télécommande (C'est une pinnacle sur port serie)
 
 
 
-  J'ai compilé LIRC
-  copié le fichier lircd.conf.pctv dans /etc/lircd.conf
-  en root lancé lirc -n
Il m'affiche : lircd 0.7.0pre2: lircd(pctv) ready
#!/bin/bash
 
killall irexec
killall irxevent
/usr/bin/irexec > /dev/null 2>&1 &
/usr/bin/irxevent > /dev/null 2>&1 &
 
Il m'affiche :
lircd 0.7.0pre2: accepted new client on /dev/lircd
lircd 0.7.0pre2: accepted new client on /dev/lirc
 
-  je lance irw puis appui sur des touches de la telcommande:
0000000000000031 00 1 PinnacleSysPCTVRemote
0000000000000035 00 5 PinnacleSysPCTVRemote
0000000000000038 00 8 PinnacleSysPCTVRemote
0000000000000039 00 9 PinnacleSysPCTVRemote
000000000000002b 00 Info PinnacleSysPCTVRemote
000000000000001f 00 L PinnacleSysPCTVRemote
000000000000002e 00 Preview PinnacleSysPCTVRemote
000000000000002f 00 Power PinnacleSysPCTVRemote
000000000000003d 00 Vol-Rew PinnacleSysPCTVRemote
0000000000000016 00 undo PinnacleSysPCTVRemote
000000000000000e 00 Rewind PinnacleSysPCTVRemote
0000000000000029 00 F_TELETEXT PinnacleSysPCTVRemote
0000000000000018 00 EPG PinnacleSysPCTVRemote
0000000000000015 00 pause PinnacleSysPCTVRemote
000000000000003e 00 Chan-Stop PinnacleSysPCTVRemote
000000000000001a 00 middle PinnacleSysPCTVRemote
000000000000003f 00 Chan+Play PinnacleSysPCTVRemote
000000000000003f 00 Chan+Play PinnacleSysPCTVRemote
000000000000001a 00 middle PinnacleSysPCTVRemote
000000000000003b 00 Vol+FF PinnacleSysPCTVRemote
000000000000003f 00 Chan+Play PinnacleSysPCTVRemote
 
- quand je lance xawtv, il me dit : lircd 0.7.0pre2: accepted new client on /dev/lircd
mais ca marche pas!
J'ai testé plusieurs fichiers .lircrc mais ca marche pas...
exemple de fichier .lircrc
1er :
begin xawtv
 begin
  prog = irexec
  button = Power
  repeat = 0
  flags = mode
  config = xawtv-remote quit
 end
 begin
  prog = irexec
  button = Mute
  repeat = 0
  config = aumix -l m
 end
 begin
  prog = irexec
  button = channel-
  repeat = 0
  config = xawtv-remote setstation prev
 end
 begin
  prog = irexec
  button = channel+
  repeat = 0
  config = xawtv-remote setstation next
 end
 begin
  prog = irexec
  button = Fullscreen
  repeat = 0
  config = xawtv-remote fullscreen
 end
 begin
  prog = irexec
  button = 1
  repeat = 1
  config = xawtv-remote setstation 0
 end
 begin
  prog = irexec
  button = 2
  repeat = 1
  config = xawtv-remote setstation 1
 end
 begin
  prog = irexec
  button = 3
  repeat = 1
  config = xawtv-remote setstation 2
 end
 begin
  prog = irexec
  button = 4
  repeat = 1
  config = xawtv-remote setstation 3
 
 end
 begin
  prog = irexec
  button = 5
  repeat = 1
  config = xawtv-remote setstation 4
 end
 begin
  prog = irexec
  button = 6
  repeat = 1
  config = xawtv-remote setstation 5
 end
 begin
  prog = irexec
  button = 7
  repeat = 1
  config = xawtv-remote setstation 6
 end
 begin
  prog = irexec
  button = 8
  repeat = 1
  config = xawtv-remote setstation 7
 end
 begin
  prog = irexec
  button = 9
  repeat = 1
  config = xawtv-remote setstation 8
 end
 begin
  prog = irexec
  button = vol-
  repeat = 1
  config = aumix -l-2
 end
 begin
  prog = irexec
  button = vol+
  repeat = 1
  config = aumix -l+2
 end
end xawtv
 
2 eme :
begin
prog = irexec
button = F_RADIO
config = xmms &
mode = xmms
end
 
begin
prog = irexec
button = F_TV
config = xawtv >/dev/null&
mode = xawtv
flags= once
end
 
begin xmms
 
begin
prog = xmms
button = Play
config = PLAY
end
 
begin
prog = xmms
button = Stop
config = STOP
end
 
begin
prog = xmms
button = FForward
config = NEXT
end
 
begin
prog = xmms
button = Rewind
config = PREV
end
 
begin
prog = irexec
button = vol+
config = VOL_UP [5]
repeat = 1
end
 
begin
prog = irexec
button = vol-
config = VOL_DOWN [5]
repeat = 1
end
 
end xmms
 
begin xawtv
 
begin
prog = irxevent
button = VOL-
config = Key KP_Subtract xawtv
end
         
begin
prog = irxevent
button = vol+
config = Key KP_Add xawtv
end
 
begin
prog = irxevent
button = channel+
config = Key Page_Up xawtv
end
 
begin
prog = irxevent
button = channel-
config = Key Page_Down xawtv
end
 
begin
prog = irxevent
button = 1
config = Key KP_1 xawtv
end
 
begin
prog = irxevent
button = 2
config = Key KP_2 xawtv
end
 
begin
prog = irxevent
button = 3
config = Key KP_3 xawtv
end
 
begin
prog = irxevent
button = 4
config = Key KP_4 xawtv
end
 
begin
prog = irxevent
button = 5
config = Key KP_5 xawtv
end
 
begin
prog = irxevent
button = 6
config = Key KP_6 xawtv
end
 
begin
prog = irxevent
button = 7
config = Key KP_7 xawtv
end
 
begin
prog = irxevent
button = 8
config = Key KP_8 xawtv
end
 
begin
prog = irxevent
button = 9
config = Key KP_9 xawtv
end
 
begin
prog = irxevent
button = Mute
config = Key A xawtv
end
 
end xawtv
 
Message édité par jyp le 01-02-2004 à 14:31:04
 ---------------
			
Jyp