Talk:ATI Remote Wonder II

From MythTV Official Wiki
Jump to: navigation, search

Has anyone had any luck with the ati_remote2 module? I tried it and half the keys didn't work so I gave up and switched to lirc.Chris.Simmons 20:42, 4 October 2007 (UTC)


(tji) Here are my settings, for modifying the key actions for the ati_remote2 driver. The 4 inputs on each map the outputs for each of the 4 modes of the remote.

# OK -> Enter
setkeycodes 0x005C 28 0x015C 28 0x025C 28 0x035C 28 0x045C 28
# i (info) -> i
setkeycodes 0x00f9 23 0x01f9 23 0x02f9 23 0x03f9 23 0x04f9 23
# clock (coffee) -> Escape
setkeycodes 0x0096 1 0x0196 1 0x0296 1 0x0396 1 0x0496 1
# Pause -> p
setkeycodes 0x0030 25 0x0130 25 0x0230 25 0x0330 25 0x0430 25
# Play -> p
setkeycodes 0x002c 25 0x012c 25 0x022c 25 0x032c 25 0x042c 25
# Stop -> Space
setkeycodes 0x0031 57 0x0131 57 0x0231 57 0x0331 57 0x0431 57
# Menu -> m
setkeycodes 0x0054 50 0x0154 50 0x0254 50 0x0354 50 0x0454 50
# Check (Enter?) -> i
setkeycodes 0x0082 23 0x0182 23 0x0282 23 0x0382 23 0x0482 23
# FF -> RightArrow
setkeycodes 0x0028 106 0x0128 106 0x0228 106 0x0328 106 0x0428 106
# REW -> LeftArrow
setkeycodes 0x0029 105 0x0129 105 0x0229 105 0x0329 105 0x0429 105
# Rec -> r
setkeycodes 0x0037 19 0x0137 19 0x0237 19 0x0337 19 0x0437 19

Q: Is there any way to map keys to apps or scripts? For example, make the "ATI" key start mythfrontend? A: Ubuntu's keyboard settings allow a keycode to be mapped to an executable. I mapped F11 to a shell script to start mfe.