markdavidoff
October 9th, 2009, 01:51 PM
I have an IR Reciever that works great at my first serial port ttyS0
I just installed 2 more serial ports via PCI card. I have an IR Blaster installed at ttyS2
echo "TEST TEST" >> /dev/ttyS2
makes the IR LED light up, so It is confirmed working.
Now, for the problem...I need to get it to work with LIRC as an IR Blaster.
/dev/lirc0 exists, but /dev/lirc1 does not, which is the problem
I did dpkg-reconfigure lirc
and selected Homebrew Serial IR Reciever
and Custom as the IR Blaster
How can I get /dev/lirc1 to be created?
I will paste my hardware.conf below. My lircd.conf and lircd1.conf files just have the include "<remote config file>" lines, so I will not bother pasting them.
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Home-brew (16x50 UART compatible serial port)"
REMOTE_MODULES="lirc_dev lirc_serial"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="/home/myth/WinfastTV2000DeluxeAus"
REMOTE_LIRCD_ARGS="/etc/lirc/lircd.conf"
#Chosen IR Transmitter
TRANSMITTER="Serial Port (UART)"
TRANSMITTER_MODULES="lirc_dev lirc_serial"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc1"
TRANSMITTER_LIRCD_CONF="/home/myth/FoxtelDigital"
TRANSMITTER_LIRCD_ARGS="/etc/lirc/lircd1.conf"
#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=""
I also noted that when I added the line
TRANSMITTER_DEVICE="/dev/lirc1
in the hardware.conf, it created /dev/lircd1 , which wasn't there before...but I still need /dev/lirc1 to be created
I just installed 2 more serial ports via PCI card. I have an IR Blaster installed at ttyS2
echo "TEST TEST" >> /dev/ttyS2
makes the IR LED light up, so It is confirmed working.
Now, for the problem...I need to get it to work with LIRC as an IR Blaster.
/dev/lirc0 exists, but /dev/lirc1 does not, which is the problem
I did dpkg-reconfigure lirc
and selected Homebrew Serial IR Reciever
and Custom as the IR Blaster
How can I get /dev/lirc1 to be created?
I will paste my hardware.conf below. My lircd.conf and lircd1.conf files just have the include "<remote config file>" lines, so I will not bother pasting them.
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Home-brew (16x50 UART compatible serial port)"
REMOTE_MODULES="lirc_dev lirc_serial"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="/home/myth/WinfastTV2000DeluxeAus"
REMOTE_LIRCD_ARGS="/etc/lirc/lircd.conf"
#Chosen IR Transmitter
TRANSMITTER="Serial Port (UART)"
TRANSMITTER_MODULES="lirc_dev lirc_serial"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc1"
TRANSMITTER_LIRCD_CONF="/home/myth/FoxtelDigital"
TRANSMITTER_LIRCD_ARGS="/etc/lirc/lircd1.conf"
#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=""
I also noted that when I added the line
TRANSMITTER_DEVICE="/dev/lirc1
in the hardware.conf, it created /dev/lircd1 , which wasn't there before...but I still need /dev/lirc1 to be created