Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198482 - >=app-misc/lirc-0.8.2-r2 - incorrect device in /etc/conf.d/lircd
Summary: >=app-misc/lirc-0.8.2-r2 - incorrect device in /etc/conf.d/lircd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-08 18:58 UTC by Tom P.
Modified: 2007-11-12 19:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom P. 2007-11-08 18:58:02 UTC
Whoops! default device node was changed to /dev/lirc0 from /dev/lirc/0 but supplied /etc/conf.d/lirc still has /dev/lirc/0 breaking package.


More detail if needed:

Upgrading from r1-r2 causes lirc to not find /dev/lirc/0 node and irexec and lirc both fail to start.

Looking at ebuild diff 8.2-r1-r2 the udev rules were dropped and default device node was changed from /dev/lirc/0 to /dev/lirc0.

The ebuild supplied file /etc/conf.d/lircd  still contains:
---------
# Options to pass to the lircd process
LIRCD_OPTS="-d /dev/lirc/0"
--------

without any pending updates and should read /dev/lirc0 

I confirmed this by uninstalling and renaming old config files.
Comment 1 Tom Dexter 2007-11-12 18:29:54 UTC
I ran into this as well.  The upgrade from r1 to r2 removes /etc/udev/rules.d/10-lirc.rules, which does this:

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

I replaced the 10-lirc.rules file manually to correct this.
Comment 2 Matthias Schwarzott gentoo-dev 2007-11-12 19:09:15 UTC
Fixed the installed default conf-file.
This contains only commented suggestions. using default receiver it should work without adding conf-options.

Changed your conf instead of re-adding the rules (that change was necessary as default udev now gets /dev/lirc and thus stops adding a /dev/lirc/ directory).