easyVDR Kopie des easyVDR-Forums zum Nachschlagen
Lirc funktioniert nach Neuinstallation nicht mehr

easyVDR - >VARforumsname - >Lirc funktioniert nach Neuinstallation nicht mehr

frantek  03.Jul.2011 21:49:33
Hallo,

wegen eines anderen Problems ([url=http://www.easyvdr-forum.de/forum/index.php?topic=12284.0]http://www.easyvdr-forum.de/forum/index.php?topic=12284.0) habe ich neu installiert. Dabei habe ich meine lircd.conf mitgenommen. Jetzt funktioniert meine Dbox2 FB aber nicht mehr.  Mache ich:


mode2 -d /dev/lirc0


wird auch brav etwas angezeigt. Im Syslog sehe ich:


Jul  3 21:27:46 (none) kernel: [ 2948.890992] lirc_dev: IR Remote Control driver registered, major 61
Jul  3 21:27:46 (none) kernel: [ 2949.391071] lirc_serial: auto-detected active low receiver
Jul  3 21:27:46 (none) kernel: [ 2949.391073] lirc_dev: lirc_register_plugin: sample_rate: 0
Jul  3 21:27:46 (none) udevd-event: udev_node_symlink: symlink(lirc0, /dev/lirc0) failed: File exists
Jul  3 21:27:48 (none) vdr: LIRC remote control thread started (pid=32667, tid=32667)
Jul  3 21:27:48 (none) vdr: remote control LIRC - keys known


Im lirc_on_com1.log steht nichts brauchbares:


Jul  3 21:27:46 easyVDR lircd: lircd(default) ready
Jul  3 21:27:48 easyVDR lircd: accepted new client on /dev/lircd


Kann mir jemand bitte einen Tip geben wie ich das debuggen kann ? Den VDR auf die Dauer mittels VDRAdmin zu bedienen ist lästig  :)

TIA
Software: easyVDR 2.0
Hardware: 3 x TT-BU S1600 (SAA7146) - output: Nvidia mit Softhddevice
frantek  04.Jul.2011 21:44:54
lirc an sich funktioniert offensichtlich. Teste ich mit: irw bekomme ich brav, was ich erwarte.


0000000000008fc5 00 UP D-BOX2
0000000000008fc5 00 UP D-BOX2
0000000000008fc5 00 UP D-BOX2
0000000000000fc5 00 DOWN D-BOX2
0000000000000fc5 00 DOWN D-BOX2
0000000000008bc5 00 RIGHT D-BOX2
0000000000008bc5 00 RIGHT D-BOX2
0000000000008fc5 00 UP D-BOX2
000000000000f3c5 00 OK D-BOX2


Nur der VDR reagiert nicht  :(
Software: easyVDR 2.0
Hardware: 3 x TT-BU S1600 (SAA7146) - output: Nvidia mit Softhddevice
Captain_Beefheart  04.Jul.2011 23:30:58
Hallo


Dabei habe ich meine lircd.conf mitgenommen. Jetzt funktioniert meine Dbox2 FB aber nicht mehr.  Mache ich:

...und was is mit der remote.conf?

  die übersetzt die lirc "Kommandos" in VDR "Kommandos"

  C.B.
pille: (vdr1)
Anubis TYPHOON DVB-T Light;Terratec Cinergy1200; GA-M56S-S3; AMD X2 3800(35W); 2x1GB, PCIe 9500GT/LE-40M86BD; Hitachi 320GB; IDE DVD; OCZ 32GB SSD; Trust C-5250/opt./Denon-AV; lirc/DVICO/MD81035; USB-HD 256GB & 1TB ; GraphTFT/LCD 15"; easyVDR 1.0
chekov: (vdr2)
Esprimo5600/1,5GB/AMD Athlon64 X2 3800+; Club-3D GS8400 512MB/G98/19"CRT;Nova T-500; OCZ 32GB SSD, IDE DVD-Rom;  lirc/DVICO/MD82467; easyvdr1.0
scotty: (work - no vdr)
GA-M52L-S3; AMD X4; 4x1GB, NVidia 9800GT/1GByte; Hitachi 320GB;60GByte SSD; 80GByte Hd for wine; SATA DVD; Trust C-5250;Kubuntu 12.10; Netz: Intel GBit PCIe cardt + ...
frantek  05.Jul.2011 18:59:04
Die remote.conf weicht beim alten und neuen Setup nicht von einander ab. Ich frage mich aber: Wie spielen lircd.conf, lircrc und remote.conf genau zusammen und kommt es da auf gross/klein Schreibung an ?

Beispiel aus meinem Setup:

lircd.conf

DOWN                    0x000000000000000F


lircrc

# Button Cursor Down
begin 
  prog = VDR
  remote = *
  button = KEY_DOWN
  delay = 4
  repeat = 0
  config = Down
end


remote.conf

LIRC.Down      Down


Software: easyVDR 2.0
Hardware: 3 x TT-BU S1600 (SAA7146) - output: Nvidia mit Softhddevice
mango  05.Jul.2011 20:11:22
Hi frantek,

lösch doch Bitte mal alle Einträge bis auf KBD.* aus der remote.conf
danach ein startvdr, jetzt müsste doch der Anlernprozzes beginnen.
....oder schon gemacht?

Alte remote.conf sichern.

Hier noch meine lircd.conf vom MiniVDR (Asbach-Uralt) mit Dbox2-FB.
#
# this config file was derived from the DBOX config file
#
# brand:            Nokia
# model:            XXL
# supported devices: D-Box2
#

begin remote

  name  D-BOX2
  bits            8
  flags SHIFT_ENC|CONST_LENGTH
  eps            10
  aeps          300

  header        510  2520
  one          450  550
  zero          450  550
  pre_data_bits  1
  pre_data      0x0
  post_data_bits  8
  post_data      0xC5
  gap          59500
  repeat_bit      0

      begin codes
          power                    0x00000000000000CF
          home                    0x00000000000000FB
          d-box                    0x000000000000001B
          1                        0x000000000000007F
          2                        0x00000000000000BF
          3                        0x000000000000003F
          4                        0x00000000000000DF
          5                        0x000000000000005F
          6                        0x000000000000009F
          7                        0x000000000000001F
          8                        0x00000000000000EF
          9                        0x000000000000006F
          0                        0x00000000000000FF
          blue                    0x0000000000000023
          yellow                  0x00000000000000B5
          green                    0x0000000000000055
          red                      0x000000000000004B
          ok                      0x00000000000000F3
          vol_+                    0x0000000000000097
          vol_-                    0x0000000000000017
          mute                    0x00000000000000EB
          right                    0x000000000000008B
          up                      0x000000000000008F
          down                    0x000000000000000F
          next                    0x00000000000000D5
          prev                    0x0000000000000035
          left                    0x000000000000000B
          help                    0x00000000000000BE
      end codes

end remote

begin remote

  name  D-BOX2
  bits            8
  flags SHIFT_ENC|CONST_LENGTH
  eps            10
  aeps          300

  header        510  2520
  one          450  550
  zero          450  550
  pre_data_bits  1
  pre_data      0x0
  post_data_bits  8
  post_data      0x0
  gap          40000
  repeat_bit      0

      begin codes
          _D-BOX_                    0x0000000000000080
      end codes

end remote

Hier findest Du alle Nokia FB's
http://lirc.sourceforge.net/remotes/nokia/

Gruss
Wolfgang

[spoiler="My VDR Stuff"]DVB-S/S2: Silverstone LC17 mit 8,4" TFT Display, ASUS P5KPL SE, E6300, 2GB, NT-Fanlees, System SSD 40GB, Media 2TB, GT630, DVD-LG, SkyStar S2, Nova-T, FB X10 Medion-Scroll, "Arch-Linux - VDR 2.3.8"
Test-VDR: ASRock ALiveNF6G, AMD X2 3800+ (35W),4GB, GT 630 - nvidia-384, SSD 64GB, SkyStar S2, Cinergy T RC USB, easyVDR 3.5(Kernel-4.4.0) - VDR-2.3.8 - KODI-18.0 - FB X10 Medion-Scroll
Client: Evo N600c, Puppy-Slacko 6.3 - VDR-2.2.0 - FB X10 Medion_OR25V
Spielwiese: RPI2 als Client mit LibreELEC-9.80-Milhouse(Kodi-19.0) - MLD-5.4 VDR2VDR
frantek  05.Jul.2011 22:33:40
Danke, er hat brav gelert ... das meiste was er mir anbietet brauch ich eh nicth. Das ist das Ergebnis:


LIRC.Up        UP
LIRC.Down      DOWN
LIRC.Menu      MENU
LIRC.Ok        OK
LIRC.Back      BACK
LIRC.Left      LEFT
LIRC.Right      RIGHT
LIRC.Red        RED
LIRC.Green      GREEN
LIRC.Yellow    YELLOW
LIRC.Blue      BLUE
LIRC.0          0
LIRC.1          1
LIRC.2          2
LIRC.3          3
LIRC.4          4
LIRC.5          5
LIRC.6          6
LIRC.7          7
LIRC.8          8
LIRC.9          9
LIRC.Info      HOME
LIRC.Volume+    VOLUME+
LIRC.Volume-    VOLUME-
LIRC.Mute      MUTE


Steht (wie schon zu vor) sauber in der remote.conf ... nur ... der VDR reagiert nicht auf die Fernbedienung ...  :'(
Software: easyVDR 2.0
Hardware: 3 x TT-BU S1600 (SAA7146) - output: Nvidia mit Softhddevice
Black-Scorpion  06.Jul.2011 16:16:38
Hallo VDRL'er,

ich kenn das Problem. Kannst du dem IR Controller feste Hardware Adressen zu ordnen?
Da ich die DBOX nicht so gut kenne. Mein Problem am PC war die Ressourcenverteilung bei der Umstellung auf 0.8.
Der IR Controller stand im BIOS auf Auto. Das funktioniert danach nicht mehr. Ich habe dann dem Contoller eigene feste Werte zugeordnet IRQ und den entsprechenden Speicherbereich.

Daher die Frage ob man soetwas auch für die Dbox einstellen kann?

Vielleicht hilft Dir das weiter.

Gruß Karsten

--------------------------------------------------------------------------------------------------------------------------
VDR 1: Easyvdr 0.8.06 FSC Senic 600 / 2GB RAM / 1,0 TB HDD / 2x  Airstar2 PCI / ATI X300 / VGA
VDR 2: Easyvdr 0.9 Tarox / 1GB / 500 GB HDD / Cynergi T USB XE / ATI 9800 / VGA  - in VirtualBox lauffähig
frantek  06.Jul.2011 19:05:17
[quote='Black-Scorpion link' pid='12051' dateline='1309961798']
Daher die Frage ob man soetwas auch für die Dbox einstellen kann?


Kleines Missverständnis ... ich benutze NUR die FB der Dbox 2, da ich die ganz besonders mag  :) mein VDR läuft auf einem normalen PC mit einem selbst gelöteten LIRC-Reciver an der seriellen Schnittstelle und das seit vielen Jahren. Der Punkt ist ja dass er an sich geht, der VDR kann die FB auch anlernen, nur dann geht eben nix mehr - und das alles seit der 0.8.06.

Zum Glück kann ich als Notbehelf mein iPhone her nehmen, aber auch das nervt auf die Dauer.
Software: easyVDR 2.0
Hardware: 3 x TT-BU S1600 (SAA7146) - output: Nvidia mit Softhddevice
frantek  08.Jul.2011 08:44:20
ist mit dem 0.9 gelöst
Software: easyVDR 2.0
Hardware: 3 x TT-BU S1600 (SAA7146) - output: Nvidia mit Softhddevice