2011/5/9 John Crispin <j...@phrozen.org>

>
> try adding printk("foo %d\n", pin); between the "// GPIOs" and the "if
> (" and see what the bootlog says ....
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>

This is what it says:

dwc_otg: version 2.60a 22-NOV-2006
foo 29
DWC_otg: Using DMA mode
dwc_otg dwc_otg.0: DWC OTG Controller
dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
dwc_otg dwc_otg.0: irq 62, io mem 0xffffffffbe101000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected

I also tried some other GPIOs, and none works, but I'm sure that it is 29,
because I also found inside router GPL source "// P1.13 GPIO29 is EN_USB_PWR
on Porta-Danube" and there was also something about 13 in that patch I got
to power up USB on old ifxmips.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to