lirc errors loading serial module in Fedora 14 - For MythTV
Post date: Sep 14, 2011 2:40:38 AM
I run MythTV and use a serial IR transceiver (made by IguanaWorks) to read my remote control and blast to a ShawDirect satellite set top box. I am finding that the linux kernel used in F14 18.104.22.168-96.fc14 sometimes does not load the lirc_serial module correctly, complaining that it is already in use when its not even loaded. I found a somewhat stable set of steps to load the lirc_serial module.
# stop myth and lirc so we can re-adjust
sudo /etc/init.d/mythbackend stop
sudo /etc/init.d/lirc stop
#UN-load lirc module
sudo rmmod lirc_serial
sudo rmmod lirc_dev
sudo /bin/setserial /dev/ttyS0 uart none
#re-load lirc module
sudo modprobe lirc_serial
sudo modprobe lirc_dev
# start myth and lirc
sudo /etc/init.d/lirc start
sudo /etc/init.d/mythbackend start
The other thing I fund is that if I run these commands from within a bash script the lirc modules STILL might not load.
I run them on manually on the commandline.