[gelöst] [0.4] LIRC mit Homebrew receiver geht nicht
- JurKub
- Geschlossen
-
-
Ich frage nur, weil mir der unvollständige Pfad zur Lircd.conf in der Ausgabe von irw komisch vorkommt...
Bei mir sieht das so aus:Codesudo irw /var/run/lirc/lircd.965 0000000000001795 00 KEY_DOWN hvr4000-2 0000000000001797 00 KEY_RIGHT hvr4000-2 0000000000001797 01 KEY_RIGHT hvr4000-2
Wobei "hvr4000-2" der Name der definierten Fernbedienung in der lircd.conf ist.
-
-
Läuft eventlircd denn?
Was sagt cat /proc/bus/input/devices -
Läuft eventlircd denn?
Was sagt cat /proc/bus/input/devices
ja eventlircd läuft, andere Tasten funktionieren dochCodeirw 8b 0 KEY_MENU devinput 8b 1 KEY_MENU devinput 1 0 KEY_ESC devinput 1 1 KEY_ESC devinput 6c 0 KEY_DOWN devinput 6c 1 KEY_DOWN devinput 67 0 KEY_UP devinput 67 1 KEY_UP devinput
Code
Alles anzeigencat /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=0000 Vendor=0000 Product=0000 Version=0000 N: Name="HDA NVidia Headphone" P: Phys=ALSA S: Sysfs=/devices/pci0000:00/0000:00:08.0/sound/card0/input2 U: Uniq= H: Handlers=event2 B: PROP=0 B: EV=21 B: SW=4 I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="lircd" P: Phys= S: Sysfs=/devices/virtual/input/input9 U: Uniq= H: Handlers=sysrq rfkill kbd event3 B: PROP=0 B: EV=100003 B: KEY=1ffffffffffff ffffffffffffffff ffffffffffffffff fffffffffffffffe
-
Und das ist sicher ein vollwertiger yaVDR 0.4 auf Basis von Ubuntu Natty? Sind da irgendwelche zusätzlichen DVB-Treiberpakete, Lirc-Versionen oder so installiert worden?
-
nee, das ist ein reiner yavdr0.4
-
Code
Alles anzeigenaptitude show lirc Package: lirc State: installed Automatically installed: yes Version: 0.9.0-0ubuntu1 Priority: extra Section: utils Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> Uncompressed Size: 2.933 k Depends: libasound2 (> 1.0.24.1), libc6 (>= 2.7), libftdi1 (>= 0.18), liblircclient0 (>= 0.6.4), libportaudio2 (>= 19+svn20101113), libusb-0.1-4 (>= 2:0.1.12), debconf (>= 0.5) | debconf-2.0, lsb-base, setserial Recommends: udev Suggests: lirc-x Conflicts: lirc-modules-source, makedev (< 2.3.1-88) Replaces: lirc-modules-source Description: infra-red remote control support LIRC stands for 'Linux Infra-red Remote Control'. This package provides the daemons and some utilities to support infra-red remote controls under Linux. aptitude show eventlircd Package: eventlircd State: installed Automatically installed: no Version: 0.0.1+svn20110409.0930-4yavdr1~natty Priority: extra Section: utils Maintainer: Holger Schvestka <hotzenplotz5@gmx.de> Uncompressed Size: 201 k Description: The eventlircd daemon provides additional functions for LIRC devices Eventlircd provides four functions for LIRC devices converting multiple Linux input event devices into an lircd socket, separating keyboard and mouse/joystick functionality, mapping keyboard shortcut key code sequences to single key codes, and hotplugging using udev
-
Das bei dir installierte Lirc-Paket stammt nicht aus dem main-PPA von yaVDR. Daher funktionieren da bestimmte Tasten nicht, da der nötige Patch fehlt.
Bei mir sieht es so aus:Code
Alles anzeigen@VDR:~$ aptitude show lirc Package: lirc State: installed Automatically installed: yes Version: 0.8.7-1yavdr1 Priority: extra Section: utils Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> Uncompressed Size: 2.798 k Depends: libasound2 (> 1.0.24.1), libc6 (>= 2.7), libftdi1 (>= 0.18), liblircclient0 (>= 0.6.4), libportaudio2 (>= 19+svn20101113), libusb-0.1-4 (>= 2:0.1.12), debconf (>= 0.5) | debconf-2.0, lsb-base, setserial Recommends: udev Suggests: lirc-modules-source, lirc-x Conflicts: makedev (< 2.3.1-88) Description: infra-red remote control support LIRC stands for 'Linux Infra-red Remote Control'. This package provides the daemons and some utilities to support infra-red remote controls under Linux.
Nutzt du proposed Quellen oder andere PPAs?
Was sagt lsb_release -a -
ich habe das Problem gelöst, vielen Dank an seahawk1986. Es lag an der Version von lirc
Codelsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.04 Release: 11.04 Codename: natty
wie kann ich das Paket (lirc) so markieren, dass es beim Upgrade nicht aktualisiert wird? -
-
Ich wundere mich immer noch, wo die 0.9 herkommt
Da wäre doch ein "apt-cache policy lirc" angebracht um das rauszufinden
pycak: Mach doch mal, alle Mitleser sind neugierig
cu
-
Oh, ich habe es total vergessen, ich habe ein weiteres Repo hinzugefügt für XBMC, scheinbar kommt daher die unerwünschte Lirc-Version
Code
Alles anzeigenapt-cache policy lirc lirc: Installiert: 0.8.7-1yavdr1 Kandidat: 0.9.0-0ubuntu1 Versionstabelle: 0.9.0-0ubuntu1 0 500 http://ppa.launchpad.net/alexandr-surkov/test2/ubuntu/ natty/main amd64 Packages *** 0.8.7-1yavdr1 0 500 http://ppa.launchpad.net/yavdr/main/ubuntu/ natty/main amd64 Packages 100 /var/lib/dpkg/status 0.8.7-0ubuntu4.1 0 500 http://de.archive.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages 0.8.7-0ubuntu4 0 500 http://de.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
jetzt ist alles klar, Fehler und Unklarheiten beseitigt.
-
IMHO wäre es sinnig lirc nicht zu halten sondern auf yaVDR festzunageln (dann bekommst du von dort evtl. Updates des Paketes).
In /etc/apt/preferences.d ne neue Datei erstellen und dann sowas
---
Package: lirc
Pin: release o=Debian, a=unstable
Pin-Priority: 990
---
(die möglichen Werte für "Pin:" erfährst du mit "apt-cache policy")Du kannst auch das yaVDR genrell niedriger als die orginal ubuntu Quellen und über alle anderen festnageln
---
# e-Tobi
Package: *
Pin: release o=e-tobi.net, n=squeeze
Pin-Priority: 850
---
(hier mein Eintrag für e-Tobi wo ich einige ausgewählte Pakete nutze)IMHO sinnig sich das so einzurichten wenn man mehere Repositories nutzt. Sonst kommt da schnell mal was durcheinander.
cu
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!