Bonjour,
J’ai acheté une télécommande ATI Remote Wonder II pour mon pc multimedia qui tourne sous debian testing.
J’ai installé Lirc, configuré les fichiers lircd.conf, lircrc, lircmd.conf et modifié le xorg.conf.
Tout fonctionne sans problème: vlc, totem, controle de la souris, ejection du cd, …
Seulement voila, lorsque je modifie le fichier lircrc et que je relance lirc pour prendre en compte les modifications (/etc/init.d/lirc restart) plus rien ne fonctionne excepté l’éjection du cd et le controle de la souris …
Pour info voici mes fichiers de config:
lircd.conf:
begin remote
name ATI_Remote_Wonder_II
bits 24
eps 30
aeps 100
one 0 0
zero 0 0
gap 203970
toggle_bit 0
begin codes
stop 0x000231
pause 0x000230
fforward 0x000228
rec 0x000237
rewind 0x000229
play 0x00022C
d 0x00027B
c 0x00027A
e 0x00027C
f 0x00027D
right 0x00025B
left 0x00025A
up 0x000258
down 0x000259
ok 0x00025C
info 0x0002F9
timer 0x000296
menu 0x000254
check 0x000282
0 0x000200
1 0x000201
2 0x000202
3 0x000203
4 0x000204
5 0x000205
6 0x000206
7 0x000207
8 0x000208
9 0x000209
volup 0x000210
voldown 0x000211
mute 0x00020D
chup 0x000220
chdown 0x000221
mouse_up 0x0001FF
mouse_down 0x0002FF
mouse_left 0x0020FF
mouse_right 0x0010FF
mouse_up_right 0x0011FF
mouse_down_right 0x0012FF
mouse_up_left 0x0021FF
mouse_down_left 0x0022FF
right_click 0x0002AA
left_click 0x0002A9
hand 0x0002D0
shrink_resize 0x0002D5
? 0x0002BE
dvd 0x000238
tv 0x000239
a 0x000278
b 0x000279
power 0x00020C
ATI 0x00028E
end codes
end remote
lircrc:
[code]begin
prog = irexec
button = ?
config = eject
config = eject -t
repeat = 0
end
#begin
#prog = irexec
#button = power
#config = /sbin/shutdown -h now
#repeat = 0
#end
begin
prog = irexec
button = timer
config = if [ $(ps -eo cmd | grep -c gshutdown$) -eq 0 ]; then (gshutdown &); fi
repeat = 1
end
begin
prog = irexec
button = tv
config = if [ $(ps -eo cmd | grep -c ^vlc) -eq 0 ]; then (vlc “http://mafreebox.freebox.fr/freeboxtv/playlist.m3u” &); fi
mode = vlc &
end
begin
prog = irexec
button = dvd
config = if [ $(ps -eo cmd | grep -c ^/home/k/XBMC/xbmc.bin) -eq 0 ]; then (/home/k/XBMC/xbmc.bin -q&); fi
end
begin
prog = irexec
button = 1
config = totem
repeat = 0
end
[/code]
Si quelqu’un a une idée je suis preneur, c’est un peu contraignant de devoir redémarrer le pc à chaque modif pour tester.
Merci d’avance