cat /dev/input/event16 liefert nun Signale der FB.
inputlircd ist wie folgt konfiguriert und gestartet:
Zitatcat /etc/conf.d/inputlircd
# Options to pass to the lircd process
#INPUTLIRCD_OPTS="/dev/input/event16 -d /dev/input/ir"
EVENTS="dev/input"
INPUTLIRCD_OPTS="/dev/input/event16"
Zitatir-keytable -r
zeigte nur einen Scancode und keine Keys- Also mittels
Zitat/lib/udev/keymap -i /dev/input/event16 > manuelle_keycodes
habe ich alle Tatstencodes der FB einlesen lassen. Unter /etc/rc_keymaps finden sich bereits definierte maps. Habe in Anlehnung an diese eine neue technisat-ts35 mit den passenden Signalen erstellt.
ZitatAlles anzeigencat /etc/rc_keymaps/technisat_ts35
# table technisat_ts35, type: unknown
0x32 KEY_MUTE
0x33 KEY_POWER
0x3e KEY_1
0x3d KEY_2
0x3c KEY_3
0x3b KEY_4
0x3a KEY_5
0x39 KEY_6
0x38 KEY_7
0x37 KEY_8
0x36 KEY_9
0x1c KEY_VIDEO
0x3f KEY_0
0x35 KEY_DIGITS
0x14 KEY_RED
0x13 KEY_GREEN
0x12 KEY_YELLOW
0x11 KEY_BLUE
0x1f KEY_UP
0x2e KEY_LEFT
0x28 KEY_OK
0x2f KEY_RIGHT
0x1e KEY_DOWN
0x10 KEY_EPG
0x1d KEY_BACK
0x20 KEY_INFO
0x1f KEY_CHANNELUP
0x2c KEY_RADIO
0x2f KEY_VOLUMEUP
0x1e KEY_CHANNELDOWN
0x2d KEY_MENU
0x2e KEY_VOLUMEDOWN
0x30 KEY_HELP
0x03 KEY_TEXT
0x16 KEY_STOP
0x07 KEY_EXIT
0x09 KEY_SELECT
ZitatAlles anzeigenir-keytable -s
scancode 0x0003 = KEY_TEXT (0x184)
scancode 0x0007 = KEY_EXIT (0xae)
scancode 0x0009 = KEY_SELECT (0x161)
scancode 0x0010 = KEY_EPG (0x16d)
scancode 0x0011 = KEY_BLUE (0x191)
scancode 0x0012 = KEY_YELLOW (0x190)
scancode 0x0013 = KEY_GREEN (0x18f)
scancode 0x0014 = KEY_RED (0x18e)
scancode 0x0016 = KEY_STOP (0x80)
scancode 0x001c = KEY_VIDEO (0x189)
scancode 0x001d = KEY_BACK (0x9e)
scancode 0x001e = KEY_CHANNELDOWN (0x193)
scancode 0x001f = KEY_CHANNELUP (0x192)
scancode 0x0020 = KEY_INFO (0x166)
scancode 0x0028 = KEY_OK (0x160)
scancode 0x002a = KEY_COFFEE (0x98)
scancode 0x002c = KEY_RADIO (0x181)
scancode 0x002d = KEY_MENU (0x8b)
scancode 0x002e = KEY_VOLUMEDOWN (0x72)
scancode 0x002f = KEY_VOLUMEUP (0x73)
scancode 0x0030 = KEY_HELP (0x8a)
scancode 0x0032 = KEY_MUTE (0x71)
scancode 0x0033 = KEY_POWER (0x74)
scancode 0x0035 = KEY_DIGITS (0x19d)
scancode 0x0036 = KEY_9 (0x0a)
scancode 0x0037 = KEY_8 (0x09)
scancode 0x0038 = KEY_7 (0x08)
scancode 0x0039 = KEY_6 (0x07)
scancode 0x003a = KEY_5 (0x06)
scancode 0x003b = KEY_4 (0x05)
scancode 0x003c = KEY_3 (0x04)
scancode 0x003d = KEY_2 (0x03)
scancode 0x003e = KEY_1 (0x02)
scancode 0x003f = KEY_0 (0x0b)
Enabled protocols:
Danach erkannte der vdr die Signale der FB beim Anlernen.