Hallo,
nach erfolgreichem Start mit yavdr-ansible hakt es jetzt mit der Einbindung der zweiten Fernbedienung.
Neben einem im Gehäuse vorhandenen imon-Empfänger habe ich noch einen externen über USB angebundenen Empfänger.
Diese Kombi läuft mit eigenen Keymaps in yavdr6 seit Jahren problemlos.
Unter ansible wird nur der imon-Empfänger richtig erkannt und die eigene modifizerte Keymap geladen.
Den externen MCE-Empfänger schnappt sich irgendwie lirc.
ir-keytable -v liefert folgendes:
Gerät /sys/class/rc/rc1/ gefunden
Gerät /sys/class/rc/rc0/ gefunden
Uevent /sys/class/rc/rc1/lirc0/uevent wird ausgewertet.
/sys/class/rc/rc1/lirc0/uevent Uevent MAJOR=244
/sys/class/rc/rc1/lirc0/uevent Uevent MINOR=0
/sys/class/rc/rc1/lirc0/uevent Uevent DEVNAME=lirc0
Eingabe-Sysfs-Knoten ist /sys/class/rc/rc1/input9/
Ereignis-Sysfs-Knoten ist /sys/class/rc/rc1/input9/event7/
Uevent /sys/class/rc/rc1/input9/event7/uevent wird ausgewertet.
/sys/class/rc/rc1/input9/event7/uevent Uevent MAJOR=13
/sys/class/rc/rc1/input9/event7/uevent Uevent MINOR=71
/sys/class/rc/rc1/input9/event7/uevent Uevent DEVNAME=input/event7
Uevent /sys/class/rc/rc1/uevent wird ausgewertet.
/sys/class/rc/rc1/uevent Uevent NAME=rc-rc6-mce
/sys/class/rc/rc1/uevent Uevent DRV_NAME=mceusb
/sys/class/rc/rc1/uevent Uevent DEV_NAME=Media Center Ed. eHome Infrared Remote Transceiver (147a:e042)
Eingabegerät ist /dev/input/event7
/sys/class/rc/rc1/protocols-Protokoll rc-5 (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll nec (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll rc-6 (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll jvc (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll sony (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll rc-5-sz (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll sanyo (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll sharp (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll mce_kbd (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll xmp (deaktiviert)
/sys/class/rc/rc1/protocols-Protokoll lirc (aktiviert)
/sys/class/rc/rc1/ gefunden (/dev/input/event7) mit:
Name: Media Center Ed. eHome Infrared Remote Transceiver (147a:e042)
Treiber: mceusb, Tabelle: rc-rc6-mce
Lirc Gerät: /dev/lirc0
unterstützte Protokolle: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Aktivierte Protokolle: lirc
bus: 3, Anbieter/Produkt: 147a:e042, Version: 0x1101
Bei /sys/class/rc/rc0/lirc* konnte kein Knoten gefunden werden.
Eingabe-Sysfs-Knoten ist /sys/class/rc/rc0/input8/
Ereignis-Sysfs-Knoten ist /sys/class/rc/rc0/input8/event5/
Uevent /sys/class/rc/rc0/input8/event5/uevent wird ausgewertet.
/sys/class/rc/rc0/input8/event5/uevent Uevent MAJOR=13
/sys/class/rc/rc0/input8/event5/uevent Uevent MINOR=69
/sys/class/rc/rc0/input8/event5/uevent Uevent DEVNAME=input/event5
Uevent /sys/class/rc/rc0/uevent wird ausgewertet.
/sys/class/rc/rc0/uevent Uevent NAME=rc-imon-pad
/sys/class/rc/rc0/uevent Uevent DRV_NAME=imon
/sys/class/rc/rc0/uevent Uevent DEV_NAME=iMON Remote (15c2:0034)
Eingabegerät ist /dev/input/event5
/sys/class/rc/rc0/protocols-Protokoll other (aktiviert)
/sys/class/rc/rc0/protocols-Protokoll rc-6 (deaktiviert)
/sys/class/rc/rc0/ gefunden (/dev/input/event5) mit:
Name: iMON Remote (15c2:0034)
Treiber: imon, Tabelle: rc-imon-pad
unterstützte Protokolle: other rc-6
Aktivierte Protokolle: other
bus: 3, Anbieter/Produkt: 15c2:0034, Version: 0x0016
Wiederholungsverzögerung = 500 ms, Wiederholungsperiode = 125 ms
Wiederholungsverzögerung = 500 ms, Wiederholungsperiode = 125 ms
Alles anzeigen
Eine probeweise Installation mit Ubuntu 18.04 Desktop führt zu zwei funktionierenden Fernbedienungen.
Der Unterschied scheint ein laden von lirc_dev zu sein.
lsmod liefert:
Module Size Used by
nvidia_uvm 36864 0
wmi_bmof 16384 0
snd_hda_codec_hdmi 49152 1
edac_mce_amd 28672 0
kvm_amd 86016 0
kvm 598016 1 kvm_amd
irqbypass 16384 1 kvm
serio_raw 16384 0
k10temp 16384 0
isl6423 16384 2
nvidia 10559488 58 nvidia_uvm
stv6110x 16384 2
drm 401408 3 nvidia
stv090x 69632 2
shpchp 36864 0
snd_hda_codec_realtek 106496 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
budget 20480 20
ir_rc6_decoder 16384 0
budget_core 20480 1 budget
ttpci_eeprom 16384 1 budget_core
rc_rc6_mce 16384 0
joydev 24576 0
saa7146 28672 2 budget,budget_core
input_leds 16384 0
dvb_core 126976 2 budget,budget_core
ir_lirc_codec 16384 0
lirc_dev 16384 2 ir_lirc_codec
ftdi_sio 53248 0
rc_imon_pad 16384 0
mceusb 32768 0
usbserial 45056 1 ftdi_sio
snd_usb_audio 204800 2
snd_usbmidi_lib 32768 1 snd_usb_audio
snd_rawmidi 32768 1 snd_usbmidi_lib
imon 36864 0
rc_core 36864 9 imon,lirc_dev,ir_lirc_codec,mceusb,ir_rc6_decoder,rc_imon_pad,rc_rc6_mce
snd_seq_device 16384 1 snd_rawmidi
snd_hda_intel 40960 4
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 2 snd_usb_audio,snd_hda_codec
snd_pcm 98304 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer 32768 1 snd_pcm
snd 81920 23 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
asus_atk0110 20480 0
wmi 24576 1 wmi_bmof
mac_hid 16384 0
sch_fq_codel 20480 2
ib_iser 49152 0
rdma_cm 61440 1 ib_iser
iw_cm 45056 1 rdma_cm
ib_cm 53248 1 rdma_cm
ib_core 225280 4 rdma_cm,iw_cm,ib_iser,ib_cm
iscsi_tcp 20480 0
nfsd 339968 13
auth_rpcgss 61440 1 nfsd
nfs_acl 16384 1 nfsd
lockd 90112 1 nfsd
grace 16384 2 nfsd,lockd
sunrpc 335872 18 nfsd,auth_rpcgss,lockd,nfs_acl
libiscsi_tcp 20480 1 iscsi_tcp
libiscsi 53248 3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi 98304 3 iscsi_tcp,ib_iser,libiscsi
ip_tables 28672 0
x_tables 40960 1 ip_tables
autofs4 40960 4
btrfs 1122304 0
zstd_compress 163840 1 btrfs
raid10 53248 0
raid456 143360 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 16384 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 24576 2 async_xor,btrfs
raid6_pq 114688 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 1 raid456
raid1 40960 0
raid0 20480 0
multipath 16384 0
linear 16384 0
uas 24576 0
usb_storage 69632 1 uas
hid_generic 16384 0
hid_logitech_hidpp 32768 0
hid_logitech_dj 20480 0
usbhid 49152 0
hid 118784 4 usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
psmouse 147456 0
forcedeth 69632 0
ahci 40960 4
libahci 32768 1 ahci
i2c_nforce2 16384 0
video 45056 0
Alles anzeigen
Da weiß ich jetzt aber nicht mehr weiter.
Das übliche Vorgehen mit irw, evtest und mode2 habe ich schon probiert - immer nur Ausgaben bei rc0.
Gruß
joe_pow