mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #10533
[Bug 204769] Re: /etc/init.d/lirc requires TRANSMITTER_DEVICE to be set in hardware.conf
Closing as fixed, since release 0.9.4c does not use sysV scripts or
hardware.conf.
** Changed in: lirc (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/204769
Title:
/etc/init.d/lirc requires TRANSMITTER_DEVICE to be set in
hardware.conf
Status in lirc package in Ubuntu:
Fix Released
Bug description:
Currently /etc/init.d/lirc requires TRANSMITTER_DEVICE to be set by
hand (or during debconf) to load the transmitter's daemon.
Additionally, if a remote is being used in conjunction with a
transmitter, REMOTE_DEVICE needs to be set as well to have both
daemons load properly.
There are two approaches to fix this problem:
1. Modify debconf for lirc.
TRANSMITTER_DEVICE and REMOTE_DEVICE will vary depending on the order in which the modules are loaded. Currently the modules are loaded Remote, Transmitter (from /etc/init.d/lirc). If this remains the case, REMOTE_DEVICE should be /dev/lirc0 (if being used) while TRANSMITTER_DEVICE should be /dev/lirc0 (if no remote is being used) or /dev/lirc1 (if a remote is being used).
2. Modify /etc/init.d/lirc
The same logic described above can be used to "guess" the values of REMOTE_DEVICE and TRANSMITTER_DEVICE if they are not set. This may be the easier fix to apply because it only would require some additional bash scripting.
Anybody with a recommendation on "best practices" here? I will gladly
modify the init script and post a diff if I know it is going to be
used.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/204769/+subscriptions