I guess this can be solved by the USB power management. Even if I shutdown armstone by using the "halt" command the USB devices will keep powered on.
I also played around with the
directory but was not able to suspend USB power.
I also had a look into the device tree:
Code
- reg_usb_otg_vbus: usb_otg_vbus {
- compatible = "regulator-fixed";
- regulator-name = "usb_otg_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
- };
- reg_usb_h1_vbus: usb_h1_vbus {
- compatible = "regulator-fixed";
- regulator-name = "usb_h1_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- /* No way to switch USB1_H1_VBUS power */
- // gpio = <&gpio1 29 0>;
- // enable-active-high;
- };
Is there any possibility to get control over USB power?