Vous n'êtes pas identifié(e).
Bonjour a tous.
J'ai quelque souci pour ajuster la configuration de lirc. Tous le système lirc fonction puisque je parvient a piloter vlc avec ma télécommande.
Mon système est constitué d'un télécommande iMon, et le récepteur ifra-rouge est intégré a mon boitier thermaltake. Je suis sur une distribution mythbuntu et les fichier sont automatiquement générer.
Mon Problème:
Lorsque je suis sous mythfrontend, la télécommande réagi bizarrement. Exemple:
Le déplacement gauche/droite/haut/bas, se fait en plusieurs coup après une seul pression sur le bouton. Le bouton entré est semble-t-il exécuté plusieurs alors que je ne fait qu'une pression sur le bouton, comme s'il était trop sensible. Se problème ne semble pas exister lorsque j'utilise VLC.
Voici le fichier lirc mythtv :
# LIRCRC Auto Generated by Mythbuntu Lirc Generator
# Author(s): Mario Limonciello, Nick Fox, John Baab
# Created for use with Mythbuntu
begin
remote = iMON-PAD
prog = mythtv
button = Record
config = R
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Play
config = P
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Rewind
config = <
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Pause
config = P
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = FastForward
config = >
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Stop
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Esc
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = AppLauncher
config = S
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = TaskSwitcher
config = I
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Mute
config = |
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Vol+
config = ]
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Vol-
config = [
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Ch+
config = Up
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Ch-
config = Down
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 1
config = 1
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 2
config = 2
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 3
config = 3
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 4
config = 4
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 5
config = 5
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 6
config = 6
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 7
config = 7
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 8
config = 8
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 9
config = 9
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 0
config = 0
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = FullScreen
config = F
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Menu
config = M
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Menu
config = M
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = SelectSpace
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Enter
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Backspace
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Up
config = Up
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Left
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Down
config = Down
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Right
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 1
config = 1
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 2
config = 2
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 3
config = 3
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 4
config = 4
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 5
config = 5
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 6
config = 6
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 7
config = 7
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 8
config = 8
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 9
config = 9
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 0
config = 0
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Hash
config = D
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Backspace
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Select
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = LeftMenu
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = RightMenu
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Enter
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Escape
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = LeftClick
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = RightClick
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Up
config = Up
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Down
config = Down
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Left
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Right
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = LeftClick
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = RightClick
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Record
config = R
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Play
config = P
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Rewind
config = <
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Pause
config = P
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = FastForward
config = >
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Stop
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Esc
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = AppLauncher
config = S
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = TaskSwitcher
config = I
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Mute
config = |
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Vol+
config = ]
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Vol-
config = [
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Ch+
config = Up
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Ch-
config = Down
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 1
config = 1
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 2
config = 2
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 3
config = 3
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 4
config = 4
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 5
config = 5
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 6
config = 6
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 7
config = 7
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 8
config = 8
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 9
config = 9
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 0
config = 0
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = FullScreen
config = F
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Menu
config = M
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = SelectSpace
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Enter
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Backspace
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Up
config = Up
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Left
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Down
config = Down
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Right
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 1
config = 1
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 2
config = 2
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 3
config = 3
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 4
config = 4
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 5
config = 5
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 6
config = 6
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 7
config = 7
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 8
config = 8
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 9
config = 9
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = 0
config = 0
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Hash
config = D
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Backspace
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Select
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = LeftMenu
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = RightMenu
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Enter
config = Return
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Escape
config = Escape
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = LeftClick
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = RightClick
config = Right
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Up
config = Up
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Down
config = Down
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Left
config = Left
repeat = 0
delay = 0
end
begin
remote = iMON-PAD
prog = mythtv
button = Right
config = Right
repeat = 0
delay = 0
end
Merci à tous ceux qui prendrons le temps de me lire et de me conseiller dans la résolution de se problème.
Hors ligne
C'est un phénomène bien connu, en fait ton fichier de configuration n'est pas bon ou plutôt les premiers paramètres de ce fichier qui définissent la durée de l'appui de la touche de ta télécommande pour prendre en compte ta commande. Si ce paramètre est réglé trop bas un appui correspond à l'envoi de plusieurs fois le code.
Cherche un autre fichier de configuration avec un entête différent (à moins que quelqu'un puisse te le fournir) sinon tu peux essayer de modifier ton fichier de la façon suivante
begin
remote = iMON-PAD
prog = mythtv
button = Record
config = R
repeat = 3
delay = 0
end
ou jouer sur le delai. Mais ce n'est pas franchement la bonne solution
Hors ligne
Salut j'avait déjà tenté de modifier le repeat et le delay comme ceci :
begin
remote = iMON-PAD
prog = mythtv
button = Record
config = R
repeat = 5
delay = 10
end
et ça n'avait rien changé sur le comportement des boutons dans mytvtv.
Cherche un autre fichier de configuration avec un entête différent ...
De quel fichier s'agit-il ? Peut-être est-ce celui-ci :
/usr/share/lirc/remotes/imon/lircd.conf.imon
Il me semble que c'est ce champ que je doit modifier :
repeat 8875 2125
Ou je peut trouver de la doc pour savoir comment le modifier ? Je vais essayer de trouver des exemple sur le net...
Hors ligne
As-tu consulter ça ? http://www.mythtv.org/wiki/Imon
C'est bien le fichier /etc/lircd.conf donc je parle.
La doc est sur le site de lirc mais c'est un vrai défi de trouver les bons paramétres
Hors ligne
quand tu fais un test avec irw, ça donne quoi ? un envoi ou plusieurs envois du code ?
et refait un test avec VLC pour voir si le problème existe aussi ou pas
Dernière modification par gilles74 (04/10/2010 18:39:46)
Hors ligne
Bon j'ai fait un test :
- Si mythtv est lancer et actif, une pression sur un bouton me renvoi 2 fois le code.
- Si je suis le bureau (mythtv fermé) une pression sur un bouton me renvoi 1 fois le code.
- Si je suis VLC, une pression sur le sur un bouton me renvoi 1 fois le code.
Toutefois, sous VLC le code est plus [q]sensible[/q] que sous le bureau. Je pense donc que je doit agir sur les fichiers contenant ces paramètres :
begin
remote = iMON-PAD
prog = mythtv
button = Record
config = R
repeat = 5
delay = 10
end
Vos avis ?
Dernière modification par natrio (06/10/2010 21:54:22)
Hors ligne
essaye d'enlever repeat et delay pour voir
Hors ligne
Interressant. En supprimant les delay et les repeat, lorsque mythtv est lancé, irw ne me renvoi qu'un code. En revenche le problème persiste dans mythtv... (par exemple je déplace mon curseur up, ==> un code, mais il passe par 4 menu d'un coup...)
Perso je suis perdu...
Dernière modification par natrio (06/10/2010 23:03:15)
Hors ligne
Essaye avec repeat=3 (le nombre de menu sauté d'un coup) juste pour les touches de direction et regarde si tu as la même chose sur les chiffres
Hors ligne
Hors ligne
Bon alors, j'ai ajouté repeat = 3 comme tu me l'a suggéré. Aucun changement.
En suite j'ai refait un fichier lircd.conf avec irrecord. Et la il y a des évolutions que je ne sait pas bien interpréter.
Voici l'entête du fichier lircd.conf, avnt et après mofication :
Fichier avant modification, (celui généré automatiquement par mythbuntu):
name iMON-PAD
bits 32
eps 30
aeps 100one 0 0
zero 0 0
gap 235965
min_repeat 1
toggle_bit 0
Celui que me génère irrecord
name iMON-PAD
bits 64
eps 30
aeps 100one 0 0
zero 0 0
gap 95995
toggle_bit_mask 0x400000000000
Visiblement en modifiant toggle_bit_mask 0x400000000000 j'arrive à jouer sur se phénomène trop rapide : je l'accélère et c'est pire.
En cherchant sur le net des infos a propos de ce paramètre, j'ai fait des modifs sans trop savoir se que je faisait. Quelqu soit la valeur du paramètre c'est plus rapide. Le minimum est obtenu avec :
toggle_bit_mask 0
Hors ligne
Ce qui me gène dans ton histoire, c'est que irw fonctionne correctement sans double envoi de la commande. Pour moi, ton fichier de configuration lircd est bon mais peut être améliorable. Je reviens sur cette info que tu nous as donnée
Bon j'ai fait un test :
- Si mythtv est lancer et actif, une pression sur un bouton me renvoi 2 fois le code.
- Si je suis le bureau (mythtv fermé) une pression sur un bouton me renvoi 1 fois le code.
- Si je suis VLC, une pression sur le sur un bouton me renvoi 1 fois le code.
comment mythtv peut-il générer un code ? mythtv ne renvoie des codes que si on lui demande avec l'emploi d'un script externe (pour par exemple piloter un décodeur Canal+)
Eureka, je crois que je viens de trouver: purge ton fichier lircrc, tu as par exemple 4 fois la programmation pour la touche "left" donc il fait 4 sauts ==> ça semble logique
Hors ligne
Impressionnant!
You're wright!!
J'ai donc supprimer les fichier contenant les description des boutons (dans le dossier ~/.lirc/) dans mythbuntu. Puis je les ré-gérés. Et sa marche impeccablement maintenant.
Je ne sait pas comment j'en suis arrivé la, avoir plusieurs définition des boutons dans ce fichier.
En tout cas mille merci et tous! Et gloire à gilles74 :lol:
Hors ligne