Something like pio -m 'PB9<1><2><1><1>' ought to enable the 5v rail for that port, possibly solving your issues.
You'll need to get 'pio' source from https://github.com/linux-sunxi/sunxi-tools/blob/master/pio.c and compile it. On Sat, Jan 25, 2014 at 7:40 AM, SK <[email protected]> wrote: > > > perjantai, 24. tammikuuta 2014 18.30.06 UTC+2 Ian Daniher kirjoitti: > >> Depending upon your kernel and hardware, you may need to configure the >> port as host-only? >> >> > usb_port_type = 1 >> > usb_host_init_state = 1 >> >> On my A20 board with a similar basic configuration, I have to manually >> enable the pin used for usb_drv_vbus_gpio to enable the 5v rail. >> > > Not work with host-only configuration. > Nor with powered usb hub. > > How can i enable this usb_drv_vbus_gpio pin? > > Regards > Seppo > >> >> >> On Fri, Jan 24, 2014 at 5:55 AM, SK <[email protected]> wrote: >> >>> >>> >>> perjantai, 24. tammikuuta 2014 12.18.52 UTC+2 Olliver Schinagl >>> kirjoitti: >>> >>>> On 24-01-14 10:18, SK wrote: >>>> >>>> >>>> > Few days ago i finally got my MID S906 booting to Fedora 19r1 >>>> > But usb not seem to activated. (no power to keyboard or mouse) >>>> > >>>> > >>>> > I get access to Fedora initial setup screen but not able to use >>>> > keyboard or mouse. >>>> > >>>> > Does it need some sort of script to activate usb after booting? >>>> > Or powered usb hub? >>>> Depends, but generally, no; it should just work; double check your >>>> script.bin's usb0 settings, make sure it's powered. A powered USB hub >>>> helps generally here. >>>> >>>> My tablet script.bin usb section: >>> >>> [usbc0] >>> usb_used = 1 >>> usb_port_type = 2 >>> usb_detect_type = 1 >>> usb_id_gpio = port:PH04<0><1><default><default> >>> usb_det_vbus_gpio = "axp_ctrl" >>> usb_drv_vbus_gpio = port:PB09<1><0><default><0> >>> usb_ac_enable_gpio = port:PH05<1><0><default><0> >>> usb_restrict_gpio = 0 >>> usb_host_init_state = 0 >>> usb_restric_flag = 0 >>> usb_restric_voltage = 3550000 >>> usb_restric_capacity = 5 >>> >>> >>> -- > You received this message because you are subscribed to a topic in the > Google Groups "linux-sunxi" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/linux-sunxi/PLgUj-KefKQ/unsubscribe. > To unsubscribe from this group and all of its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/groups/opt_out.
