Difference between revisions of "Ubuntu lirc configuration files"

From MythTV Official Wiki
Jump to: navigation, search
m (added to Ubuntu and Remote Controls categories)
m (add category/codeboxes)
Line 11: Line 11:
  
 
===lirc_mceusb===
 
===lirc_mceusb===
sudo vim /etc/lirc/hardware.conf
+
 
<pre>
+
{{code box|/etc/lirc/hardware.conf|<pre>
 
# /etc/lirc/hardware.conf
 
# /etc/lirc/hardware.conf
 
#
 
#
Line 34: Line 34:
 
LIRCD_CONF=""
 
LIRCD_CONF=""
 
LIRCMD_CONF=""
 
LIRCMD_CONF=""
</pre>
+
</pre>}}
sudo vim /etc/lirc/lirc-modules-source.conf
+
 
<pre>
+
{{code box|/etc/lirc/lirc-modules-source.conf|<pre>
 
#  lirc-modules-source config file used by Debian GNU/Linux
 
#  lirc-modules-source config file used by Debian GNU/Linux
  
Line 59: Line 59:
 
LIRC_SIR_IRQ="UNCONFIGURED"
 
LIRC_SIR_IRQ="UNCONFIGURED"
 
LIRC_SIR_CFLAGS="UNCONFIGURED"
 
LIRC_SIR_CFLAGS="UNCONFIGURED"
</pre>
+
</pre>}}
 
===lirc_mceusb2===
 
===lirc_mceusb2===
sudo vim /etc/lirc/hardware.conf
+
{{code box|/etc/lirc/hardware.conf|<pre>
<pre>
 
 
# /etc/lirc/hardware.conf
 
# /etc/lirc/hardware.conf
 
#
 
#
Line 84: Line 83:
 
LIRCD_CONF=""
 
LIRCD_CONF=""
 
LIRCMD_CONF=""
 
LIRCMD_CONF=""
</pre>
+
</pre>}}
sudo vim /etc/lirc/lirc-modules-source.conf
+
 
<pre>
+
{{code box|/etc/lirc/lirc-modules-source.conf|<pre>
 
#  lirc-modules-source config file used by Debian GNU/Linux
 
#  lirc-modules-source config file used by Debian GNU/Linux
  
Line 109: Line 108:
 
LIRC_SIR_IRQ="UNCONFIGURED"
 
LIRC_SIR_IRQ="UNCONFIGURED"
 
LIRC_SIR_CFLAGS="UNCONFIGURED"
 
LIRC_SIR_CFLAGS="UNCONFIGURED"
</pre>
+
</pre>}}
  
 
===lirc_serial===
 
===lirc_serial===
sudo vim /etc/lirc/hardware.conf
+
{{code box|/etc/lirc/hardware.conf|<pre>
<pre>
 
 
# /etc/lirc/hardware.conf
 
# /etc/lirc/hardware.conf
 
#
 
#
Line 135: Line 133:
 
LIRCD_CONF=""
 
LIRCD_CONF=""
 
LIRCMD_CONF=""
 
LIRCMD_CONF=""
</pre>
+
</pre>}}
  
sudo vim /etc/lirc/lirc-modules-source.conf
+
{{code box|/etc/lirc/lirc-modules-source.conf|<pre>
<pre>
 
 
#  lirc-modules-source config file used by Debian GNU/Linux
 
#  lirc-modules-source config file used by Debian GNU/Linux
  
Line 161: Line 158:
 
LIRC_SIR_IRQ="UNCONFIGURED"
 
LIRC_SIR_IRQ="UNCONFIGURED"
 
LIRC_SIR_CFLAGS="UNCONFIGURED"
 
LIRC_SIR_CFLAGS="UNCONFIGURED"
</pre>
+
</pre>}}
  
 +
[[Category:Remote Control Scripts]]
 
[[Category:Remote Controls]]
 
[[Category:Remote Controls]]
 
[[Category:Ubuntu]]
 
[[Category:Ubuntu]]

Revision as of 04:55, 6 August 2010

About

As i very often suggest what peoples configuration files should look like in IRC, i thought i would write it down for all to see

P.s. I think this guide needs some work, im just getting the basics down on paper while their fresh in my head

Types of Remote

If your using one of these USB remotes http://www.mythtv.org/wiki/index.php/MCE_Remote You are using lirc_mceusb or lirc_mceusb2

If your using a serial device, you are using lirc_serial

lirc_mceusb

Script.png /etc/lirc/hardware.conf
# /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

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE=""
MODULES="lirc_mceusb"

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""


Script.png /etc/lirc/lirc-modules-source.conf
#   lirc-modules-source config file used by Debian GNU/Linux

# Space separated list of lirc kernel drivers to build
LIRC_MODULES="mceusb"

# It87 module configuration
LIRC_IT87_CFLAGS="UNCONFIGURED"

# Parallel module configuration
LIRC_PARALLEL_PORT="UNCONFIGURED"
LIRC_PARALLEL_IRQ="UNCONFIGURED"
LIRC_PARALLEL_TIMER="UNCONFIGURED"

# Serial module configuration
LIRC_SERIAL_PORT="UNCONFIGURED"
LIRC_SERIAL_IRQ="UNCONFIGURED"
LIRC_SERIAL_CFLAGS="UNCONFIGURED"

# Sir module configuration
LIRC_SIR_PORT="UNCONFIGURED"
LIRC_SIR_IRQ="UNCONFIGURED"
LIRC_SIR_CFLAGS="UNCONFIGURED"

lirc_mceusb2

Script.png /etc/lirc/hardware.conf
# /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

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE=""
MODULES="lirc_mceusb2"

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""


Script.png /etc/lirc/lirc-modules-source.conf
#   lirc-modules-source config file used by Debian GNU/Linux

# Space separated list of lirc kernel drivers to build
LIRC_MODULES="mceusb2"

# It87 module configuration
LIRC_IT87_CFLAGS="UNCONFIGURED"

# Parallel module configuration
LIRC_PARALLEL_PORT="UNCONFIGURED"
LIRC_PARALLEL_IRQ="UNCONFIGURED"
LIRC_PARALLEL_TIMER="UNCONFIGURED"

# Serial module configuration
LIRC_SERIAL_PORT="UNCONFIGURED"
LIRC_SERIAL_IRQ="UNCONFIGURED"
LIRC_SERIAL_CFLAGS="UNCONFIGURED"

# Sir module configuration
LIRC_SIR_PORT="UNCONFIGURED"
LIRC_SIR_IRQ="UNCONFIGURED"
LIRC_SIR_CFLAGS="UNCONFIGURED"

lirc_serial

Script.png /etc/lirc/hardware.conf
# /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

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE=""
MODULES="lirc_dev lirc_serial"

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""


Script.png /etc/lirc/lirc-modules-source.conf
#   lirc-modules-source config file used by Debian GNU/Linux

# Space separated list of lirc kernel drivers to build
LIRC_MODULES="serial"

# It87 module configuration
LIRC_IT87_CFLAGS="UNCONFIGURED"

# Parallel module configuration
LIRC_PARALLEL_PORT="UNCONFIGURED"
LIRC_PARALLEL_IRQ="UNCONFIGURED"
LIRC_PARALLEL_TIMER="UNCONFIGURED"

# Serial module configuration
LIRC_SERIAL_PORT="0x03f8"
LIRC_SERIAL_IRQ="4"
LIRC_SERIAL_CFLAGS=" -DLIRC_SERIAL_TRANSMITTER -DLIRC_SERIAL_SOFTCARRIER"

# Sir module configuration
LIRC_SIR_PORT="UNCONFIGURED"
LIRC_SIR_IRQ="UNCONFIGURED"
LIRC_SIR_CFLAGS="UNCONFIGURED"