[Pkg-lirc-maint] Bug#396841: lirc: provide udev rules

Matt Taggart taggart at debian.org
Fri Nov 3 09:57:54 CET 2006


Package: lirc
Version: 0.8.0-9
Severity: wishlist

I think it would be nice if lirc provided a udev rules file. The upstream 
source provides 'contrib/lirc.rules' which contains,

KERNEL="lirc[0-9]*",    NAME="lirc/%n"

I guess this is an attempt to copy the devfs way of creating /dev/lirc/0 etc.
On this webpage,
  http://www.g-loaded.eu/2006/01/10/how-to-configure-and-use-lirc/

I found,

KERNEL=="lirc[0-9]*", NAME=="lirc%n", GROUP=="disk", MODE=="0660"
KERNEL=="lirc0", SYMLINK=="lirc"

which matches the device locations that most applications expect and sets a 
group and permissions. I'm not sure what group to use, maybe if you create an 
lirc group as suggested in #298021 you could use that. If not then maybe audio 
or video? (xmms, mplayer, mythtv all can use lirc so I don't know which is the 
most appropriate).

I am not sure where this is supposed to be installed by the package 
/usr/share/doc/udev/README.Debian.gz has some hints). Maybe it should be 
contributed to /etc/udev/rules.d/udev.rules in the udev package or maybe lirc 
should deliver it's own and create a symlink in rules.d? (or it could just go 
in /usr/share/doc/lirc/examples/).

Marco, (cc'd)
Where do you think it should go?

Thanks,

-- 
Matt Taggart
taggart at debian.org






More information about the Pkg-lirc-maint mailing list