Hi All,
I am trying to control a Samsung LED TV with USB UIRT connected to the Raspberry Pi.
Here are the steps followed:
1. Installed initscripts on RPi as sudo apt-get install initscripts.
2. Installed LIRC on RPi as sudo apt-get install lirc
3. Plugged in the USB UIRT. Looked for "FTDI USB Serial Device converter now attached to ttyUSB0" in the output of 'dmesg | grep usb'. It was available.
4. Here are the contents of /etc/lirc/hardware.conf
pi@raspberrypi ~ $ cat /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="-d /dev/ttyUSB0"
#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="uirt2_raw"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE=""
MODULES=""
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
5. Copied the Samsung remote to /etc/lirc/lircd.conf as:
sudo cp /usr/share/lirc/remotes/samsung/lircd.conf.samsung /etc/lirc/lircd.conf
6. Started the lirc service as: sudo /etc/init.d/lirc start which was successful.
pi@raspberrypi ~ $ sudo /etc/init.d/lirc start
[ ok ] Loading LIRC modules:.
[ ok ] Starting remote control daemon(s) : LIRC :.
7. irsend list command gave output as:
pi@raspberrypi ~ $ irsend list "" ""
irsend: Samsung
irsend: Terratec
8. On trying irsend to increase the volume, it failed as:
pi@raspberrypi ~ $ irsend SEND_ONCE Samsung KEY_VOLUMEUP
irsend: command failed: SEND_ONCE Samsung KEY_VOLUMEUP
irsend: transmission failed
pi@raspberrypi ~ $
Am I missing something here grossly ? Can someone resolve this issue ?
Thanks in advance.