В Fri, 11 Feb 2011 18:06:06 +0800 HP Teoh <hpt...@ceedtec.com> пишет:
> Hi Alexander, > > Thank you very much for the pointer. I downloaded "ago" version from this > link https://github.com/ago/openwrt. Both USB support and DWC_OTG now show > up in menuconfig as expected. "ago" is me :) > I was able to compile, build, load the firmware, and bring up the rt305x > board fine. However, when I plugged in a 3G USB modem, the console spitted > out usb descriptor error -32 (broken pipe??). Please see red messages > below. > > Any idea? Sorry, I forgot to tell: just reload the module. It doesn't work when the module is loaded for the first time after reboot. I.e you have to do like this: insmod dwc_otg.ko (done by autoload) rmmod dwc_otg insmod dwc_otg.ko I'm digging the problem but any help/testing is very much appreciated. > NET: Registered protocol family 24 > nf_conntrack version 0.5.0 (471 buckets, 1884 max) > dwc_otg: version 1.05 > 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 26, io mem 0x101c0000 > Init: Port Power? op_state=a_host > Init: Power Port (0) > hub 1-0:1.0: USB hub found > hub 1-0:1.0: 1 port detected > ++OTG Interrupt: Debounce Done++ > usbnet: Unknown symbol mii_ethtool_sset (err 0) > usbnet: Unknown symbol mii_link_ok (err 0) > usbnet: Unknown symbol mii_nway_restart (err 0) > usbnet: Unknown symbol mii_ethtool_gset (err 0) > usbcore: registered new interface driver usbserial > USB Serial support registered for generic > usb 1-1: new full speed USB device using dwc_otg and address 2 > usb 1-1: device descriptor read/64, error -32 > usb 1-1: device descriptor read/64, error -32 > usb 1-1: new full speed USB device using dwc_otg and address 3 > usb 1-1: device descriptor read/64, error -32 > usb 1-1: device descriptor read/64, error -32 > usb 1-1: new full speed USB device using dwc_otg and address 4 > usb 1-1: device not accepting address 4, error -32 > usb 1-1: new full speed USB device using dwc_otg and address 5 > usb 1-1: device not accepting address 5, error -32 > hub 1-0:1.0: unable to enumerate USB device on port 1 > usbcore: registered new interface driver usbserial_generic > usbserial: USB Serial Driver core > hso: drivers/net/usb/hso.c: Option Wireless > usbcore: registered new interface driver hso > USB Serial support registered for GSM modem (1-port) > usbcore: registered new interface driver option > option: v0.7.2:USB Driver for GSM modems > USB Serial support registered for Sierra USB modem > usbcore: registered new interface driver sierra > sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems > ramips-wdt: timeout value 60 must be 0 < timeout < 33 > > > Cheers. > -Vincent > > On Fri, Feb 11, 2011 at 10:04 AM, Alexander Gordeev > <lasa...@lvk.cs.msu.su>wrote: > > > В Thu, 10 Feb 2011 11:18:39 +0800 > > HP Teoh <hpt...@ceedtec.com> пишет: > > > > > Hi Alexander, > > > > > > I have applied this usb patch and the dwc_otg patches to my trunk but I > > > still can't get the USB option to show up in make menuconfig -> Kernel > > > modules -> USB Support. > > > > Please try to checkout openwrt tree to a new directory and try again > > there. If it works then 'make clean' in the old clone would help > > probably. > > > > > On Tue, Feb 1, 2011 at 8:08 PM, Alexander Gordeev <lasa...@lvk.cs.msu.su > > >wrote: > > > > > > > Signed-off-by: Alexander Gordeev <lasa...@lvk.cs.msu.su> > > > > --- > > > > target/linux/ramips/files/arch/mips/ralink/Kconfig | 3 +++ > > > > target/linux/ramips/rt305x/config-2.6.36 | 3 --- > > > > 2 files changed, 3 insertions(+), 3 deletions(-) > > > > > > > > diff --git a/target/linux/ramips/files/arch/mips/ralink/Kconfig > > > > b/target/linux/ramips/files/arch/mips/ralink/Kconfig > > > > index c30dbe1..cf94798 100644 > > > > --- a/target/linux/ramips/files/arch/mips/ralink/Kconfig > > > > +++ b/target/linux/ramips/files/arch/mips/ralink/Kconfig > > > > @@ -47,6 +47,9 @@ config SOC_RT305X > > > > select SYS_SUPPORTS_LITTLE_ENDIAN > > > > select SYS_HAS_EARLY_PRINTK > > > > select MIPS_MACHINE > > > > + select USB_ARCH_HAS_EHCI > > > > + select USB_ARCH_HAS_HCD > > > > + select USB_ARCH_HAS_OHCI > > > > > > > > config RALINK_DEV_GPIO_BUTTONS > > > > def_bool n > > > > diff --git a/target/linux/ramips/rt305x/config-2.6.36 > > > > b/target/linux/ramips/rt305x/config-2.6.36 > > > > index 456a625..71db4b3 100644 > > > > --- a/target/linux/ramips/rt305x/config-2.6.36 > > > > +++ b/target/linux/ramips/rt305x/config-2.6.36 > > > > @@ -96,8 +96,5 @@ CONFIG_SYS_SUPPORTS_ARBIT_HZ=y > > > > CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y > > > > # CONFIG_TINY_RCU is not set > > > > CONFIG_TREE_RCU=y > > > > -# CONFIG_USB_ARCH_HAS_EHCI is not set > > > > -# CONFIG_USB_ARCH_HAS_HCD is not set > > > > -# CONFIG_USB_ARCH_HAS_OHCI is not set > > > > CONFIG_USB_SUPPORT=y > > > > CONFIG_ZONE_DMA_FLAG=0 > > > > -- > > > > 1.7.2.3 > > > > -- > > Alexander > > -- Alexander
signature.asc
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel