Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 |
wget http://dl.dropbox.com/u/960809/list-rc-core.sh chmod +x list-rc-core.sh sudo ./list-rc-core.sh # gibt Vorschläge für Keytables und einen Eintrag in der /etc/rc_maps.conf aus |
|
|
Source code |
1 |
sudo ./list-rc-core.sh set # !Experimentell! Erstellt die Keytables unter /etc/rc_keymaps und erzeugt custom Templates für die /etc/rc_maps.cfg |

This post has been edited 3 times, last edit by "seahawk1986" (Nov 15th 2012, 9:58am)
, es hat bei mir wunderbar funktioniert |
|
Source code |
1 2 3 4 5 |
# table rc-rc6-mce, type:NEC,RC-5,RC-6,JVC,SONY,LIRC,other 0x800f0400 = KEY_NUMERIC_0 0x800f0401 = KEY_NUMERIC_1 0x800f0402 = KEY_NUMERIC_2 .... |
This post has been edited 1 times, last edit by "faithful" (Nov 27th 2011, 11:14am)
Da ich kein Spezialist hätte ich noch eine kurze frage, was war an dieser zeile falsch?
könnte es auswirkungen haben?
# table rc-rc6-mce, type:NEC,RC-5,RC-6,JVC,SONY,LIRC,other
|
|
Source code |
1 |
# table rc-rc6-mce, type: RC-6 |
|
|
Source code |
1 |
# table rc-rc6-mce, type: RC-6 |
|
|
Source code |
1 2 3 4 |
Read rc-rc6-mce table Old keytable cleared Wrote 63 keycode(s) to driver Protocols changed to RC-6 |
|
|
Source code |
1 |
nuvoton-cir rc-rc6-mce /etc/rc_keymaps/rc-rc6-mce |
|
|
Source code |
1 2 3 4 5 |
# table rc-terratec-cinergy-s2-hd, type: RC-5 ... 0x0016 = KEY_PVR ... 0x003e = KEY_POWER2 |
|
|
Source code |
1 2 |
# mantis_core * /lib/udev/rc_keymaps/skystarhd2 mantis_core * /etc/rc_keymaps/rc-terratec-cinergy-s2-hd |
Wenn du einmal die komplette table hier posten würdest, würden wir das dann im selben Zuge übernehmen![]()
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
0x0003 = KEY_NEXT 0x0007 = KEY_RECORD 0x000b = KEY_NEXT 0x0010 = KEY_FASTFORWARD 0x0011 = KEY_REWIND 0x0012 = KEY_ESC 0x0013 = KEY_PLAY 0x0014 = KEY_PROG2 0x0015 = KEY_AUDIO 0x0016 = KEY_PVR 0x0017 = KEY_STOP 0x0018 = KEY_DVD 0x0019 = KEY_CHANNEL 0x001a = KEY_TIME 0x001b = KEY_TEXT 0x001c = KEY_SUBTITLE 0x001d = KEY_MENU 0x001e = KEY_PROG1 0x001f = KEY_PAUSE 0x0020 = KEY_CHANNELDOWN 0x0021 = KEY_VOLUMEDOWN 0x0022 = KEY_MUTE 0x0023 = KEY_VOLUMEUP 0x0024 = KEY_CHANNELUP 0x0025 = KEY_BLUE 0x0026 = KEY_YELLOW 0x0027 = KEY_GREEN 0x0028 = KEY_RED 0x0029 = KEY_INFO 0x002b = KEY_DOWN 0x002c = KEY_RIGHT 0x002d = KEY_OK 0x002e = KEY_LEFT 0x002f = KEY_UP 0x0030 = KEY_EPG 0x0032 = KEY_MODE 0x0033 = KEY_0 0x0034 = KEY_SETUP 0x0035 = KEY_9 0x0036 = KEY_8 0x0037 = KEY_7 0x0038 = KEY_6 0x0039 = KEY_5 0x003a = KEY_4 0x003b = KEY_3 0x003c = KEY_2 0x003d = KEY_1 0x003e = KEY_POWER2 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
###*** sudo ir-keytable for rc0 ***###
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Enabled protocols: NEC RC-5 RC-6 JVC SONY LIRC other
##########################################
*** keytable rc-rc6-mce for nuvoton-cir ***
# table rc-rc6-mce, type: NEC RC-5 RC-6 JVC SONY LIRC other
0x800f0400 = KEY_NUMERIC_0
0x800f0401 = KEY_NUMERIC_1
0x800f0402 = KEY_NUMERIC_2
0x800f0403 = KEY_NUMERIC_3
0x800f0404 = KEY_NUMERIC_4
0x800f0405 = KEY_NUMERIC_5
0x800f0406 = KEY_NUMERIC_6
0x800f0407 = KEY_NUMERIC_7
0x800f0408 = KEY_NUMERIC_8
0x800f0409 = KEY_NUMERIC_9
0x800f040a = KEY_DELETE
0x800f040b = KEY_ENTER
0x800f040c = KEY_SLEEP
0x800f040d = KEY_MEDIA
0x800f040e = KEY_MUTE
0x800f040f = KEY_INFO
0x800f0410 = KEY_VOLUMEUP
0x800f0411 = KEY_VOLUMEDOWN
0x800f0412 = KEY_CHANNELUP
0x800f0413 = KEY_CHANNELDOWN
0x800f0414 = KEY_FASTFORWARD
0x800f0415 = KEY_REWIND
0x800f0416 = KEY_PLAY
0x800f0417 = KEY_RECORD
0x800f0418 = KEY_PAUSE
0x800f0419 = KEY_STOP
0x800f041a = KEY_NEXT
0x800f041b = KEY_PREVIOUS
0x800f041c = KEY_NUMERIC_POUND
0x800f041d = KEY_NUMERIC_STAR
0x800f041e = KEY_UP
0x800f041f = KEY_DOWN
0x800f0420 = KEY_LEFT
0x800f0421 = KEY_RIGHT
0x800f0422 = KEY_OK
0x800f0423 = KEY_EXIT
0x800f0424 = KEY_DVD
0x800f0425 = KEY_TUNER
0x800f0426 = KEY_EPG
0x800f0427 = KEY_ZOOM
0x800f0432 = KEY_MODE
0x800f0433 = KEY_PRESENTATION
0x800f0434 = KEY_EJECTCD
0x800f043a = KEY_BRIGHTNESSUP
0x800f0446 = KEY_TV
0x800f0447 = KEY_AUDIO
0x800f0448 = KEY_PVR
0x800f0449 = KEY_CAMERA
0x800f044a = KEY_VIDEO
0x800f044c = KEY_LANGUAGE
0x800f044d = KEY_TITLE
0x800f044e = KEY_PRINT
0x800f0450 = KEY_RADIO
0x800f045a = KEY_SUBTITLE
0x800f045b = KEY_RED
0x800f045c = KEY_GREEN
0x800f045d = KEY_YELLOW
0x800f045e = KEY_BLUE
0x800f0465 = KEY_POWER2
0x800f046e = KEY_PLAYPAUSE
0x800f046f = KEY_PLAYER
0x800f0480 = KEY_BRIGHTNESSDOWN
0x800f0481 = KEY_PLAYPAUSE
### End of Keytable for rc-rc6-mce ####
*** suggested entry for custom keytable in /etc/rc_maps.cfg: ***
nuvoton-cir rc-rc6-mce /etc/rc_keymaps/rc-rc6-mce
torsten@yavdr-dt:~$ sudo ./list-rc-core.sh set # gibt Vorschläge für Keytables und einen Eintrag in der /etc/rc_maps.conf aus
###*** sudo ir-keytable for rc0 ***###
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Enabled protocols: NEC RC-5 RC-6 JVC SONY LIRC other
##########################################
Do you want to replace existing custom keytable /etc/rc_keymaps/rc-rc6-mce?y
Protocol LIRC invalid
Invalid parameter on line 1 of /etc/rc_keymaps/rc-rc6-mce
Can't load /etc/rc_keymaps/rc-rc6-mce table or empty table
|
This post has been edited 1 times, last edit by "Torsten73" (Dec 19th 2011, 1:26am)
# table rc-rc6-mce, type: NEC RC-5 RC-6 JVC SONY LIRC other
|
|
Source code |
1 2 |
root@yavdr-dt:/home/torsten# irw 8e 0 KEY_SLEEP devinput |
|
|
Source code |
1 2 3 |
root@yavdr-dt:/home/torsten# ir-keytable -w /etc/rc_keymaps/rc-rc6-mce ir-keytable: Too many arguments |
This post has been edited 1 times, last edit by "Torsten73" (Dec 20th 2011, 12:55am)
Quoted
Ist wahrscheinlich zu spät für meine Augen, aber ich sehe keinen Syntaxfehler
|
|
Source code |
1 |
ir-keytable -a /etc/rc_keymaps/rc-rc6-mce |
Sollte es nicht
![]()
Source code
1 ir-keytable -a /etc/rc_keymaps/rc-rc6-mce
sein ?
Wenn ich "sudo ir-keytable -t" aufrufe und tasten drücke erhalte ich KEINE ausgabe.
Muss ich jetzt einfach dein Skript ausführen?
Fernbedienung, ir-keytable, rc-core, tastenbelegung, yavdr 0.4