Rob Miracle wrote:
I'm trying to run MythTV (0.18 updates from apt-get) on FC3. I have just about everything working now except my IR Blaster. When I set it up according to:I have the same environment although I've not used the above instructions.... I just gave them a quick look and it's similar to the solution I've come up with but not identical.
<http://www.lircsetup.com/lirc/blaster/index.php>
Here's my environment:
[EMAIL PROTECTED] ~]# uname -r 2.6.11-1.14_FC3 [EMAIL PROTECTED] ~]# rpm -qa | grep lirc lirc-devices-0.7.0-1.rhfc3.at lirc-lib-0.7.1-46.rhfc3.at lirc-0.7.1-46.rhfc3.at lirc-kmdl-2.6.11-1.14_FC3-0.7.1-46.rhfc3.at [EMAIL PROTECTED] ~]#
And some config for the blaster on ttyS0 -- I call the following rc.lirc script on boot before I start mythbackend
[EMAIL PROTECTED] rc.d]# cat rc.lirc #!/bin/bash export HOME=/root export USERNAME=root
if [ -r ~/.bash_profile ] ; then
. .bash_profile
fi# for power button and other external to myth stuff nohup /usr/bin/irexec >> /dev/null 2>&1 &
# for IR Blaster on ttyS0 setserial /dev/ttyS0 uart none modprobe lirc_serial lircd --pidfile=/var/run/lircd1.pid --device=/dev/lirc1 --output=/dev/lircd1
[EMAIL PROTECTED] rc.d]#
and use the following channel change script:
[EMAIL PROTECTED] rc.d]# cat /usr/local/bin/DTV_send #!/bin/sh
REMOTE_NAME=DTV cmd="$1"
case $cmd in
[0-9]*)
for digit in $(echo $1 | sed -e 's/./& /g'); do
irsend --device /dev/lircd1 SEND_ONCE $REMOTE_NAME $digit
sleep 0.3
done
;; *)
irsend --device /dev/lircd1 SEND_ONCE $REMOTE_NAME $cmd
;;
esac
[EMAIL PROTECTED] rc.d]#When it's all up and running, here's what you should see in /dev
[EMAIL PROTECTED] rc.d]# ls -l /dev/lirc* crw-rw-rw- 1 root mythtv 61, 0 Apr 24 18:46 /dev/lirc crw-rw-rw- 1 root mythtv 61, 0 Apr 24 18:46 /dev/lirc0 crw-rw-rw- 1 root mythtv 61, 1 Apr 24 18:47 /dev/lirc1 srw-rw-rw- 1 root root 0 Apr 24 18:47 /dev/lircd srw-rw-rw- 1 root root 0 Apr 24 18:47 /dev/lircd1 [EMAIL PROTECTED] rc.d]#
I hope this info helps. If you can't make sense of this, I can probably step you through some diagnostics. We can start with the output of:
# lsmod | grep lirc and # ls -l /dev/lirc* and # ps -ef | grep lircd
Mark. _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
