Thread: MCE remote control receiver default protocol
hi,
problem after rebooting, have manually load keytable remote control receiver... here’s detailed explanation:
running xbmc on ubuntu 3.2.0-37-generic-pae , using sony bravia remote control mce remote control receiver connected computer. have created new keytable called sony in ~/documents sony remote, contents:
i use ir-keytable load table. sets enabled protocol. here ir-keytable output after table loaded:code:# table rc6_mce, type: sony 0x9700a6 key_c #media 0x1003a key_i 0x9700a5 key_apostrophe #channeldown 0x97009c key_fastforward 0x97009b key_rewind 0x970099 key_play 0x970098 key_stop 0x9700bd key_leftbrace #nxt 0x9700bc key_rightbrace #previous 0x10074 key_up 0x10075 key_down 0x10034 key_left 0x10033 key_right 0x10065 key_enter 0x9700a3 key_backspace 0x9700a8 key_l #subtitle 0x97009a key_playpause 0x9700a4 key_backslash 0x9700a7 key_tab
up point works perfectly. problem comes when reboot.code:found /sys/class/rc/rc0/ (/dev/input/event3) with: driver mceusb, table rc-rc6-mce supported protocols: nec rc-5 rc-6 jvc sony lirc other enabled protocols: sony repeat delay = 500 ms, repeat period = 125 ms
in order load above table on startup, i’ve edited /etc/rc_maps.cfg:
my problem after reboot, protocols enabled, follows:code:* rc-rc6-mce /home/tim/documents/sony
this strange because other changes ~/documents/sony updated after reboot. not protocol.code:found /sys/class/rc/rc0/ (/dev/input/event3) with: driver mceusb, 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 repeat delay = 500 ms, repeat period = 125 ms
protocols enabled, weird seems happening. receiver seeing rc-5 events, seems make keypresses on remote repeat several times. ir-keytable -t output 1 keypress:
all "event msc: scancode = 1f3f" lines rc-5 protocol. when rc-5 enabled, buttons produce same line.code:1361856103.046225: event msc: scancode = 1f3f 1361856103.046226: event sync 1361856103.067218: event msc: scancode = 9700a3 1361856103.067223: event key down: key_backspace (0x000e) 1361856103.067224: event sync 1361856103.091223: event key up: key_backspace (0x000e) 1361856103.091227: event msc: scancode = 1f3f 1361856103.091228: event sync 1361856103.112235: event msc: scancode = 9700a3 1361856103.112241: event key down: key_backspace (0x000e) 1361856103.112242: event sync 1361856103.136242: event key up: key_backspace (0x000e) 1361856103.136246: event msc: scancode = 1f3f 1361856103.136247: event sync 1361856103.236221: event msc: scancode = 9700a3 1361856103.236226: event key down: key_backspace (0x000e) 1361856103.236227: event sync 1361856103.485315: event key up: key_backspace (0x000e) 1361856103.485317: event sync
so, because of this, after reboot have manually load keymap usingor manually change protocol usingcode:ir-keytable -w ~/documents/sonywant avoid.code:ir-keytable -p sony
have found file: /sys/class/rc/rc0/protocols contents:
dont know does, in case cannot edit it.code:[rc-5] [nec] [rc-6] [jvc] [sony] mce_kbd [lirc]
can offer advice on how set default protocol sony only? im bit of newb general explanations great.
thanks!
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] MCE remote control receiver default protocol
Ubuntu
Comments
Post a Comment