Skip to content

Instantly share code, notes, and snippets.

@deadprogram
Created April 26, 2013 19:46
Show Gist options
  • Select an option

  • Save deadprogram/5469858 to your computer and use it in GitHub Desktop.

Select an option

Save deadprogram/5469858 to your computer and use it in GitHub Desktop.
########################################################
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="--uinput"
# 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=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
########################################################
# /etc/lirc/lircd.conf
# Please make this file available to others
# by sending it to lirc@bartelmus.de
#
# this config file was automatically generated
# using lirc-0.9.1-git(default) on Wed Jan 9 02:45:44 2013
#
# contributed by Fabien Royer @ Nwazet
#
# brand: nwazet.conf
# model no. of remote control: Nwazet IR Remote
# devices being controlled by this remote: Nwazet IR Receiver / XBMC / OpenElec
begin remote
name nwazet.conf
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 8989 4433
one 591 1647
zero 591 528
ptrail 585
repeat 8991 2202
pre_data_bits 16
pre_data 0xFD
gap 107391
toggle_bit_mask 0x0
begin codes
KEY_PLAYPAUSE 0x00FF
KEY_CHANNELDOWN 0x807F
KEY_CHANNELUP 0x40BF
KEY_BACK 0x20DF
KEY_VOLUMEDOWN 0xA05F
KEY_VOLUMEUP 0x609F
KEY_MENU 0x10EF
KEY_PREVIOUS 0x906F
KEY_NEXT 0x50AF
KEY_UP 0xB04F
KEY_LEFT 0x08F7
KEY_OK 0x8877
KEY_RIGHT 0x48B7
KEY_DOWN 0xA857
KEY_PREVIOUSSONG 0x9867
KEY_NEXTSONG 0x58A7
end codes
end remote
# /etc/modules
# add to bottom of /etc/modules:
lirc_dev
lirc_rpi gpio_in_pin=18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment