Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] lirc: irexec ignoriert repeat = 0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Sun May 20, 2007 12:44 pm    Post subject: [solved] lirc: irexec ignoriert repeat = 0 Reply with quote

Ich habe nach http://de.gentoo-wiki.com/LIRC_Linux_Infrared_Remote_Control und http://gentoo-wiki.com/HOWTO_LIRC lirc eingerichtet.
Soweit funktioniert alles, mit
Code:
irw
kann ich z.B. Folgendes sehen:
Code:
000000381e3f807f 00 one RC-ZAT04
000000381e3f807f 00 one RC-ZAT04
000000381e3f40bf 00 two RC-ZAT04
000000381e3f40bf 00 two RC-ZAT04
000000381e3fc03f 00 three RC-ZAT04
000000381e3fc03f 00 three RC-ZAT04
000000381e3f20df 00 four RC-ZAT04
000000381e3f20df 00 four RC-ZAT04
000000381e3fa05f 00 five RC-ZAT04
000000381e3fa05f 00 five RC-ZAT04
000000381e3f609f 00 six RC-ZAT04
000000381e3fe01f 00 seven RC-ZAT04
000000381e3f10ef 00 eight RC-ZAT04
000000381e3f906f 00 nine RC-ZAT04

Wie man sieht werden mit einem Tastendruck oft zwei Signale gesendet.
Normal soll man dieses Problem laut http://lirc.org/html/configure.html#lircrc_format dadurch umgehen können, dass man in die ~/.lircrc repeat = 0 einträgt.
Zu Testzwecken habe ich folgenden Eintrag erstellt:
Code:
begin
    button = pause
    repeat = 0
    prog = mplayer
    config = pause
end

Wenn ich irexec starte kann ich mit dieser Konfiguration den mplayer pausieren, nur darf ich dafür nur sehr kurz drücken, weil dieses repeat = 0 ignoriert wird, was zur Folge hat, dass wenn ich 'normal' drücke mplayer nur für einen Sekundenbruchteil stoppt.
Weiß jemand was hier schief läuft? Oder kann jemand mein Problem bestätigen?
_________________
gentoo - compile your own world


Last edited by 76062563 on Wed May 23, 2007 10:26 am; edited 1 time in total
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Mon May 21, 2007 5:51 pm    Post subject: Reply with quote

Auch mit der ~0.8.2_pre2 habe ich das selbe Problem.
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Mon May 21, 2007 5:55 pm    Post subject: Reply with quote

Hi,

in welchem Verzeichnis liegt die .lircrc? Ich musste meine in ~/.mplayer/ kopieren damit der MPlayer damit arbeiten wollte außerhalb des MythTV.

MfG. Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Mon May 21, 2007 5:58 pm    Post subject: Reply with quote

Sie liegt direkt im Homeverzeichnis.
Ich teste es mal mit deinem Vorschlag.

//edit

Wenn ich das mache erhalte ich ein
Code:
irexec: could not open config files /home/jonny/.lircrc and /etc/lircrc
irexec: No such file or directory

Auch wenn ich
Code:
/etc/lircrc
verwende habe ich das selbe Problem.
mplayer reagiert schon darauf wenn ich die Pausetaste drücke... Nur sendet meine Fernbedienung wie gesagt quasi immer zwei Signale und das hat zur Folge, dass die Pause nur für einen Sekundenbruchteil 'reingeht'.
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Wed May 23, 2007 10:30 am    Post subject: Reply with quote

Problem gelöst.
Die Konfiguration für meine Fernbedienung von der lirc-Seite war falsch. Der Programmierer von lirc hat mir gesagt, dass ich die Zeile "repeat 9043 4448" entfernen muss. Danach hat alles wie gewünscht funktioniert. Diese Information betrifft nur Leute die ebenfalls eine RC-ZAT04 Fernbedienung einsetzen wollen.
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum