RC6 Fernbedienung geht nicht

  • Hallo,
    hast du schon mal einen Blick in die Doku zum Thema Fernbedienung geworfen? Kannst du noch brauchare Informationen zu deinem Empfänger liefern? (lsusb, "cat /proc/bus/input/devices", "sudo ir-keytable")

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • habe ich schon gelesen aber nicht weitergekommen


    root@VDR-HD:/var/log# lsusb
    Bus 007 Device 002: ID 1509:9242 First International Computer, Inc. eHome Infrared Transceiver
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 002: ID 046d:cab1 Logitech, Inc. Cordless Keyboard for Wii HID Receiver
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 003: ID 05af:8215 Jing-Mold Enterprise Co., Ltd
    Bus 004 Device 002: ID 1509:925d First International Computer, Inc.
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



    root@VDR-HD:/var/log# cat /proc/bus/input/devices
    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=PNP0C0C/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
    U: Uniq=
    H: Handlers=kbd event0
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0


    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=LNXPWRBN/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
    U: Uniq=
    H: Handlers=kbd event1
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0


    I: Bus=0003 Vendor=1509 Product=925d Version=0110
    N: Name="DM-140GINK Demo DM-140GINK Demo"
    P: Phys=usb-0000:00:1a.1-1/input1
    S: Sysfs=/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/input/input2
    U: Uniq=
    H: Handlers=kbd event2
    B: PROP=0
    B: EV=13
    B: KEY=1f 10000 1d00000c000 10000000000000 0
    B: MSC=10


    I: Bus=0003 Vendor=05af Product=8215 Version=0110
    N: Name=" TouchPadKB"
    P: Phys=usb-0000:00:1a.1-2/input0
    S: Sysfs=/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/input/input3
    U: Uniq=
    H: Handlers=sysrq kbd event3
    B: PROP=0
    B: EV=120013
    B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
    B: MSC=10
    B: LED=1f


    I: Bus=0003 Vendor=05af Product=8215 Version=0110
    N: Name=" TouchPadKB"
    P: Phys=usb-0000:00:1a.1-2/input1
    S: Sysfs=/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.1/input/input4
    U: Uniq=
    H: Handlers=kbd mouse0 event4
    B: PROP=0
    B: EV=17
    B: KEY=c0004 40000000000 1f0000 2000000 3878d801d001 1e000000000000 0
    B: REL=103
    B: MSC=10


    I: Bus=0003 Vendor=046d Product=cab1 Version=0111
    N: Name="Logitech USB Wireless HID Receiver"
    P: Phys=usb-0000:00:1d.0-1/input0
    S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input5
    U: Uniq=
    H: Handlers=sysrq kbd event5
    B: PROP=0
    B: EV=120013
    B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
    B: MSC=10
    B: LED=7


    I: Bus=0003 Vendor=1509 Product=9242 Version=0000
    N: Name="Media Center Ed. eHome Infrared Remote Transceiver (1509:9242)"
    P: Phys=usb-0000:00:1d.2-2
    S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/rc/rc0/input6
    U: Uniq=
    H: Handlers=kbd event6
    B: PROP=0
    B: EV=100013
    B: KEY=108fc010 2478d100000000 0 18c00 18040302801 8e168000000000 ffe
    B: MSC=10


    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="MCE IR Keyboard/Mouse (mceusb)"
    P: Phys=/input0
    S: Sysfs=/devices/virtual/input/input7
    U: Uniq=
    H: Handlers=sysrq kbd mouse1 event7
    B: PROP=0
    B: EV=100017
    B: KEY=30000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
    B: REL=3
    B: MSC=10


    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="lircd"
    P: Phys=
    S: Sysfs=/devices/virtual/input/input8
    U: Uniq=
    H: Handlers=sysrq rfkill kbd event8
    B: PROP=0
    B: EV=100003
    B: KEY=ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff fffffffffffffffe


    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="eventlircd"
    P: Phys=/dev/input/event8
    S: Sysfs=/devices/virtual/input/input9
    U: Uniq=
    H: Handlers=event9
    B: PROP=0
    B: EV=3
    B: KEY=ffffffffff 0 0 0 0 0 3fcff 7fff8fff00ff03ff 0 0 0 0


    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="lircd"
    P: Phys=
    S: Sysfs=/devices/virtual/input/input10
    U: Uniq=
    H: Handlers=sysrq rfkill kbd event10
    B: PROP=0
    B: EV=100003
    B: KEY=ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff fffffffffffffffe


    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="eventlircd"
    P: Phys=/dev/input/event10
    S: Sysfs=/devices/virtual/input/input11
    U: Uniq=
    H: Handlers=event11
    B: PROP=0
    B: EV=3
    B: KEY=ffffffffff 0 0 0 0 0 3fcff 7fff8fff00ff03ff 0 0 0 0



    root@VDR-HD:/var/log# ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event6) with:
    Driver mceusb, table rc-rc6-mce
    Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
    Enabled protocols: RC-6
    Repeat delay = 500 ms, repeat period = 125 ms
    root@VDR-HD:/var/log#





    evl hilft das ja weiter

  • evl hilft das ja weiter


    In der Tat...


    Warum läuft das lircd? Gibt es da noch zusätzliche Empfänger? Falls nicht bitte abschalten.



    Das müsste dein MCE-Reciever sein. für den wird automatisch eine Keytable für MCE-Remotes geladen (siehe Abschnitt zu ir-keytable in der Doku)

    root@VDR-HD:/var/log# ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event6) with:
    Driver mceusb, table rc-rc6-mce
    Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
    Enabled protocols: RC-6
    Repeat delay = 500 ms, repeat period = 125 ms


    Schau mal, was ir-keytable selbst an Tastendrücken erkennt:

    Code
    sudo stop eventlircd
    sudo ir-keytable -t
    # Tasten drücken

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • nee hab keinen zweiten evl hat die tv karte ja noch einen


    wie schalt ich den aus


    root@VDR-HD:/var/log# sudo ir-keytable -t
    Testing events. Please, press CTRL-C to abort.
    1323542480.936050: event MSC: scancode = 800f7422
    1323542480.936055: event sync
    1323542481.044048: event MSC: scancode = 800f7422
    1323542481.044053: event sync
    1323542481.150049: event MSC: scancode = 800f7422
    1323542481.150053: event sync
    1323542481.284048: event MSC: scancode = 800f7422
    1323542481.284052: event sync
    1323542481.973050: event MSC: scancode = 800f7422
    1323542481.973055: event sync
    1323542482.079049: event MSC: scancode = 800f7422
    1323542482.079053: event sync
    1323542482.186047: event MSC: scancode = 800f7422
    1323542482.186052: event sync
    1323542484.762052: event MSC: scancode = 800f7422
    1323542484.762057: event sync
    1323542485.004053: event MSC: scancode = 800f7422
    1323542485.004057: event sync
    1323542485.461054: event MSC: scancode = 800f7422
    1323542485.461060: event sync
    1323542485.731051: event MSC: scancode = 800f741f
    1323542485.731056: event sync
    1323542485.944051: event MSC: scancode = 800f741f
    1323542485.944055: event sync
    1323542486.078053: event MSC: scancode = 800f741f
    1323542486.078057: event sync
    1323542488.000053: event MSC: scancode = 800f741c
    1323542488.000058: event sync
    1323542488.107051: event MSC: scancode = 800f741c
    1323542488.107056: event sync

  • wie schalt ich den aus


    Wenn du ihn nicht extra im Webfrontend eingeschaltet hast, kann es so bleiben.


    Welchen Tasten entspricht denn die von dir gepostete Ausgabe von ir-keytable -t?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • nichts aktiviert


    root@VDR-HD:/var/log# sudo ir-keytable -t
    Testing events. Please, press CTRL-C to abort.
    1323543163.989417: event MSC: scancode = 800f7424
    1323543163.989422: event sync
    1323543171.451419: event MSC: scancode = 800f7426
    1323543171.451425: event sync



    1323543163.989417: event MSC: scancode = 800f7424 = Menü
    1323543171.451419: event MSC: scancode = 800f7426 = Gelb

  • Ok, dann wirst du um ein bisschen basteln nicht herumkommen...
    Hier eine Keytable, die nach /etc/rc_keymaps/xbox-mce muss:xbox_mce.txt
    Dann noch folgendes machen:

    Code
    sudo su
    stop eventlircd
    mkdir -p /etc/yavdr/templatess_custom/etc/rc_maps.cfg
    echo "mceusb  *                       /etc/rc_keymaps/xbox-mce" > /etc/yavdr/templatess_custom/etc/rc_maps.cfg/40_HOPLOrc6
    process-template /etc/rc_maps.cfg
    ir-keytable -c -a /etc/rc_maps.cfg
    # Testen ob die Tasten schon benannt sind:
    ir-keytable -t
    # Wenn die Tastennamen noch nicht die richtige Funktion haben, in der /etc/rc_keymaps/xbox-mce anpassen
    # und dann mit "ir-keytable -c -a /etc/rc_maps.cfg" übernehmen


    Die namespace-konformen Tastennamen stehen in der zweiten Spalte dieser Tabelle: http://www.yavdr.org/documentation/de/ch02s03.html#id460598

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Ok, dann entweder

    Code
    sudo ir-keytable -a /etc/rc_maps.cfg --sysdev rc0


    oder

    Code
    sudo ir-keytable -w /etc/rc_keymaps/xbox-mce

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Schön, dass es geklappt hat.
    Nur für Andere, die ebenfalls diese Kombi einsetzen könnten: magst du deine angepasste Keymap noch posten?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Ok, dann wirst du um ein bisschen basteln nicht herumkommen...
    Hier eine Keytable, die nach /etc/rc_keymaps/xbox-mce muss:xbox_mce.txt
    Dann noch folgendes machen:

    Code
    1# sudo su
    2# stop eventlircd
    3# mkdir -p /etc/yavdr/templatess_custom/etc/rc_maps.cfg
    4# echo "mceusb  *                       /etc/rc_keymaps/xbox-mce" > /etc/yavdr/templatess_custom/etc/rc_maps.cfg/40_HOPLOrc6
    5# process-template /etc/rc_maps.cfg
    6# ir-keytable -c -a /etc/rc_maps.cfg
    # Testen ob die Tasten schon benannt sind:
    7# ir-keytable -t
    # Wenn die Tastennamen noch nicht die richtige Funktion haben, in der /etc/rc_keymaps/xbox-mce anpassen
    # und dann mit "ir-keytable -c -a /etc/rc_maps.cfg" übernehmen


    Die namespace-konformen Tastennamen stehen in der zweiten Spalte dieser Tabelle: http://www.yavdr.org/documentation/de/ch02s03.html#id460598

    Hallo ich schlage mich auch gerade mit der xbox fernbedienung rum.
    Zeile 7# geht nur mit dem Kommando sudo ir-keytable -a /etc/rc_maps.cfg --sysdev rc0
    Im Prinzip funktionieren die Tastencodes wenn ich ir-keytable -t ausführe.
    Sie werden jedoch nicht übernommen, nach einem Neustart der Kiste geht meine "alte MCE" Fernbedienung wieder.
    Muss ich sonst noch etwas beachten?


    Die angehängte Datei muss ja nur in das Verzeichnis /etc/rc_keymaps/ nicht noch in ein Unterverzeichnis "/xbox-msc/" oder?
    Hier eine Keytable, die nach /etc/rc_keymaps/xbox-mce muss:xbox_mce.txt



    Grüße,
    Doc.

    MB: Asrock H77 Pro4-M ||CPU: Celeron G540 || GPU: Zotac GT520 Synergy || Tuner: DuoFlex S2, Octupus CI PCie Treiber: || HDD: Crucial M4 128GB || PSU: picoPSX 160XT, Leicke 12V-10A-120Watt 5,5x2,5mm || Case: MS-Tech LC-01Remote: Logitech Harmony 900 + IR Blaster ||extensions: 8 Kanal Karatelight

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!