Hi,
ich verwende einen Ubuntu 11.04 (natty) Server und habe hier die yaVDR PPAs eingebunden und diverse Pakete installiert.
Ich hoffe das ich es richtig verstanden habe, dass ab natty bzw Kernel 2.6.35(?) die Treiber für die jeweiligen IR Receiver jetzt im Kernel liegen.
Zu meiner Hardware
Gehäuse :Antec Fusion Remote mit integriertem Display/IR Receiver
Fernbedienung: Nachdem dir Original FB zufriedenstelelnd läuft, werde ich die Harmony 515 nutzen
Hier die Infos, wie das System diese HW erkennt
$ lsusb | grep -i sound
Bus 003 Device 003: ID 15c2:0038 SoundGraph Inc. GD01 MX VFD Display/IR Receiver
$ lsmod | grep -i imon
rc_imon_pad 12505 0
imon 32030 0
ir_core 25995 10 ir_lirc_codec,ir_sony_decoder,rc_imon_pad,imon,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,dvb_usb,ir_nec_decoder
$ dmesg | grep -i imon
[3.580183] Registered IR keymap rc-imon-pad
[3.580497] input: iMON Remote (15c2:0038) as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/rc/rc0/input3
[3.580812] rc0: iMON Remote (15c2:0038) as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/rc/rc0
[3.610527] imon 3-2:1.0: iMON device (15c2:0038, intf0) on usb<3:2> initialized
[3.625765] imon 3-2:1.1: iMON device (15c2:0038, intf1) on usb<3:2> initialized
[3.625890] usbcore: registered new interface driver imon
[7.275091] imon 3-2:1.0: Looks like you're trying to use an IR protocol this device does not support
[7.275101] imon 3-2:1.0: Unsupported IR protocol specified, overriding to iMON IR protocol
[ 11.540375] input: iMON Remote (15c2:0038) (lircd bypass) as /devices/virtual/input/input6
$ ll /dev/input/by-id/usb-15c2_0038-*
lrwxrwxrwx 1 root root 9 2011-11-17 00:30 /dev/input/by-id/usb-15c2_0038-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 2011-11-17 00:30 /dev/input/by-id/usb-15c2_0038-mouse -> ../mouse0
$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver imon, table rc-imon-pad
Supported protocols: other
Enabled protocols:
Repeat delay = 500 ms, repeat period = 33 ms
$ sudo evtest /dev/input/by-id/usb-15c2_0038-event-mouse
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x15c2 product 0x38 version 0x2
Input device name: "iMON Remote (15c2:0038)"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 1 (Esc)
Event code 14 (Backspace)
Event code 28 (Enter)
Event code 57 (Space)
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 127 (Compose)
Event code 128 (Stop)
Event code 139 (Menu)
Event code 148 (Prog1)
Event code 154 (CycleWindows)
Event code 156 (Bookmarks)
Event code 161 (EjectCD)
Event code 162 (EjectCloseCD)
Event code 164 (PlayPause)
Event code 167 (Record)
Event code 168 (Rewind)
Event code 174 (Exit)
Event code 204 (?)
Event code 207 (Play)
Event code 208 (Fast Forward)
Event code 212 (Camera)
Event code 226 (Media)
Event code 272 (LeftBtn)
Event code 273 (RightBtn)
Event code 353 (Select)
Event code 359 (Time)
Event code 368 (Language)
Event code 370 (Subtitle)
Event code 372 (Zoom)
Event code 374 (Keyboard)
Event code 375 (Screen)
Event code 377 (TV)
Event code 389 (DVD)
Event code 392 (Audio)
Event code 393 (Video)
Event code 402 (ChannelUp)
Event code 403 (ChannelDown)
Event code 407 (Next)
Event code 412 (Previous)
Event code 438 (?)
Event code 512 (?)
Event code 513 (?)
Event code 514 (?)
Event code 515 (?)
Event code 516 (?)
Event code 517 (?)
Event code 518 (?)
Event code 519 (?)
Event code 520 (?)
Event code 521 (?)
Event code 522 (?)
Event code 523 (?)
Event type 2 (Relative)
Event code 0 (X)
Event code 1 (Y)
Event code 8 (Wheel)
Event type 4 (Misc)
Event code 4 (ScanCode)
Event type 20 (Repeat)
Alles anzeigen
Daraufhin habe ich dann den lirc einfach wie folgt konfiguriert:
$ cat /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Linux input layer (/dev/input/eventX)"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/by-id/usb-15c2_0038-event-mouse"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="/usr/share/lirc/remotes/devinput/lircd.conf.devinput"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
Alles anzeigen
Das positive jetzt: mittels irw kann ich alle Tasten empfangen
Das Problem:
Wenn ich alle Tasten durcheinander mittels irw teste werden diese richtig erkannt, ABER manchmal werden Tastensignale von irw zwar richtig, aber auch nach dem loslassen weiterhin erkannt als wenn ich diese gedrückt halten würde!
irw "empfängt" auch weiterhin Signale, wenn ich die Batterie aus der Fernbedienung entnehme!
Die Ausgabe geht so lange in irw weiter, bis eine neue Taste gedrückt+erkannt wird! Das Signal der neuen Taste wird allerdings nicht im irw angezeigt, so dass es aussieht als wenn irw hier nur auf das Stop Signal wartet?! Danch wird die nächste Taste wieder normal erkannt, bis irgendeine taste wieder die Ausgabe im irw macht, als wenn diese "eingeklemmt" wäre.
Ausschließen kann ich:
- leere Batterie, da ich beide Ferbedienungen getestet habe
Ich hoffe ihr könnt verstehen, wass ich für ein Problem habe?
Danke fürs lesen und antworten schonmal im voraus!!!