<table cellpadding=3 cellspacing=0 border=0 width=100% bgcolor=white><tr valign=top><td width=100%><font size=2 color=black><BR>
<P><FONT color=black size=2>I have setup a myth box and it's been working great, except on a reboot, lircd does not startup correctly. I have a PVR350 with the grey remote, Myth 0.14 compiled from CVS, lirc compiled from CVS on 3/24/2004, and ivtv 0.1.9, compiled from sources. I'm running RedHat 9.0 with a custom kernel.<BR><BR>I have tried adding /sbin/modprobe lirc_i2c in the lircd init.d script, as well as modprobe ivtv. I've tried compiling Myth with and without native lirc support. I've tried moving the alais in modules.conf for lirc_i2c to the begining, after the path declarations, and after ivtv. I've also tried lirc-0.7pre2, which had the same problem, and lirc-0.7pre3, which didn't work at all, but I read on the lists that this distribution was broken.<BR><BR>Does anyone have any ideas? Since switching to native lirc support this has become more of an issue, since I not only need to manually launch lircd, but also restart myth. If I can't get it to work, I'll switch back to irxevent, but that causes the focus issue with mplayer I've heard. I've tried all the various mouse-on-focus mods.<BR><BR>My config files are included below. My lircd.conf is copied from the ivtv tree. To manually start it I would login as root, and execute /sbin/service lircd start, then as my mythtv user run irxevent &, or with native lirc support in myth, restart mythfrontend.<BR><BR>Thanks!<BR><BR>-----------------modules.conf----------------------<BR># For ivtv<BR>path[toplevel]=/lib/modules/`uname -r`/drivers/media/video<BR># For bttv and saa7134<BR>path[toplevel]=/lib/modules/`uname -r`/v4l2<BR># default path<BR>path[toplevel]=/lib/modules/`uname -r`<BR># ivtv modules setup<BR>#alias char-major-81-1 bttv<BR>alias char-major-61 lirc_i2c<BR>alias char-major-81 videodev<BR>alias char-major-81-0 ivtv<BR>options ivtv debug=1<BR>options tuner type=2<BR>options msp3400 once=1 simple=1<BR>add below ivtv msp3400 saa7115 tuner<BR>add above ivtv lirc_dev lirc_i2c<BR><BR># monitoring sesnors<BR>#alias char-major-89 i2c-dev<BR>alias us
b-controller usb-ohci<BR>alias usb-controller1 ehci-hcd<BR>alias usb-interface usb-ohci<BR>alias eth0 nvnet<BR># ALSA portion<BR>alias char-major-116 snd<BR>alias snd-card-0 snd-intel8x0<BR>#options snd-intel8x0 mpu_port=0x330<BR># OSS/Free compatability portion<BR>alias char-major-14 soundcore<BR># Sound card #1<BR>alias sound-service-0-0 snd-mixer-oss<BR>alias sound-service-0-1 snd-seq-oss<BR>alias sound-service-0-3 snd-pcm-oss<BR>alias sound-service-0-8 snd-seq-oss<BR>alias sound-service-0-12 snd-pcm-oss<BR># Save & restore settings<BR>post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :<BR>pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :<BR>alias char-major-195 nvidia<BR><BR>---------------------------lircd init.d script---------------------<BR>#!/bin/sh<BR>#<BR># $Id: lircd.init,v 1.1 2002/09/28 11:54:12 dude Exp $<BR># Startup script for the Linux Infrared Remote Control.<BR>#<BR># chkconfig: - 90 10<BR># description: Enables infrared controls through LIRC.<BR>#<BR># config: /etc/lircd.conf<BR># Source 'em up<BR>. /etc/init.d/functions<BR>[ -x /usr/local/sbin/lircd ] || exit 1<BR>[ -x /usr/local/sbin/lircmd ] || exit 1<BR>[ -f /etc/lircd.conf ] || [ -f /etc/lircmd.conf ] || exit 1<BR>PATH=/usr/local/sbin:/usr/local/bin:$PATH<BR>RETVAL=0<BR>start(){<BR>if [ -f /etc/lircd.conf ]; then<BR>echo -n $"Starting infrared remote control daemon: "<BR>/sbin/modprobe lirc_i2c<BR>daemon lircd<BR>RETVAL=$?<BR>echo<BR>fi<BR>if [ -f /etc/lircmd.conf ]; then<BR>echo -n $"Starting infrared remote control mouse daemon: "<BR>daemon lircmd<BR>RETVAL=$?<BR>echo<BR>fi<BR>touch /var/lock/subsys/lircd<BR>return $RETVAL<BR>}<BR>stop(){<BR>if [ -f /etc/lircmd.conf ]; then<BR>echo -n $"Stopping infrared remote control mouse daemon: "<BR>killproc lircmd<BR>echo<BR>fi<BR>if [ -f /etc/lircd.conf ]; then<BR>echo -n $"Stopping infrared remote control daemon: "<BR>killproc lircd<BR>echo<BR>fi<BR>RETVAL=$?<BR>rm -f /var/lock/subsys/lircd<BR>return $RETVAL<BR>}<BR>restart(){<BR>stop
<B
R>start<BR>}<BR><BR># See how we were called.<BR>case "$1" in<BR>start)<BR>start<BR>;;<BR>stop)<BR>stop<BR>;;<BR>restart)<BR>restart<BR>;;<BR>status)<BR>status lircd<BR>;;<BR>condrestart)<BR>[ -e /var/lock/subsys/lircd ] && restart<BR>;;<BR>*)<BR>echo $"Usage: $0 {start|stop|status|restart|condrestart}"<BR>RETVAL=1<BR>esac<BR>exit $RETVAL<BR></P></FONT><BR><BR><br></font></td></tr></table><p><hr><font size=2 face=verdana><b>No banners. No pop-ups. No kidding.</b><br>Introducing My Way - <a href=http://www.myway.com target=_blank>http://www.myway.com</a></font>