[mythtv-users] Getting lirc kernel module to load automatically

Alan Snyder ax763 at yahoo.com
Thu Jul 17 08:37:39 EDT 2003


Please excuse me if I'm missing something that I
shouldn't.  I *think* I've
followed the install guide and other sources
carefully.

I'm running Mandrake 9.1 and have done the following:

Uninstalled the Mandrake-supplied lirc.

Built lirc from the CVS.

Under devfs, the lirc_gpio module wants to create
/dev/lirc/0 rather than
/dev/lirc, so I removed the /dev/lirc special device
created by lirc's make
install and made a directory instead.  Did chmod 666
/dev/lirc? and chmod
777 /dev/lirc.

Added alias char-major-61 lirc_gpio to the top of
/etc/modules.conf
(position probably doesn't matter for gpio).

Manual start (modprobe lirc_gpio  && /usr/sbin/lircd
--device=/dev/lirc/0)
works as expected.  Did ldconfig after first manual
start.

Added /usr/sbin/lircd --device=/dev/lirc/0 to the end
of rc.local.  --device
is needed since lircd tries to hook to /dev/lirc
regardless of what
lirc_gpio did.

On boot, lircd does not start successfully, apparently
because the lirc_gpio
module is not loading.  I thought that it would load
automatically due to
the alias in modules.conf.  Is the /dev/lirc/0 thing
the problem?

I don't have the Mandrake script to start lircd
because, from what I read
elsewhere, I uninstalled the Mandrake lirc rpm.

Thanks for any help.  After getting this one last
thing ironed out perhaps I
can find a way to contribute.


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


More information about the mythtv-users mailing list