Ubuntu lirc configuration files
From MythTV
Contents |
[edit]
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
[edit]
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
[edit]
lirc_mceusb
sudo vim /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=""
sudo vim /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"
[edit]
lirc_mceusb2
sudo vim /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=""
sudo vim /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"
[edit]
lirc_serial
sudo vim /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=""
sudo vim /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"
