[mythtv-users] Problem with lirc install

Jaakko Heikkilä jaakko.heikkila at gmail.com
Thu Mar 15 21:16:11 UTC 2007


On ti, 2007-03-13 at 20:47 -0400, gwgrover at windstream.net wrote:
> > 
> > Is there some reason why you are trying to install from source? I am
> > using OpenSuse 10.2 and I installed Lirc from rpm repository with yast:
> > teevee:~ # rpm -q lirc
> > lirc-0.8.0-41
> > 
> > 
> > On ma, 2007-03-12 at 13:05 -0400, gwgrover at windstream.net wrote:
> > > environment: AMD duron processor 1.2 ghz processor; 600+m of ram.  Suse 10.2 linux
> > > 
> > > Start lirc setup:
> > >      gary at suselinux:~/lirc-0.8.0> ./setup.sh  
> > > 
> > > This starts a dialog that produces the configure script and then runs it.
> > > The script closes with this:
> > > ===================================================================================
> > >      You will have to use the lirc_serial kernel module.
> > >      Now enter 'make' and 'make install' to compile and install the package.
> > >      gary at suselinux:~/lirc-0.8.0>
> > > ===================================================================================
> > > 
> > > When I rum "make" a lot of errors occur; excerpt from console log:
> > > ========================================================================================
> > > make[4]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
> > > make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules
> > > make -C /usr/src/linux-2.6.18.2-34-obj/i386/default \
> > >         KBUILD_SRC=/usr/src/linux-2.6.18.2-34 \
> > >         KBUILD_EXTMOD="/home/gary/lirc-0.8.0/drivers/lirc_dev" -f /usr/src/linux-2.6.18.2-34/Makefile modules
> > > test -e include/linux/autoconf.h -a -e include/config/auto.conf || (           \
> > >         echo;                                                           \
> > >         echo "  ERROR: Kernel configuration is invalid.";               \
> > >         echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
> > >         echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
> > >         echo;                                                           \
> > >         /bin/false)
> > > 
> > > ----------> running the "make oldconfig && make prepare" did not fix the problem <----------------
> > > ================================================================================================
> > > 
> > > >From the end of the console log:
> > > ========================================================================================
> > > /home/gary/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:132: error: implicit declaration of function ?devfs_remove?
> > > /home/gary/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function ?lirc_register_plugin?:
> > > /home/gary/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:381: error: implicit declaration of function ?devfs_mk_cdev?
> > > make[7]: *** [/home/gary/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o] Error 1
> > > make[6]: *** [_module_/home/gary/lirc-0.8.0/drivers/lirc_dev] Error 2
> > > make[5]: *** [modules] Error 2
> > > make[4]: *** [modules] Error 2
> > > make[4]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
> > > make[3]: *** [lirc_dev.o] Error 2
> > > make[3]: Leaving directory `/home/gary/lirc-0.8.0/drivers/lirc_dev'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/gary/lirc-0.8.0/drivers'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/gary/lirc-0.8.0'
> > > make: *** [all] Error 2
> > > gary at suselinux:~/lirc-0.8.0>
> > > =========================================================================================
> > > 
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > 
> > 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > 
> > End of mythtv-users Digest, Vol 48, Issue 68
> > ********************************************
> > 
> 
> I tried yast-2; it told me lirc was already installed; yet I could not 
> find any hint of any lirc mods - no kernel mods, no daemons, nothing - 
> Did a lot of google searching and a lot of reading; and elected 
> to follow the least confusing howto. 

Few things to check if you want to use lirc installed by yast.

/etc/sysconfig/lirc is the file you have to edit to make lirc work. Here
are the settings I had to edit to make lirc work:
LIRCD_DRIVER="dev/input"
LIRCD_DEVICE="/dev/input/event3"
LIRC_MODULE="ir-kbd-i2c"

So, lirc module is loaded by lirc init script. Right module depends on
your hardware. When module is loaded you can
check /proc/bus/input/devices to find right input device for you.

Is lirc really loaded? You can use "yast2 runlevel" command to lounch
GUI tool or use command line tools. Run "rclirc status" to check if lirc
is running, "rclirc start" to load lirc and chkconfig --add lirc to make
lirc load at boot time.

> I ran a yast upgrade and it upgraded the kernel; now lirc-0.8.0 
> does not work; lirc-0.8.1 is needed. 

I haven't upgraded kernel for a while. Maybe I'll check if that breaks
anything for me.

> All I want to do is make it so that when mythtv changes channel
> to record a program, it also lites up an irblaster to make the satelite 
> box change to the proper channel. (dish network)
>  




More information about the mythtv-users mailing list