lirc - exemples de hardware.conf

Description

Cette page est une annexe à la page lirc listant différentes configurations du fichier hardware.conf de lirc.

Fichier hardware.conf

Pour récepteur sur port série

Récepteurs « faits maison »

# /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=""

Récepteur carte Miro PCTV sur port série

Celui-ci est en partie généré par l'installation de LIRC. Pensez à modifier "/dev/ttyS0" par votre propre port COM (ttyS1 par exemple)

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Miro PCTV serial port receiver"
REMOTE_MODULES=""lirc_dev lirc_serial""
REMOTE_DRIVER="pinsys"
REMOTE_DEVICE="/dev/ttyS0"
REMOTE_LIRCD_CONF="pinnacle_systems/lircd.conf.pctv"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#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"

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

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

Pour récepteur sur port audio

Pour récepteur infrarouge TSOP 1736 branché sur un port audio interne sur carte mère à base de i810 sous Mythbuntu 9.10.

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="IR receiver IC connected to audio input using ALSA (EXPERIMENTAL)"
REMOTE_MODULES=""
REMOTE_DRIVER="audio_alsa"
REMOTE_DEVICE="plughw@8000"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lircd.conf"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#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"

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

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

Contributeur : Jonas, Julius22

  • lirc_-_exemples_hardware.conf.txt
  • Dernière modification: Le 28/04/2018, 11:20
  • (modification externe)