dino
13.02.2016, 13:48
Ich bin's schon wieder. Wie in einem anderen Thread ja schon geschrieben, hab ich mir eine ZOTAC CI323 ZBox als neuen HTPC zugelegt. Läuft mit Ubuntu und KODI so weit ganz gut.
Hab jetzt noch das Problem mit der Fernbedienung. Googel mir schon einen Wolf.
Ich muss gestehen, dass mir total der Kopf schwirrt bei den ganzen Infos. Einmal braucht man LIRC, einmal nicht. Einmal kann das der Kernel und alles funktioniert "out of the box". Dann braucht man inputlircd.
Ich raff es nicht.
Ich benutze eine Logitech Fernbedienugn und habe dort die ZBOX CI320 hinterlegt. Dafür habe ich auch eine keymap rc-rc6-zotac gefunden.
Was ich bisher laufen habe:
sudo ir-keytable -c -p rc-6 -w /lib/udev/rc_keymaps/rc-rc6-zotac -t
Zeit mir die korrekte Taste an. Z.B.:
1455370748.497786: event type EV_MSC(0x04): scancode = 0x80348411
1455370748.497786: event type EV_KEY(0x01) key_down: KEY_VOLUMEDOWN(0x0001)
1455370748.497786: event type EV_SYN(0x00).
1455370748.603701: event type EV_MSC(0x04): scancode = 0x80348411
1455370748.603701: event type EV_SYN(0x00).
1455370748.724486: event type EV_MSC(0x04): scancode = 0x80348411
1455370748.724486: event type EV_SYN(0x00).
1455370748.975195: event type EV_KEY(0x01) key_up: KEY_VOLUMEDOWN(0x0001)
1455370748.975195: event type EV_SYN(0x00).
cat /proc/bus/input/devices findet 2 Einträge, die offenbar zum eingebauten IR passen:
I: Bus=0019 Vendor=1050 Product=00c5 Version=0062
N: Name="Nuvoton w836x7hg Infrared Remote Transceiver"
P: Phys=nuvoton/cir0
S: Sysfs=/devices/pnp0/00:04/rc/rc0/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=100013
B: KEY=8fc010 405100000000 0 18c00 18040308801 8e168000000000 ffe
B: MSC=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="MCE IR Keyboard/Mouse (nuvoton-cir)"
P: Phys=/input0
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=sysrq kbd mouse0 event4
B: PROP=0
B: EV=100017
B: KEY=30000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=3
B: MSC=10
cat /dev/input/event3 gibt mir wenigstens einen kryptischen Output, wenn ich auf der FB eine Taste drücke.
Wie bringe ich jetzt KODI bei darauf zu reagieren?
Gruß
Dino
Hab jetzt noch das Problem mit der Fernbedienung. Googel mir schon einen Wolf.
Ich muss gestehen, dass mir total der Kopf schwirrt bei den ganzen Infos. Einmal braucht man LIRC, einmal nicht. Einmal kann das der Kernel und alles funktioniert "out of the box". Dann braucht man inputlircd.
Ich raff es nicht.
Ich benutze eine Logitech Fernbedienugn und habe dort die ZBOX CI320 hinterlegt. Dafür habe ich auch eine keymap rc-rc6-zotac gefunden.
Was ich bisher laufen habe:
sudo ir-keytable -c -p rc-6 -w /lib/udev/rc_keymaps/rc-rc6-zotac -t
Zeit mir die korrekte Taste an. Z.B.:
1455370748.497786: event type EV_MSC(0x04): scancode = 0x80348411
1455370748.497786: event type EV_KEY(0x01) key_down: KEY_VOLUMEDOWN(0x0001)
1455370748.497786: event type EV_SYN(0x00).
1455370748.603701: event type EV_MSC(0x04): scancode = 0x80348411
1455370748.603701: event type EV_SYN(0x00).
1455370748.724486: event type EV_MSC(0x04): scancode = 0x80348411
1455370748.724486: event type EV_SYN(0x00).
1455370748.975195: event type EV_KEY(0x01) key_up: KEY_VOLUMEDOWN(0x0001)
1455370748.975195: event type EV_SYN(0x00).
cat /proc/bus/input/devices findet 2 Einträge, die offenbar zum eingebauten IR passen:
I: Bus=0019 Vendor=1050 Product=00c5 Version=0062
N: Name="Nuvoton w836x7hg Infrared Remote Transceiver"
P: Phys=nuvoton/cir0
S: Sysfs=/devices/pnp0/00:04/rc/rc0/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=100013
B: KEY=8fc010 405100000000 0 18c00 18040308801 8e168000000000 ffe
B: MSC=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="MCE IR Keyboard/Mouse (nuvoton-cir)"
P: Phys=/input0
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=sysrq kbd mouse0 event4
B: PROP=0
B: EV=100017
B: KEY=30000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=3
B: MSC=10
cat /dev/input/event3 gibt mir wenigstens einen kryptischen Output, wenn ich auf der FB eine Taste drücke.
Wie bringe ich jetzt KODI bei darauf zu reagieren?
Gruß
Dino