[1] MLD-5.x / Systems / x86 Systeme (PC) / 5.4 Testing - Lirc Thema
 

Offline Matthias

  • Expert Member
  • *****
  • Posts: 2005
    • View Profile
5.4 Testing - Lirc Thema
« on: February 26, 2019, 21:35:38 »
Ich muss, nachdem mir meine SSD abgeraucht ist, meine MLD neuinstallieren.
Klappt auch wie gewohnt erstmal alles, aber auf irgendeinem Grund komme ich beim Thema Fernbedienung nicht weiter.

Ich nutze einen Homebrew IR Empfänger an COM 1, dazu die silberne Hauppauge Fernbedienung.
Also im Web If auf COM 1 gestellt und meine lircd.conf nach /etc kopiert.
Code: [Select]
#
# this config file was automatically generated
# using lirc-0.5.5pre8 on Sun Apr 18 11:43:45 1999
#
# contributed by Jens Leuschner <leuschner@gmx.net>
#
# brand:             Hauppauge
# model:
# supported devices: WinTV primo; WinTV pci; WinTV radio
#
# This config file will work with both homebrew receivers and
# original Hauppauge TV cards !!!
#



#
# this config file was automatically generated
# using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003
#
# contributed by
#
# brand:     Hauppauge
# model no. of remote control:
# devices being controlled by this remote: PVR 2/350
#


begin remote

name  Hauppauge_350
bits           13
flags RC5|CONST_LENGTH
eps            30
aeps          100

one           969   811
zero          969   811
plead        1097
gap          114605
toggle_bit      2
repeat_bit      2


begin codes
  KEY_PVR                  0x00000000000017BB
  KEY_POWER2               0x00000000000017BD        #  Was: Power
  KEY_TV                   0x000000000000179C        #  Was: TV
  KEY_VIDEO                0x0000000000001798        #  Was: Videos
  KEY_AUDIO                0x0000000000001799        #  Was: Music
  KEY_IMAGES               0x000000000000179A        #  Was: Pictures
  KEY_INFO                 0x000000000000178D        #  Was: Guide
  KEY_RADIO                0x000000000000178C        #  Was: Radio
  KEY_UP                   0x0000000000001794        #  Was: Up
  KEY_LEFT                 0x0000000000001796        #  Was: Left
  KEY_RIGHT                0x0000000000001797        #  Was: Right
  KEY_DOWN                 0x0000000000001795        #  Was: Down
  KEY_OK                   0x00000000000017A5        #  Was: OK
  KEY_ESC                  0x000000000000179F        #  Was: Back/Exit
  KEY_MENU                 0x000000000000179B
  KEY_VOLUMEUP             0x0000000000001790        #  Was: Vol+
  KEY_VOLUMEDOWN           0x0000000000001791        #  Was: Vol-
  KEY_MUTE                 0x000000000000178F        #  Was: Mute
  KEY_CHANNELUP            0x00000000000017A0        #  Was: Ch+
  KEY_CHANNELDOWN          0x00000000000017A1        #  Was: Ch-
  KEY_RECORD               0x00000000000017B7        #  Was: Record
  KEY_STOP                 0x00000000000017B6        #  Was: Stop
  KEY_PLAY                 0x00000000000017B5        #  Was: Play
  KEY_FORWARD              0x00000000000017B4        #  Was: Forward
  KEY_REWIND            0x00000000000017A4
  KEY_PAUSE                0x00000000000017B0        #  Was: Pause
  KEY_NEXT                0x000000000000179E
  KEY_1                    0x0000000000001781        #  Was: 1
  KEY_2                    0x0000000000001782        #  Was: 2
  KEY_3                    0x0000000000001783        #  Was: 3
  KEY_4                    0x0000000000001784        #  Was: 4
  KEY_5                    0x0000000000001785        #  Was: 5
  KEY_6                    0x0000000000001786        #  Was: 6
  KEY_7                    0x0000000000001787        #  Was: 7
  KEY_8                    0x0000000000001788        #  Was: 8
  KEY_9                    0x0000000000001789        #  Was: 9
  Asterix                  0x000000000000178A
  KEY_0                    0x0000000000001780        #  Was: 0
  KEY_NUMERIC_POUND        0x000000000000178E        #  Was: #
  KEY_RED                  0x000000000000178B        #  Was: Red
  KEY_GREEN                0x00000000000017AE        #  Was: Green
  KEY_YELLOW               0x00000000000017B8        #  Was: Yellow
  KEY_BLUE                 0x00000000000017A9        #  Was: Blue

end codes

end remote

Leider erstmal ohne Erfolg. Die FB geht nicht.
In der messages nachgeschaut - sieht erstmal gut aus:
Code: [Select]
eb 26 21:06:35 MLD local0.info lircd-0.9.4c[8572]: Info: removed client
Feb 26 21:06:36 MLD local0.notice lircd-0.9.4c[8572]: Notice: caught signal
Feb 26 21:07:37 MLD local0.info lircd-0.9.4c[13495]: Info: lircd:  Opening log, level: Info
Feb 26 21:07:45 MLD local0.info lircd-0.9.4c[13780]: Info: lircd:  Opening log, level: Info
Feb 26 20:09:51 MLD user.info kernel: [ 1702.764030] serial_ir serial_ir.0: auto-detected active low receiver
Feb 26 20:09:51 MLD user.info kernel: [ 1702.764047] Registered IR keymap rc-rc6-mce
Feb 26 20:09:51 MLD user.info kernel: [ 1702.764136] rc rc0: Serial IR type home-brew as /devices/platform/serial_ir.0/rc/rc0
Feb 26 20:09:51 MLD user.info kernel: [ 1702.764399] input: Serial IR type home-brew as /devices/platform/serial_ir.0/rc/rc0/input18
Feb 26 20:09:51 MLD user.info kernel: [ 1702.765097] rc rc0: lirc_dev: driver serial_ir registered at minor = 0, raw IR receiver, raw IR transmitter
Feb 26 20:09:52 MLD user.info kernel: [ 1702.783976] input: eventlircd as /devices/virtual/input/input19
Feb 26 21:09:52 MLD local0.info lircd-0.9.4c[23511]: Info: lircd:  Opening log, level: Info
Feb 26 21:09:52 MLD local0.info lircd-0.9.4c[23511]: Info: Initial device: /dev/lirc0
Feb 26 21:09:52 MLD local0.notice lircd-0.9.4c[23511]: Notice: 'lirc' written to protocols file /sys/class/rc/rc0/protocols
Feb 26 21:09:52 MLD local0.info lircd-0.9.4c[23511]: Info: Initial device: /dev/lirc0
Feb 26 21:09:52 MLD local0.info lircd-0.9.4c[23511]: Info: [lirc] protocol is enabled
Feb 26 21:09:52 MLD local0.info lircd-0.9.4c[23511]: Info: lircd:  Opening log, level: Info
Feb 26 21:09:52 MLD local0.warn lircd-0.9.4c[23511]: Warning: Running as root
Feb 26 21:09:52 MLD local0.info lircd-0.9.4c[23511]: Info: Using remote: Hauppauge_350.
Feb 26 21:09:52 MLD local0.notice lircd-0.9.4c[23514]: Notice: lircd(default) ready, using /var/run/lirc/lircd-COM1
Feb 26 21:09:52 MLD local0.notice lircd-0.9.4c[23514]: Notice: accepted new client on /var/run/lirc/lircd-COM1
Feb 26 21:09:52 MLD local0.info lircd-0.9.4c[23514]: Info: [lirc] protocol is enabled
Feb 26 20:09:52 MLD user.info kernel: [ 1702.965386] input: lircd as /devices/virtual/input/input20

Das schaut auch gut aus:
Code: [Select]
MLD> start lirc                                                                         
Loading lirc serial driver                                                   done
Starting lirc for COM1                                                       done
MLD> ir-keytable                                                                       
Found /sys/class/rc/rc0/ (/dev/input/event11) with:                                     
        Driver serial_ir, table rc-rc6-mce                                             
        Supported protocols: other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sha
rp xmp                                                                                 
        Enabled protocols: lirc                                                         
        Name: Serial IR type home-brew                                                 
        bus: 25, vendor/product: 0001:0001, version: 0x0100                             
        Repeat delay = 500 ms, repeat period = 125 ms                                   

rc.config:
Code: [Select]
# Lirc Aufruf Argumente
LIRC_ARGS=""
LIRC_INSTALL_L2U="1"
# Lirc modul to use
LIRC_MODUL="serial on COM1"

Debug-Log: 8erUuq

IR Empfänger habe ich getauscht, die FB sendet ein Signal (kann ich per Handy Kamera sehen).
Ich stehe auf dem Schlauch...
Produktiv System:
SAT over IP -> OctopusNet mit Unicable LNB: Inverto IDLU-24UL40-UNMOO-OPP
MLD 5.5 unstable/64Bit , Intel NUC BOXNUC6CAYH, 1 x 128 GB SSD, 8GB RAM + 1 x 3 TB HD per NFS (Synology),  Samsung UE32ES6300, Onkyo TX-8270, Nubert Nuline

Offline Matthias

  • Expert Member
  • *****
  • Posts: 2005
    • View Profile
5.4 Testing - Lirc Thema
« Reply #1 on: February 27, 2019, 09:12:32 »
Kurzer Zwischenstand:
Ich habe jetzt vorläufig kapituliert und die Technotrend FB in wenigen Schritten installiert:
https://www.minidvblinux.de/forum/index.php/topic,9252.msg72161.html#msg72161
Produktiv System:
SAT over IP -> OctopusNet mit Unicable LNB: Inverto IDLU-24UL40-UNMOO-OPP
MLD 5.5 unstable/64Bit , Intel NUC BOXNUC6CAYH, 1 x 128 GB SSD, 8GB RAM + 1 x 3 TB HD per NFS (Synology),  Samsung UE32ES6300, Onkyo TX-8270, Nubert Nuline

[1] MLD-5.x / Systems / x86 Systeme (PC) / 5.4 Testing - Lirc Thema
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.