How do I enable changes in /etc/lirc/lircrc without reboot Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Blacklist a Nvidia gpu for qemu/kvm passthroughHow to set serial ports uart to none for lirc?How to get my IR remote to work? Lirc can't see itCan I set up LIRC to enable me to navigate the Unity Launcher, using my MCE Remote Control, and how would I do this?How to setup guest session to be able to run MythTV Frontend and LIRCHow to setup Lirc in 18.04?
By what mechanism was the 2017 UK General Election called?
Dinosaur Word Search, Letter Solve, and Unscramble
malloc in main() or malloc in another function: allocating memory for a struct and its members
Can two people see the same photon?
Centre cell vertically in tabularx across multiple multiline rows
Did pre-Columbian Americans know the spherical shape of the Earth?
Why do C and C++ allow the expression (int) + 4*5?
Did John Wesley plagiarize Matthew Henry...?
How can I introduce the names of fantasy creatures to the reader?
Fit odd number of triplets in a measure?
New Order #6: Easter Egg
Short story about astronauts fertilizing soil with their own bodies
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
Is the Mordenkainen's Sword spell underpowered?
No Invitation for Tourist Visa, But i want to visit
How many time has Arya actually used Needle?
How can I prevent/balance waiting and turtling as a response to cooldown mechanics
calculator's angle answer for trig ratios that can work in more than 1 quadrant on the unit circle
How to achieve cat-like agility?
How do Java 8 default methods hеlp with lambdas?
Does the main washing effect of soap come from foam?
JImage - Set generated image quality
Is it OK if I do not take the receipt in Germany?
.bashrc alias for a command with fixed second parameter
How do I enable changes in /etc/lirc/lircrc without reboot
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Blacklist a Nvidia gpu for qemu/kvm passthroughHow to set serial ports uart to none for lirc?How to get my IR remote to work? Lirc can't see itCan I set up LIRC to enable me to navigate the Unity Launcher, using my MCE Remote Control, and how would I do this?How to setup guest session to be able to run MythTV Frontend and LIRCHow to setup Lirc in 18.04?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have installed lirc, and I want to use irexec to control my music player daemon (mpd) using mpc commands from my mce remote control. Works fine, except for one thing:
If I want to edit the /etc/lirc/lircrc file to map the remote control buttons to commands, I need to reboot in order to read in and use the edited lircrc button/command definition file. To test things out is then a rather painful and time consuming experience.
/etc/init.d/lirc restart
does NOT do the trick, it just makes the remote stop working. Function returns after reboot.
What elese needs to be restarted? Or should I use some other method?
lirc
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have installed lirc, and I want to use irexec to control my music player daemon (mpd) using mpc commands from my mce remote control. Works fine, except for one thing:
If I want to edit the /etc/lirc/lircrc file to map the remote control buttons to commands, I need to reboot in order to read in and use the edited lircrc button/command definition file. To test things out is then a rather painful and time consuming experience.
/etc/init.d/lirc restart
does NOT do the trick, it just makes the remote stop working. Function returns after reboot.
What elese needs to be restarted? Or should I use some other method?
lirc
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Did you tryservice lirc restart?
– devav2
Oct 18 '12 at 9:25
Yes I did try "service lirc restart". No change, the MCE remote just ceased to work, reboot fixed it.
– Bengt Nilsson
Oct 20 '12 at 15:17
add a comment |
I have installed lirc, and I want to use irexec to control my music player daemon (mpd) using mpc commands from my mce remote control. Works fine, except for one thing:
If I want to edit the /etc/lirc/lircrc file to map the remote control buttons to commands, I need to reboot in order to read in and use the edited lircrc button/command definition file. To test things out is then a rather painful and time consuming experience.
/etc/init.d/lirc restart
does NOT do the trick, it just makes the remote stop working. Function returns after reboot.
What elese needs to be restarted? Or should I use some other method?
lirc
I have installed lirc, and I want to use irexec to control my music player daemon (mpd) using mpc commands from my mce remote control. Works fine, except for one thing:
If I want to edit the /etc/lirc/lircrc file to map the remote control buttons to commands, I need to reboot in order to read in and use the edited lircrc button/command definition file. To test things out is then a rather painful and time consuming experience.
/etc/init.d/lirc restart
does NOT do the trick, it just makes the remote stop working. Function returns after reboot.
What elese needs to be restarted? Or should I use some other method?
lirc
lirc
edited Nov 12 '17 at 8:15
muru
1
1
asked Oct 18 '12 at 8:58
Bengt NilssonBengt Nilsson
111
111
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Did you tryservice lirc restart?
– devav2
Oct 18 '12 at 9:25
Yes I did try "service lirc restart". No change, the MCE remote just ceased to work, reboot fixed it.
– Bengt Nilsson
Oct 20 '12 at 15:17
add a comment |
Did you tryservice lirc restart?
– devav2
Oct 18 '12 at 9:25
Yes I did try "service lirc restart". No change, the MCE remote just ceased to work, reboot fixed it.
– Bengt Nilsson
Oct 20 '12 at 15:17
Did you try
service lirc restart?– devav2
Oct 18 '12 at 9:25
Did you try
service lirc restart?– devav2
Oct 18 '12 at 9:25
Yes I did try "service lirc restart". No change, the MCE remote just ceased to work, reboot fixed it.
– Bengt Nilsson
Oct 20 '12 at 15:17
Yes I did try "service lirc restart". No change, the MCE remote just ceased to work, reboot fixed it.
– Bengt Nilsson
Oct 20 '12 at 15:17
add a comment |
2 Answers
2
active
oldest
votes
Sending a HUP signal to the daemon makes it reread the config file.
Find daemon pid:
$ ps -elf | grep lircd
$ 1 S root 3198 1 0 80 0 - 4545 - 09:56 ? 00:00:00 /usr/sbin/lircd --device=/dev/lirc0
Send the HUP signal:
$ sudo kill-HUP 3198
add a comment |
it is not problem with
/etc/init.d/lirc restart
or
service lirc restart
that works fine.
Problem is when lirc is going down during the restart - irexec going down to.
So the simply solition is start irexec again
nohup irexec &
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f202404%2fhow-do-i-enable-changes-in-etc-lirc-lircrc-without-reboot%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sending a HUP signal to the daemon makes it reread the config file.
Find daemon pid:
$ ps -elf | grep lircd
$ 1 S root 3198 1 0 80 0 - 4545 - 09:56 ? 00:00:00 /usr/sbin/lircd --device=/dev/lirc0
Send the HUP signal:
$ sudo kill-HUP 3198
add a comment |
Sending a HUP signal to the daemon makes it reread the config file.
Find daemon pid:
$ ps -elf | grep lircd
$ 1 S root 3198 1 0 80 0 - 4545 - 09:56 ? 00:00:00 /usr/sbin/lircd --device=/dev/lirc0
Send the HUP signal:
$ sudo kill-HUP 3198
add a comment |
Sending a HUP signal to the daemon makes it reread the config file.
Find daemon pid:
$ ps -elf | grep lircd
$ 1 S root 3198 1 0 80 0 - 4545 - 09:56 ? 00:00:00 /usr/sbin/lircd --device=/dev/lirc0
Send the HUP signal:
$ sudo kill-HUP 3198
Sending a HUP signal to the daemon makes it reread the config file.
Find daemon pid:
$ ps -elf | grep lircd
$ 1 S root 3198 1 0 80 0 - 4545 - 09:56 ? 00:00:00 /usr/sbin/lircd --device=/dev/lirc0
Send the HUP signal:
$ sudo kill-HUP 3198
answered May 5 '13 at 0:37
AustinAustin
11
11
add a comment |
add a comment |
it is not problem with
/etc/init.d/lirc restart
or
service lirc restart
that works fine.
Problem is when lirc is going down during the restart - irexec going down to.
So the simply solition is start irexec again
nohup irexec &
add a comment |
it is not problem with
/etc/init.d/lirc restart
or
service lirc restart
that works fine.
Problem is when lirc is going down during the restart - irexec going down to.
So the simply solition is start irexec again
nohup irexec &
add a comment |
it is not problem with
/etc/init.d/lirc restart
or
service lirc restart
that works fine.
Problem is when lirc is going down during the restart - irexec going down to.
So the simply solition is start irexec again
nohup irexec &
it is not problem with
/etc/init.d/lirc restart
or
service lirc restart
that works fine.
Problem is when lirc is going down during the restart - irexec going down to.
So the simply solition is start irexec again
nohup irexec &
answered Oct 24 '13 at 19:26
srednisredni
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f202404%2fhow-do-i-enable-changes-in-etc-lirc-lircrc-without-reboot%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you try
service lirc restart?– devav2
Oct 18 '12 at 9:25
Yes I did try "service lirc restart". No change, the MCE remote just ceased to work, reboot fixed it.
– Bengt Nilsson
Oct 20 '12 at 15:17