Hello,

when I have onboard USB WiFi I have something like this in fex file:

[usbc1]
usb_used = 1
usb_port_type = 1
usb_detect_type = 0
usb_controller_type = 1
usb_id_gpio =
usb_det_vbus_gpio =
usb_drv_vbus_gpio = port:PG11<1><0><default><0>
usb_host_init_state = 0

[usb_wifi_para]
usb_wifi_used = 1
usb_wifi_usbc_num = 1

With this the USB port is not powered on boot so the WiFi driver does not load.

To power the port I can either guess which drivers are patched to make
use of the [usb_wifi_para] section in the image I have and load one of
them or I can set usb_host_init_state = 1 in the fex file.

Is there some way to power on and off the port which has
usb_drv_vbus_gpio from userspace?

Thanks

Michal

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to