3 Replies Latest reply on Jun 6, 2018 3:08 AM by Intel Corporation

    disable automatic boot with USB

    tuma84

      Hi everybody,

       

      I created my own PCB for the Intel-Edison some time ago. There is a powermanagemnet avialbale, icluding charging IC and gauge IC. Its wokring with a battery. If I use the "poweroff" command in linux the device is off and I plug the USB cable for charning afterwards the device is booting automatically. Is there a way to avoid this? (in software) I attached the powerbutton part of the scematic.

       

      Once the device is off I want to turn it on by pressing only the powerbutton.

       

      Thanks,

      Markus

       

      pwr.jpg

        • 1. Re: disable automatic boot with USB
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello Markus,

          Thank you for your interest in the Intel Edison board.
          Your request has been received and is currently being investigated. 
          We will get back to you as soon as possible.

          Regards,
          Octavian
           

          • 2. Re: disable automatic boot with USB
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hello tuma84. 


            Thank you very much for your patience in receiving an answer to your query. 

            We are not sure how easy or difficult this task may be. There are some files in the source image that are related to the power button and the usb otg port (there may also be others).
            You may need to take a look at them and modify them to fit your project needs.
            Keep in mind such changes are out of our support scope and the modifications may not work as expected.

            You can find additional information here: 

            ./linux-kernel/drivers/input/misc/retu-pwrbutton.c

            ./linux-kernel/drivers/input/misc/twl4030-pwrbutton.c

            ./linux-kernel/drivers/input/misc/mc13783-pwrbutton.c

            ./linux-kernel/arch/arm/plat-samsung/include/plat/regs-usb-hsotg-phy.h

            ./linux-kernel/arch/x86/platform/intel-mid/device_libs/pci/platform_usb_otg.c
             

            Let me know if this information is helpful. 


            Regards, 
            Casandra 
            • 3. Re: disable automatic boot with USB
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hello tuma84, 


              Was the information provided previously helpful? 
              Do you have any other queries on this topic? 


              Regards, 
              Casandra