LinHES Forums
http://forums.linhes.org/

IR remote stopped working after R5F27 auto-upgrade - fixed
http://forums.linhes.org/viewtopic.php?f=2&t=17871
Page 1 of 1

Author:  neutron68 [ Sun Feb 10, 2008 10:03 pm ]
Post subject:  IR remote stopped working after R5F27 auto-upgrade - fixed

Hi,

I've been having successful upgrades since R5C7 back in 2006.
Today's R5F1 to R5F27 auto-upgrade was pretty quick, easy and successful. All worked after the upgrade except the serial IR rceiver and IR remote.
Thanks to all for your hard work that made this go so smoothly!

Could I get a little help with the LIRC configuration? Something has changed in R5F27 and I'm stumped.
Before the auto-upgrade today from R5F1 to R5F27, I had IR remore functionality. After the auto-upgrade my IR remote does not respond. Thus, I know that my RCA IR remote and the serial IR receiver work fine and work fine together. The Iguanaworks serial IR receiver is plugged into the COM1 serial port via a 9 pin serial cable. It has been in this configuration for the 18-20 months.

I know the auto upgrade auto restores the LIRC configuration files from the backup tar files. I double-checked to be sure my lirc config files were restored properly: /etc/lirc/lircd.conf and /home/mythtv/.mythtv/lircrc were both restored properly.
During the upgrade I told the LIRC config script that I had an RCA remote, so I know that the LIRC setup script ran.
Also, I did look for clues on fixing the problem in http://knoppmyth.net/phpBB2/viewtopic.php?t=16384.
I saw mention of changing the LIRC device to "/dev/lirc0", but there was no mention of what file to do this in. If that is the solution, more details are needed, please.

Here are a few of the files that were working and valid in my R5F1 install:

Last section of the /etc/init.d/bootmisc.sh file:
Code:
case "$1" in
  start|"")
        do_start
        ;;
  restart|reload|force-reload)
        echo "Error: argument '$1' not supported" >&2
        exit 3
        ;;
  stop)
        # No-op
        ;;
  *)
        echo "Usage: bootmisc.sh [start|stop]" >&2
        exit 3
        ;;
esac

:
# enable DMA
 /sbin/hdparm -qd1 /dev/hda
 /sbin/hdparm -qd1 /dev/hdb
#
setserial /dev/ttyS0 uart none

/etc/lirc/hardware.conf file:
Code:
# /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="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_serial"


I will gladly post other relevant files for examination. I suspect that one or more of these files just needs to be tweaked for R5F27 and then they will work again.

Thanks!
Eric

Author:  neutron68 [ Sun Feb 10, 2008 10:32 pm ]
Post subject:  it's fixed

I'm not sure what I did right, but it works now. :shock:

All I did was more of the same!

I reran the lirc-reconfig.sh script and this time answered homebrew LIRC receiver, where as before I answered RCA remote.
I restored my lirc config files from the tar backup again.
I rechecked my lirc config files and rebooted.

That was it. It works again. 8)

Eric

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/