How to let gpio-keys work in ubuntu 16.04? The 2019 Stack Overflow Developer Survey Results...

Geography at the pixel level

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Inline version of a function returns different value than non-inline version

"What time...?" or "At what time...?" - what is more grammatically correct?

Unbreakable Formation vs. Cry of the Carnarium

Is it possible for the two major parties in the UK to form a coalition with each other instead of a much smaller party?

How come people say “Would of”?

Why can Shazam do this?

Falsification in Math vs Science

On the insanity of kings as an argument against monarchy

Time travel alters history but people keep saying nothing's changed

Limit the amount of RAM Mathematica may access?

In microwave frequencies, do you use a circulator when you need a (near) perfect diode?

If a poisoned arrow's piercing damage is reduced to 0, do you still get poisoned?

Is this food a bread or a loaf?

How to deal with fear of taking dependencies

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

Inflated grade on resume at previous job, might former employer tell new employer?

Pristine Bit Checking

How can I create a character who can assume the widest possible range of creature sizes?

Does it makes sense to buy a new cycle to learn riding?

Is domain driven design an anti-SQL pattern?

Lethal sonic weapons

How to make payment on the internet without leaving a money trail?



How to let gpio-keys work in ubuntu 16.04?



The 2019 Stack Overflow Developer Survey Results Are InHow to swap between FN and Ctrl keys?Function Keys don't workMake My Function Keys Work Again?Media Keys and Multitouch not working with Tk820ubuntu 16.04 Elantech TouchpadXubuntu 16.04 Xenial: How can I enable touchpad?How to disable function keysUbuntu GNOME 16.04: Shortcuts and function keys stop working after a while - why is that?Function Keys dont work in OpenboxFunction Keys Do Not work (Brightness & Sound) Ubuntu 16.04





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm using Freescale i.MX6 DL sabresd as my platform and ubuntu 16.04 as my OS system.



I set the gpio-keys in the driver and respectively set to menu, power, volume up and volume down.



But it did not work when I push the button.



I cat /proc/bus/input/devices and I get below content.



I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="mykeys"
P: Phys=gpio-keys/input0
S: Sysfs=/devices/soc0/gpio-keys/input/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=800 1c0040 0 0 0


After getting this information, I tried to cat /dev/input/event3 and push the button.



Oddly, it would print some data out. So I assume that the button is work.



But why the system did not run the function that button related?



Did I miss anything?









share





























    0















    I'm using Freescale i.MX6 DL sabresd as my platform and ubuntu 16.04 as my OS system.



    I set the gpio-keys in the driver and respectively set to menu, power, volume up and volume down.



    But it did not work when I push the button.



    I cat /proc/bus/input/devices and I get below content.



    I: Bus=0019 Vendor=0001 Product=0001 Version=0100
    N: Name="mykeys"
    P: Phys=gpio-keys/input0
    S: Sysfs=/devices/soc0/gpio-keys/input/input3
    U: Uniq=
    H: Handlers=kbd event3
    B: PROP=0
    B: EV=3
    B: KEY=800 1c0040 0 0 0


    After getting this information, I tried to cat /dev/input/event3 and push the button.



    Oddly, it would print some data out. So I assume that the button is work.



    But why the system did not run the function that button related?



    Did I miss anything?









    share

























      0












      0








      0








      I'm using Freescale i.MX6 DL sabresd as my platform and ubuntu 16.04 as my OS system.



      I set the gpio-keys in the driver and respectively set to menu, power, volume up and volume down.



      But it did not work when I push the button.



      I cat /proc/bus/input/devices and I get below content.



      I: Bus=0019 Vendor=0001 Product=0001 Version=0100
      N: Name="mykeys"
      P: Phys=gpio-keys/input0
      S: Sysfs=/devices/soc0/gpio-keys/input/input3
      U: Uniq=
      H: Handlers=kbd event3
      B: PROP=0
      B: EV=3
      B: KEY=800 1c0040 0 0 0


      After getting this information, I tried to cat /dev/input/event3 and push the button.



      Oddly, it would print some data out. So I assume that the button is work.



      But why the system did not run the function that button related?



      Did I miss anything?









      share














      I'm using Freescale i.MX6 DL sabresd as my platform and ubuntu 16.04 as my OS system.



      I set the gpio-keys in the driver and respectively set to menu, power, volume up and volume down.



      But it did not work when I push the button.



      I cat /proc/bus/input/devices and I get below content.



      I: Bus=0019 Vendor=0001 Product=0001 Version=0100
      N: Name="mykeys"
      P: Phys=gpio-keys/input0
      S: Sysfs=/devices/soc0/gpio-keys/input/input3
      U: Uniq=
      H: Handlers=kbd event3
      B: PROP=0
      B: EV=3
      B: KEY=800 1c0040 0 0 0


      After getting this information, I tried to cat /dev/input/event3 and push the button.



      Oddly, it would print some data out. So I assume that the button is work.



      But why the system did not run the function that button related?



      Did I miss anything?







      16.04 keyboard function-keys





      share












      share










      share



      share










      asked 1 min ago









      victorvictor

      11




      11






















          0






          active

          oldest

          votes












          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%2f1132607%2fhow-to-let-gpio-keys-work-in-ubuntu-16-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1132607%2fhow-to-let-gpio-keys-work-in-ubuntu-16-04%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...