Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MHill7
Beginner
1,199 Views

disable automatic boot with USB

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

Tags (1)
0 Kudos
3 Replies
idata
Community Manager
65 Views

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

 

idata
Community Manager
65 Views

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
idata
Community Manager
65 Views

Hello tuma84,

 

 

 

Was the information provided previously helpful?

 

Do you have any other queries on this topic?

 

 

 

Regards,

 

Casandra

 

Reply