-
-
Save knedlyk/800f1a55540a79f6f1830132fcea8cd0 to your computer and use it in GitHub Desktop.
raspbmc rc5 hack for lirc and hid-aureal 0755:2626 w-01rn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
some manual trial: | |
sudo lircd --driver=devinput --device=/dev/input/by-id/usb-www.irfmedia.com_W-01RN_USB_V3.1-event-kbd --output=/var/run/lirc/lircd1 --pidfile=/var/run/lirc/lircd1.pid --listen | |
sudo lircd --driver=devinput --device=/dev/input/by-id/usb-www.irfmedia.com_W-01RN_USB_V3.1-event-mouse --output=/var/run/lirc/lircd2 --pidfile=/var/run/lirc/lircd2.pid --connect=localhost:8765 | |
============================= | |
keymap: /etc/lirc/lircd.conf | |
http://club.dx.com/forums/forums.dx/threadid.756584 | |
# brand: dxremote | |
# model no. of remote control: 756584 | |
# devices being controlled by this remote: | |
# | |
begin remote | |
name dxremote | |
bits 16 | |
flags SPACE_ENC|CONST_LENGTH | |
eps 30 | |
aeps 100 | |
header 8988 4414 | |
one 581 1652 | |
zero 581 540 | |
ptrail 580 | |
repeat 8968 2196 | |
pre_data_bits 16 | |
pre_data 0x205D | |
gap 107262 | |
toggle_bit_mask 0x0 | |
begin codes | |
KEY_0 0x22DD | |
KEY_1 0xF20D | |
KEY_2 0xEA15 | |
KEY_3 0xDA25 | |
KEY_4 0x7887 | |
KEY_5 0xFA05 | |
KEY_6 0x10EF | |
KEY_7 0x30CF | |
KEY_8 0x32CD | |
KEY_9 0x12ED | |
KEY_HASH 0x3AC5 | |
KEY_CLEAR 0x0AF5 | |
KEY_ASTERISK 0x02FD | |
KEY_FULLSCREEN 0x50AF | |
KEY_NEXT 0x1AE5 | |
KEY_PREVIOUS 0xD22D | |
KEY_RED 0x609F | |
KEY_GREEN 0xE21D | |
KEY_YELLOW 0xD02F | |
KEY_BLUE 0x08F7 | |
KEY_BACK 0x00FF | |
KEY_UP 0xC03F | |
KEY_DOWN 0x40BF | |
KEY_LEFT 0x708F | |
KEY_RIGHT 0x58A7 | |
KEY_ENTER 0xE01F | |
KEY_VOLUMEDOWN 0xC23D | |
KEY_VOLUMEUP 0xF00F | |
KEY_CHANNELDOWN 0x18E7 | |
KEY_CHANNELUP 0xCA35 | |
KEY_MUTE 0x807F | |
KEY_W 0xA05F | |
KEY_MORE 0xC837 | |
KEY_DESKTOP 0x2AD5 | |
KEY_REPLAY 0x6897 | |
KEY_SKIP 0x20DF | |
KEY_PLAYPAUSE 0x48B7 | |
KEY_STOP 0xA857 | |
KEY_REW 0x8877 | |
KEY_FWD 0xE817 | |
KEY_MYPICTURE 0xB04F | |
KEY_MYMUSIC 0x9867 | |
KEY_DVDRMENU 0xD827 | |
KEY_MYVIDEO 0x906F | |
KEY_MYTV 0xB847 | |
KEY_FMRADIO 0xF807 | |
KEY_CLOSE 0x28D7 | |
KEY_POWER 0x38C7 | |
end codes | |
end remote | |
============================= | |
upstart hack /etc/init/xbmc.conf | |
pre-start script | |
#hack a lirc miatt | |
test -x /var/run/lirc/lircd || { /etc/init.d/lirc restart; } | |
========================== | |
# /etc/lirc/hardware.conf | |
# | |
# Arguments which will be used when launching lircd | |
LIRCD_ARGS="" | |
#Don't start lircmd even if there seems to be a good config file | |
#START_LIRCMD=false | |
#Don't start irexec, even if a good config file seems to exist. | |
#START_IREXEC=false | |
#Try to load appropriate kernel modules | |
LOAD_MODULES=false | |
# Run "lircd --driver=help" for a list of supported drivers. | |
DRIVER="devinput" | |
# usually /dev/lirc0 is the correct setting for systems using udev | |
DEVICE="/dev/input/by-id/usb-www.irfmedia.com_W-01RN_USB_V3.1-event-kbd" | |
MODULES="" | |
# Default configuration files for your hardware if any | |
LIRCD_CONF="" | |
LIRCMD_CONF="" | |
====================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment