Harmony 700 an TT DVB S2-3600 - Verstaendnisfrage

  • Hallo,


    ich habe heute meinen ersten VDR installiert. Es ist ein Asus AT5ION, also ein Atom D525 mit NVidia ION2 Grafik.
    Ich habe die neue yaVDR 0.4 installiert. Es laeuft soweit auch fast alles. Bis auf meine Harmony 700.


    Da der USB-Receiver ja einen IR Empfaenger mitbringt, war ich davon ausgegangen, dass ich den auch fuer die
    Harmony nutzen kann. Im yaVDR hab ich in Sachen Fernbedienung alles auf Default gelassen. Ich kann mit
    der kleinen Fernbedienung die zum Receiver mit kommt nur die Kanaele umschalten. Aber nix anderes :(


    Nun stoeber ich schon den ganzen Tag im Netz. Einer schreibt, der TT Receiver kann nur die Original Fernbedienung.
    Eine andere Anleitung erweckt den Eindruck, dass er generell gehen muesste. ZiemlicWh verwirrend.


    Da wo man im yaVDR den LIRC aktivieren koennte, ist ein Link https://github.com/yavdr/yavdr-remote hinterlegt.
    Da liegt z.B. eine Datei fuer eine PVR350. Kann ich meiner Harmony jetzt sagen, sie bedient
    einen PVR350, und yavdr-remote macht den Rest automatisch? Welches Geraet sag ich dann meiner
    Harmony, damit moeglichst viele Tasten unterstuetzt werden?


    Elvis

  • Welches Geraet sag ich dann meiner
    Harmony, damit moeglichst viele Tasten unterstuetzt werden?


    Am besten stellst du die Harmony auf das Profil für deine TV-Karte ein, wenn bei dir mit der mitgelieferten FB nur einige Tasten gehen, musst du halt etwas Fehleranalyse betreiben...


    Zeige bitte mal die Ausgabe von folgendem:

    Code
    lsusb
    sudo ir-keytable
    cat /proc/bus/input/devices

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • lsusb liefert


    Bus 001 Device 003: ID 0b48:3007 TechnoTrend AG TT-connect S2-3600
    Bus 001 Device 002: ID 0b48:3007 TechnoTrend AG TT-connect S2-3600


    ir-keytable
    Couldn't find any node at /sys/class/rc/rc*.


    cat /proc/bus/input/devices


    I: Bus=0003 Vendor=0b48 Product=3007 Version=0101
    N: Name="IR-receiver inside an USB DVB receiver"
    P: Phys=usb-0000:00:1d.7-1/ir0
    S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb1/1-1/input/input3
    U: Uniq=
    H: Handlers=kbd event3
    B: PROP=0
    B: EV=3
    B: KEY=40fc010 20206100000000 0 8000 418080002001 9e168000000000 ffc


    I: Bus=0003 Vendor=0b48 Product=3007 Version=0101
    N: Name="IR-receiver inside an USB DVB receiver"
    P: Phys=usb-0000:00:1d.7-2/ir0
    S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb1/1-2/input/input5
    U: Uniq=
    H: Handlers=kbd event5
    B: PROP=0
    B: EV=3
    B: KEY=40fc010 20206100000000 0 8000 418080002001 9e168000000000 ffc


    ich bin zwischenzeitlich auch ueber dieses Thema gestolpert, aber im Moment fehlt
    mir noch der Durchblick.

  • Vielleicht willst du noch hierhin stolpern: http://yavdr.org/documentation/de/ch02s02.html
    Was sagt den "sudo irw" wenn du eine der Tasten auf der TT-Fernbedienung drückst, die der VDR noch nicht erkennt?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Was gibt dir denn evtest aus? Nach der Ausgabe von "cat /proc/bus/input/devices waren es event3 und event 5

    Code
    sudo evtest /dev/input/event3
    sudo evtest /dev/input/event5


    Da kommt keine Tastenausgabe, wenn eventlircd noch läuft, also besser vorher stoppen - und bitte die dort angezeigten Tastennamen posten.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • auf event3 kommt nix. das wird wohl der sein, der unten im schrank liegt.
    auf event5 kommt:


    Testing ... (interrupt to exit)
    Event: time 1319928703.837002, type 1 (Key), code 6 (5), value 1
    Event: time 1319928703.837011, -------------- Report Sync ------------
    Event: time 1319928703.837033, type 1 (Key), code 6 (5), value 0
    Event: time 1319928703.837034, -------------- Report Sync ------------
    Event: time 1319928705.337002, type 1 (Key), code 8 (7), value 1
    Event: time 1319928705.337011, -------------- Report Sync ------------
    Event: time 1319928705.337028, type 1 (Key), code 8 (7), value 0
    Event: time 1319928705.337029, -------------- Report Sync ------------
    Event: time 1319928709.337124, type 1 (Key), code 207 (Play), value 1
    Event: time 1319928709.337135, -------------- Report Sync ------------
    Event: time 1319928709.337155, type 1 (Key), code 207 (Play), value 0
    Event: time 1319928709.337156, -------------- Report Sync ------------
    ^C


    immerhin kommt auch was anderes als die ziffern an.

  • Ok, das heißt er erkennt die Tasten, aber sie sind falsch benannt.
    in der /lib/udev/rules.d/98-eventlircd.rules könntest du mal diese Regel hinzufügen:

    Code
    ENV{ID_VENDOR_ID}=="0b48", ENV{ID_MODEL_ID}=="3007", \                      
      ENV{eventlircd_enable}="true",\                                           
      ENV{eventlircd_evmap}="03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap"


    Und in /etc/eventlircd.d/ eine 03_0b48_3007.evmap erstellen, in der du die Tasten ummapst. Da musst du die die Tastennamen die evtest anzeigt (poste die doch bitte noch zur Sicherheit, das sind die ersten Zeilen, die evtest ausgibt wenn du es aufrufst) auf die Tastennamen in der /etc/vdr/remote.conf mappen (siehe Spalte "Events" in https://bugs.yavdr.com/project…tegration_04#Eventmapping), z.B.:

    Code
    5 = KEY_05
    Play = KEY_PLAY

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • hm, das hat noch nicht so ganz funktioniert.


    das ist jetzt meine /etc/eventlirc.d/03_0b48_3007.evmap
    2 = KEY_1
    3 = KEY_2
    4 = KEY_3
    5 = KEY_4
    6 = KEY_5
    7 = KEY_6
    8 = KEY_7
    9 = KEY_8
    10 = KEY_9
    11 = KEY_11
    Shuffle = KEY_PVR
    Mode = KEY_MENU
    VolumeDown = KEY_VOLUMEUP
    VolumeUp = KEY_VOLUMEDOWN
    Text = KEY_CHANNELS
    OK = KEY_OK
    Up = KEY_UP
    Down = KEY_DOWN
    Left = KEY_LEFT
    Right = KEY_RIGHT
    ChannelDown = KEY_CHANNELDOWN
    ChannelUp = KEY_CHANNELUP
    Exit = KEY_ESC
    Red = KEY_RED
    Green = KEY_GREEN
    Yellow = KEY_YELLOW
    Blue = KEY_BLUE
    Record = KEY_RECORD
    Play = KEY_PLAY
    Stop = KEY_STOP
    Info = KEY_INFO
    Rewind = KEY_REWIND
    Pause = KEY_PAUSE
    Forward = KEY_FASTFORWARD
    EPG = KEY_EPG
    Mute = KEY_MUTE


    ob die zuordnung ideal ist, muss sich noch zeigen.


    in der 98-eventlircd.rules in /lib/udev/rules.d steht nun auch
    ENV{ID_VENDOR_ID}=="0b48", ENV{ID_MODEL_ID}=="3007", \
    ENV{eventlircd_enable}="true", \
    ENV{eventlircd_evmap}="03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap"


    ich hab den vdr gebootet, aber es funktionieren nach wie vor nur die ziffern tasten.

  • die zahlen hab ich erst der falschen ausgabe von evtest zugeordnet. so sieht es jetzt aus:


    1 = KEY_1
    2 = KEY_2
    3 = KEY_3
    4 = KEY_4
    5 = KEY_5
    6 = KEY_6
    7 = KEY_7
    8 = KEY_8
    9 = KEY_9
    0 = KEY_0
    Shuffle = KEY_PVR
    Mode = KEY_MENU
    VolumeDown = KEY_VOLUMEUP
    VolumeUp = KEY_VOLUMEDOWN
    Text = KEY_CHANNELS
    OK = KEY_OK
    Up = KEY_UP
    Down = KEY_DOWN
    Left = KEY_LEFT
    Right = KEY_RIGHT
    ChannelDown = KEY_CHANNELDOWN
    ChannelUp = KEY_CHANNELUP
    Exit = KEY_ESC
    Red = KEY_RED
    Green = KEY_GREEN
    Yellow = KEY_YELLOW
    Blue = KEY_BLUE
    Record = KEY_RECORD
    Play = KEY_PLAY
    Stop = KEY_STOP
    Info = KEY_INFO
    Rewind = KEY_REWIND
    Pause = KEY_PAUSE
    Forward = KEY_FASTFORWARD
    EPG = KEY_EPG
    Mute = KEY_MUTE


    den zweiten S2-3600 hab ich jetzt mal testweise abgezogen.
    bei irw kommt nichts an, ir-keytable gibt immer noch
    Couldn't find any node at /sys/class/rc/rc* aus.


    Aber die Up und Down Tasten reagieren jetzt.

  • das hatte ich ja ueberlesen. die ausgabe von evtest sollte ich noch reinstellen.


    root@vdr:~# evtest /dev/input/event3
    Input driver version is 1.0.1
    Input device ID: bus 0x3 vendor 0xb48 product 0x3007 version 0x101
    Input device name: "IR-receiver inside an USB DVB receiver"
    Supported events:
    Event type 0 (Sync)
    Event type 1 (Key)
    Event code 2 (1)
    Event code 3 (2)
    Event code 4 (3)
    Event code 5 (4)
    Event code 6 (5)
    Event code 7 (6)
    Event code 8 (7)
    Event code 9 (8)
    Event code 10 (9)
    Event code 11 (0)
    Event code 103 (Up)
    Event code 105 (Left)
    Event code 106 (Right)
    Event code 108 (Down)
    Event code 113 (Mute)
    Event code 114 (VolumeDown)
    Event code 115 (VolumeUp)
    Event code 116 (Power)
    Event code 119 (Pause)
    Event code 128 (Stop)
    Event code 141 (Setup)
    Event code 159 (Forward)
    Event code 167 (Record)
    Event code 168 (Rewind)
    Event code 174 (Exit)
    Event code 207 (Play)
    Event code 352 (Ok)
    Event code 357 (Option)
    Event code 358 (Info)
    Event code 365 (EPG)
    Event code 373 (Mode)
    Event code 388 (Text)
    Event code 398 (Red)
    Event code 399 (Green)
    Event code 400 (Yellow)
    Event code 401 (Blue)
    Event code 402 (ChannelUp)
    Event code 403 (ChannelDown)
    Event code 410 (Shuffle)
    Testing ... (interrupt to exit)

  • Hallo, lircd ist im Webfrontend aber deaktiviert, oder?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Ja, Lirc ist aus. Ich hatte noch ein paar Kleinigkeiten (falsche Schreibweise, OK statt Ok) geändert und noch
    die Powertaste ergänzt. Muss man beim Format der Datei noch was beachten? Nur Tabs statt Leerzeichen oder sowas?

  • Höchstens dass Linux-Zeilenumbrüche verwendet werden - also nicht mit dem Windows Editor/Notepad editieren...
    Kannst du noch mal folgendes ausführen, vielleicht greift die udev-Regel noch nicht richtig...

    Code
    sudo udevadm info --query=all --attribute-walk --name=/dev/input/event3

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Ok, dann sollte es passen. Hab direkt auf dem VDR editiert.


    Die Ausgabe von udevadm (aktuell ist es jetzt event4):


    root@vdr:~# udevadm info --query=all --attribute-walk --name=/dev/input/event4


    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.


    looking at device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/input/input4/event4':
    KERNEL=="event4"
    SUBSYSTEM=="input"
    DRIVER==""


    looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/input/input4':
    KERNELS=="input4"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{name}=="IR-receiver inside an USB DVB receiver"
    ATTRS{phys}=="usb-0000:00:1d.7-2/ir0"
    ATTRS{uniq}==""
    ATTRS{properties}=="0"


    looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2':
    KERNELS=="1-2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}==" 10mA"
    ATTRS{urbnum}=="9317848"
    ATTRS{idVendor}=="0b48"
    ATTRS{idProduct}=="3007"
    ATTRS{bcdDevice}=="0101"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="2"
    ATTRS{devpath}=="2"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="TechnoTrend"
    ATTRS{product}=="TT-USB2.0"
    ATTRS{serial}=="ALILMB"



    looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}==" 0mA"
    ATTRS{urbnum}=="60"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0206"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="1"
    ATTRS{devpath}=="0"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="8"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 2.6.38-12-generic ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:1d.7"
    ATTRS{authorized_default}=="1"


    looking at parent device '/devices/pci0000:00/0000:00:1d.7':
    KERNELS=="0000:00:1d.7"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x8086"
    ATTRS{device}=="0x27cc"
    ATTRS{subsystem_vendor}=="0x1043"
    ATTRS{subsystem_device}=="0x83e7"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="23"
    ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
    ATTRS{local_cpulist}=="0-3"
    ATTRS{numa_node}=="-1"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    ATTRS{companion}==""


    looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""


    root@vdr:~#

Jetzt mitmachen!

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