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;








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?










share|improve this question
















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 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


















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?










share|improve this question
















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 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














0












0








0


1






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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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


















  • 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

















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











2 Answers
2






active

oldest

votes


















0














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





share|improve this answer






























    0














    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 &





    share|improve this answer























      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
      );



      );













      draft saved

      draft discarded


















      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









      0














      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





      share|improve this answer



























        0














        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





        share|improve this answer

























          0












          0








          0







          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





          share|improve this answer













          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






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 5 '13 at 0:37









          AustinAustin

          11




          11























              0














              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 &





              share|improve this answer



























                0














                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 &





                share|improve this answer

























                  0












                  0








                  0







                  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 &





                  share|improve this answer













                  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 &






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 24 '13 at 19:26









                  srednisredni

                  1




                  1



























                      draft saved

                      draft discarded
















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                      fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

                      Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch