Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
"irw" bleibt still
#1
Hallo,

ich bin vor ein paar Tagen von Gentoo auf easyvdr als VDR Distribution umgestiegen, weil mich die ewige compiliererei unter Gentoo ein wenig gestört hat Wink
Jedenfalls habe ich folgendes Problem: Ich benutze eine TT2300 und die mitgelieferte Fernbedienung.
Da bereits unter Gentoo die FB teilweise aussetzte oder nicht erkannt wurde (die Buchse liegt beinahe unter dem Slotblech und somit sitzt der Stecker sehr sehr locker), dachte ich zunächst, dass das das Problem sei. Daher kaufte ich mir auf ebay einen seriellen IR Empfänger (der extra als LIRC-Kompatibel ausgepriesen wurde) um o.g. Möglichkeit auszuschließen.

Trotz einer frischen Installation von easyvdr und dem seriellen Empfänger bekomme ich keine Ausgabe von "irw". Selbst wenn ich die normalen FBs für meinen Fernseher usw. probiere (die ja eigentlich auch ein output liefern sollten, richtig?).

Hier noch ein paar Logs:

"dmesg | grep lirc":
lirc_dev: IR Remote Control driver registered, at major 61
lirc_serial: auto-detected active low receiver
lirc_dev: lirc_register_plugin: sample_rate: 0

Grüße,
Vrob
VDR:
easyVDR 0.4
Athlon XP 1.2 Ghz
Asus A7V133
512 MB RAM
TT2300 modded
Zitieren
#2
Hi Vrob,

Ich kann mich irren, aber irw funktioniert imho nur wenn die FB auch angelernt wurde.

Gruss,
Matt
Main: easyvdr 3.5.0, Kodi: 18.0
POV ION 330-1, 2 GB RAM, Skystar HD2, SATA Samsung DVD, Boot-HD:SSD SanDisk Ultra + 128 GB, Video HD: SATA Samsung 1TB, Atric Rev.4 Einschalter, OfA URC7940
FE: VDR-SXFE Local, Ausgabe: Nvidia On-Board, HDMI, HD 1920x1080p, 50 Hz, ACER G276HL ABid
Zitieren
#3
hallo,


schick doch mal den link für den ir von ebay....

hast du die lircd.conf und die remote.conf für deine fb schon ins system kopiert ??
was sagt er denn wenn du irrecord eingibst


gruss


tycoon96
Zitieren
#4
Hallo,
irw geht nur, wenn der VDR nicht auf den lirc zugreift.
Also in der Konsole "stopvdr" eingeben und dann den entsprechenden lirc wieder starten.
"lirc_on_com1" oder "lirc_on_com2" dann sollte irw auch gehen.
ausserdem hat noclue recht. irw gibt nur wieder, was anhand der lircd.conf bereits angelernt ist.
wenn du eine  neue lircd.conf erstellen möchtest, heisst das tool "irrecord".

Gruß Uwe
Distrie:                easyVDR 0.9.10 VDR-Version:1.7.0
Hardware:            Athlon64 x2 4050 be passiv gekühlt
                          ECS GF8200A
                          passives 400W NT
Root-HD:              80 GB 2,5" Sata-Laptop HDD
Video/Media-HDD:  400 GB Sata-Samsung
Convert und Filme: 1TB WD
DVB: 2.1er TT FF + Budget
Alles in allem: Power und das sogar äusserst sparsam und geräuscharm!
Zitieren
#5
Hallo und danke für die Antworten!
Tut mir leid, dass ich mich so spät melde, hatte gedacht, ich bekäme eine E-Mailbenachrichtigung bei Anworten Wink

Soweit so gut: Hier ist erstmal der Link auf den IR-Empfänger:
http://cgi.ebay.de/ws/eBayISAPI.dll?View...&rd=1&rd=1

Die anderen Kommandos werde ich ausprobieren, sobald ich wieder einen Monitor angeschlossen habe.

Vrob
VDR:
easyVDR 0.4
Athlon XP 1.2 Ghz
Asus A7V133
512 MB RAM
TT2300 modded
Zitieren
#6
Grüße,

Ich hab mich jetzt mal ein wenig mit irrecord usw. auseinandergesetzt. Hier meine (eher ernüchternden) Ergebnisse:

Zitat:easyVDR:~# irrecord /etc/lircd.conf
irrecord: only first remote definition in file "/etc/lircd.conf" used

irrecord -  application for recording IR-codes for usage with lirc

Copyright © 1998,1999 Christoph Bartelmus([email protected])

irrecord: could not open /dev/lirc
irrecord: default_init(): Device or resource busy
irrecord: could not init hardware (lircd running ? close it, check permissions)

Wenn ich vorher "stopvdr" ausführe, ändert das nichts an der Ausgabe.
Komisch finde ich allerdings die Ausgaben von LIRC:

Zitat:easyVDR:~# /etc/lircrc start
/etc/lircrc: line 1: begin: command not found
/etc/lircrc: line 2: prog: command not found
/etc/lircrc: line 3: button: command not found
/etc/lircrc: line 4: config: command not found
/etc/lircrc: line 5: repeat: command not found
/etc/lircrc: line 6: end: command not found
/etc/lircrc: line 8: begin: command not found
/etc/lircrc: line 9: prog: command not found
/etc/lircrc: line 10: button: command not found
/etc/lircrc: line 11: config: command not found
/etc/lircrc: line 12: repeat: command not found
/etc/lircrc: line 13: end: command not found
/etc/lircrc: line 15: begin: command not found
/etc/lircrc: line 16: prog: command not found
/etc/lircrc: line 17: button: command not found
/etc/lircrc: line 18: config: command not found
/etc/lircrc: line 19: repeat: command not found
/etc/lircrc: line 20: end: command not found
/etc/lircrc: line 22: begin: command not found
/etc/lircrc: line 23: prog: command not found
/etc/lircrc: line 24: button: command not found
/etc/lircrc: line 25: config: command not found
/etc/lircrc: line 26: repeat: command not found
/etc/lircrc: line 27: end: command not found
/etc/lircrc: line 29: begin: command not found
/etc/lircrc: line 30: prog: command not found
/etc/lircrc: line 31: button: command not found
/etc/lircrc: line 32: config: command not found
/etc/lircrc: line 33: end: command not found
/etc/lircrc: line 35: begin: command not found
/etc/lircrc: line 36: prog: command not found
/etc/lircrc: line 37: button: command not found
/etc/lircrc: line 38: config: command not found
/etc/lircrc: line 39: end: command not found
/etc/lircrc: line 41: begin: command not found
/etc/lircrc: line 42: prog: command not found
/etc/lircrc: line 43: button: command not found
/etc/lircrc: line 44: config: command not found
/etc/lircrc: line 45: end: command not found
/etc/lircrc: line 47: begin: command not found
/etc/lircrc: line 48: prog: command not found
/etc/lircrc: line 49: button: command not found
/etc/lircrc: line 50: config: command not found
/etc/lircrc: line 51: repeat: command not found
/etc/lircrc: line 52: end: command not found
/etc/lircrc: line 54: begin: command not found
/etc/lircrc: line 55: prog: command not found
/etc/lircrc: line 56: button: command not found
/etc/lircrc: line 57: config: command not found
/etc/lircrc: line 58: repeat: command not found
/etc/lircrc: line 59: end: command not found
/etc/lircrc: line 99: begin: command not found
/etc/lircrc: line 100: remote: command not found
/etc/lircrc: line 101: button: command not found
/etc/lircrc: line 102: repeat: command not found
/etc/lircrc: line 103: prog: command not found
/etc/lircrc: line 104: syntax error near unexpected token `then'
/etc/lircrc: line 104: `  config = if [ -n "$(pidof vdr)" ] ; then /etc/init.d/Runvdr stop ; else /etc/init.d/Runvdr start ; fi &'

Da scheint irgendwas nicht ganz so zu funktionieren Wink

Wo finde ich denn die lircd.conf / remote.conf für die mitgelieferte FB der TT2300? Mehr Infos zu FB hab ich leider auch nicht, da keine Herstellerbezeichnung/Typ auf ihr angegeben ist Sad

Grüße,
Vrob
VDR:
easyVDR 0.4
Athlon XP 1.2 Ghz
Asus A7V133
512 MB RAM
TT2300 modded
Zitieren
#7
servus,

was bei mir immer geholfen hat bei dieser meldung:
Zitat:irrecord: could not open /dev/lirc
irrecord: default_init(): Device or resource busy
irrecord: could not init hardware (lircd running ? close it, check permissions)

ich hab dann einfach die lircd.con gelöscht, neu gebooted und dann irrecord nochmals ausgeführt

die config dateien gibts hier:
http://lirc.sourceforge.net/remotes/


gruss

tycoon96
Zitieren
#8
Hab jetzt mal die /etc/lircd.conf gelöscht, den PC neugebootet und es nochmal mit irrecord versucht.
Die Fehlermeldungen bleiben jedoch gleich Sad

Vrob
VDR:
easyVDR 0.4
Athlon XP 1.2 Ghz
Asus A7V133
512 MB RAM
TT2300 modded
Zitieren
#9
Hallo,
nach dem stopvdr ist lirc beendet. Dann geht nischt.
Du must mir lirc_on_comx (1 oder 2) lirc wieder starten. Dann sollte irw und irrecord gehen.

Bei gestarteten VDR ist der lirc-Port ja vom VDR belegt.
Bei nicht gestarteten VDR (durch stopvdr) ist das /dev/lirc-Device nicht mehr vorhanden.
Zitat:irrecord: could not open /dev/lirc
irrecord: default_init(): Device or resource busy
irrecord: could not init hardware (lircd running ? close it, check permissions)

Gruß Uwe


Distrie:                easyVDR 0.9.10 VDR-Version:1.7.0
Hardware:            Athlon64 x2 4050 be passiv gekühlt
                          ECS GF8200A
                          passives 400W NT
Root-HD:              80 GB 2,5" Sata-Laptop HDD
Video/Media-HDD:  400 GB Sata-Samsung
Convert und Filme: 1TB WD
DVB: 2.1er TT FF + Budget
Alles in allem: Power und das sogar äusserst sparsam und geräuscharm!
Zitieren
#10
Hiho,

vielen Dank für den Tipp. Meine Leitung hat mal wieder bis zum Mond gereicht Wink
Also hier nochmal die Zusammenfassung:

1. stopvdr
2. mv /etc/lircd.conf /etc/lircd.conf.old
3. lirc_on_com1 bzw. lirc_on_com2
4. irrecord /etc/lircd.conf
5. startvdr

Ich hatte "lirc_on_com1" für einen Paramter oder sonstwas gehalten, aber nicht daran gedacht, es mal als Kommando auszuführen *platsch*

Soweit funktioniert die FB jetzt, aber sie reagiert ziemlich träge, kann ich da was dran ändern, oder ist das einfach ein Hardware-Problem?

Grüße,
Vrob
VDR:
easyVDR 0.4
Athlon XP 1.2 Ghz
Asus A7V133
512 MB RAM
TT2300 modded
Zitieren
#11
Grüss dich Vrob,

bitte füge in den Header "min_repeat      0" mal überhalb des Eintrags "toggle_bit  x" in eine eigene Zeile ein.

Wenn das zu sensibel ist, dann poste bitte mal deinen Wert von "min_repeat",


Gruß,

Uwe aka Lichi
VDR1:easyvdr: V 2.0.6 Kernel 3.13.049; Hw: Asrock H61m-itx; CPU: G630 Intel; DVB Sky S952
VDR2: V 0.8.04; Hw: Zotac IONITX-F; Geh:LC-1320 Karte: TBS6981; DVD-RW slim, 1TB WD Caviar Green
VDR3: V 2.0stable; Hardware: Asrock K10N78M pro, Sempron 145, TBS6981, Digitainer Gehäuse, 2GB Ram, 2,5TB WDD caviar green, x10 FB mit Scrollrad
VDR4: V 0.7.24; Geh.: LC-Power1001b; MB:AsusM3n78-VM via HDMI, CPU:Sempron140; 1GB Ram; 1TB Hd Samsung EcoGreen; TT-1600-S2
VDR5: V 2.1.0 Testing; GehBig Grinigitainer; NT:BeQuiet L7 300W; MB:Gigabyte M85M-US2H Rev2; CPU:Sempr.140; 2GB Ram, 3TB HD SATA;Tevii480, Atric+Total0579FB
Zitieren
#12
Hiho,

Habe deinen Vorschlag befolgt. Hat zwar nur eine minimale (vielleicht auch Placebo?) Veränderung gebracht, aber immerhin besser als nix Smile

Hier mal der Header meiner /etc/lircd.conf

Zitat:begin remote

  name  /etc/lircd.conf
  bits          13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one          887  789
  zero          887  789
  plead        908
  gap          107346
  min_repeat      0
  toggle_bit      2

Grüße,
Vrob
VDR:
easyVDR 0.4
Athlon XP 1.2 Ghz
Asus A7V133
512 MB RAM
TT2300 modded
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: