lirc-0.7.1 doesn't install the lirc.rules file anywhere for use in a udev system. The ebuild should place it in /etc/udev/rules.d, or in /usr/share somewhere rather then not placeing them anywhere. Reproducible: Always Steps to Reproduce: 1. emerge lirc Actual Results: Lack of a lirc.rules file anywhere on the system Expected Results: lirc.rules installed in /etc/udev/rules.d or /usr/share/somewhere Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-rc5 i686) ================================================================= System uname: 2.6.12-rc5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -pipe -mmmx -msse -msse2 -mno-sse3 -mno-3dnow -mfpmath=sse,387 -fomit-frame-pointer -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -mmmx -msse -msse2 -mno-sse3 -mno-3dnow -mfpmath=sse,387 -fomit-frame-pointer -maccumulate-outgoing-args" DISTDIR="/tmp/disfiles" FEATURES="autoconfig distlocks parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/tmp/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/" USE="x86 X aalib alsa apm avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl emboss encode fam flac foomaticdb fortran gd gdbm ggi gif gpm gtk gtk2 gtkhtml guile imagemagick imlib java jpeg libg++ libwww lirc mad mikmod mmx mmx2 motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline samba sdl spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xinerama xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
You don't get the devices created or what is the problem w/ udev rules?
The devices do not get created on my system without the udev rules file, at least, they do not get created as /dev/lirc/0 or similar.
(In reply to comment #2) > The devices do not get created on my system without the udev rules file, at > least, they do not get created as /dev/lirc/0 or similar. Why don't you use /dev/lirc0? The only udev rule contained in lirc is: KERNEL="lirc[0-9]*", NAME="lirc/%n"
Ahh, if that's the case, I just totally missed it when I was looking for the device nodes. The lirc docs do tell people to use /dev/lirc/XX so I do beleive it would be prudent to install the rules file if only to make the offical docs line up with the way gentoo does things. Thanks.
added
I think the fix didn't work. I get the following errors when I install lirc. cp: cannot stat `/usr/portage/app-misc/lirc/files/lirc.rules': No such file or directory install: cannot stat `/var/tmp/portage/lirc-0.7.1/temp/10-lirc.rules': No such file or directory I guess the lirc.rules is not in ${FILESDIR}. Why can't we just take the one from contrib/ in the lirc source?
sorry fixed