Hi,

I have a Asus WL500GPv2 and i would like to use its USB with 2.6 kernel.
I had the same problem last November and sent a mail to the platform
maintainers. No helpful response received....
Maybe this time we will find a solution.
I'm a bit astonished about your November reference.
On my somewhat custom 2.6.31.9 OpenWrt (with repository state as of ~ November 
30
- not December -, didn't dare updating after that time, I guess you can
understand that), USB works fully on my WL-500GPv2, with Debian rootfs.
I have attached my correspondence from last November.
Maybe some helpful (but outdated?) information could
be found.


Regards

    Micha

PS: I will try out the current image within the next days.

--- Begin Message ---
Hi,

I have spend several days to get usb support on the asus v2 router up and running, but no success. I have tried 8.09 branch (8.09-RC2) and trunk, firmware can be installed, router is booting, but usb is not working. (simple pl2303 usb serial adapter will not be
detected, no output with lsusb)

Do you have any hint to get usb support running ?
What kind of router is this? "asus v2" doesn't mean anything, asus has
lots of different devices.
it is an ASUS WL500-gP V2 (see subject)

Did you add the required host controller driver? (dunno if it's ohci or
uhci for your hardware)
yes, I followed the instructions on http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/asus/wl500gpv2, but documentation seems outdated, not existing patch files, already integrated patch files (trunk)
You should also install kmod-usb2 for usb2 host controller support
yes, kmod-usb2 is installed, dmesg shows "ECHI_HCD ....", but no usb core is detected.
I will try the precompiled brcm47xx firmware images for 8.09 and trunk
and send you the output of dmesg, lsusb, lspci, opkg list_installed....
today I tried the precompiled trunk image for brcm47xx (downloaded from openwrt 
website),
but same result as last time :-(

I have attached the output of several commands, maybe this will help for 
debugging.


Regards

    Micha

Linux version 2.6.30.9 (build...@tesla) (gcc version 4.3.3 (GCC) ) #1 Fri Nov 
13 07:00:26 UTC 2009
CPU revision is: 00029029 (Broadcom BCM3302)
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x14, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x09, vendor 0x4243)
ssb: Core 2 found: MIPS 3302 (cc 0x816, rev 0x08, vendor 0x4243)
ssb: Core 3 found: USB 2.0 Host (cc 0x819, rev 0x02, vendor 0x4243)
ssb: Core 4 found: MEMC SDRAM (cc 0x80F, rev 0x04, vendor 0x4243)
ssb: Core 5 found: IEEE 802.11 (cc 0x812, rev 0x0D, vendor 0x4243)
ssb: Core 6 found: Roboswitch (cc 0x81C, rev 0x02, vendor 0x4243)
ssb: Found rev 0 PMU (capabilities 0x04A63400)
ssb: Initializing MIPS core...
ssb: core 0x0800, irq : 2(S)  3* 4  5  6  D  I 
ssb: core 0x0806, irq : 2(S)  3  4* 5  6  D  I 
ssb: core 0x0816, irq : 2(S)  3  4  5* 6  D  I 
ssb: core 0x0819, irq : 2(S)  3  4  5  6* D  I 
ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
ssb: core 0x0812, irq : 2(S)* 3  4  5  6  D  I 
ssb: core 0x081c, irq : 2(S)  3  4  5  6  D  I*
ssb: set_irq: core 0x0806, irq 4 => 4
ssb: set_irq: core 0x0816, irq 5 => 2
ssb: set_irq: core 0x0812, irq 2 => 5
ssb: after irq reconfiguration
ssb: core 0x0800, irq : 2(S)  3* 4  5  6  D  I 
ssb: core 0x0806, irq : 2(S)  3  4* 5  6  D  I 
ssb: core 0x0816, irq : 2(S)* 3  4  5  6  D  I 
ssb: core 0x0819, irq : 2(S)  3  4  5  6* D  I 
ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
ssb: core 0x0812, irq : 2(S)  3  4  5* 6  D  I 
ssb: core 0x081c, irq : 2(S)  3  4  5  6  D  I*
ssb: Sonics Silicon Backplane found at address 0x18000000
Serial init done.
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 80298360, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd 
console=ttyS0,115200
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
NR_IRQS:128
PID hash table entries: 128 (order: 7, 512 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29564k/32768k available (2248k kernel code, 3204k reserved, 409k data, 
128k init, 0k highmem)
Calibrating delay loop... 239.61 BogoMIPS (lpj=479232)
Mount-cache hash table entries: 512
net_namespace: 1008 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switched to high resolution mode on CPU 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 57
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
b44.c:v2.0
eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:22:15:26:a6:e5
flash init: 0x1c000000 0x02000000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x800000 at 0x1fc00000
bootloader size: 131072
Updating TRX offsets and length:
old trx = [0x0000001c, 0x00000974, 0x000da800], len=0x00291000 crc32=0x420c936a
new trx = [0x0000001c, 0x00000974, 0x000da800], len=0x000da800 crc32=0xb64d97e3
Done
Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000020000 : "cfe"
0x000000020000-0x0000007f0000 : "linux"
0x0000000fa800-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be 
smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=550000 
0x0000002a0000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "nvram"
BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <gree...@candelatech.com>
All bugs added by David S. Miller <da...@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 128k freed
Please be patient, while OpenWrt loads ...
diag: Detected 'ASUS WL-500g Premium V2'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: found a 5325! It's a 5350.
b44: eth0: powering down PHY
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
b43-phy0: Broadcom 5354 WLAN found (core revision 13)
b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 6, Type 5, Revision 0)
b43: probe of ssb0:3 failed with error -122
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (512 buckets, 2048 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
ehci_hcd: Unknown symbol usb_hcd_pci_probe
ehci_hcd: Unknown symbol usb_hcd_unlink_urb_from_ep
ehci_hcd: Unknown symbol usb_disabled
ehci_hcd: Unknown symbol usb_hcd_check_unlink_urb
ehci_hcd: Unknown symbol usb_hcds_loaded
ehci_hcd: Unknown symbol usb_calc_bus_time
ehci_hcd: Unknown symbol ehci_cf_port_reset_rwsem
ehci_hcd: Unknown symbol usb_hcd_pci_shutdown
ehci_hcd: Unknown symbol usb_hcd_link_urb_to_ep
ehci_hcd: Unknown symbol usb_put_hcd
ehci_hcd: Unknown symbol usb_hub_clear_tt_buffer
ehci_hcd: Unknown symbol usb_hcd_giveback_urb
ehci_hcd: Unknown symbol usb_hcd_poll_rh_status
ehci_hcd: Unknown symbol usb_create_hcd
ehci_hcd: Unknown symbol usb_hcd_pci_remove
ehci_hcd: Unknown symbol usb_remove_hcd
ehci_hcd: Unknown symbol usb_add_hcd
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Module                  Size  Used by    Not tainted
ehci_hcd               32464  0 
usbcore               103120  1 ehci_hcd
nf_nat_tftp              432  0 
nf_conntrack_tftp       2400  1 nf_nat_tftp
nf_nat_irc               880  0 
nf_conntrack_irc        2608  1 nf_nat_irc
nf_nat_ftp              1360  0 
nf_conntrack_ftp        4976  1 nf_nat_ftp
ipt_MASQUERADE          1072  2 
iptable_nat             2848  1 
nf_nat                 12496  5 
nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_NOTRACK               672  0 
iptable_raw              640  1 
xt_state                 800  3 
nf_conntrack_ipv4       8640  6 iptable_nat,nf_nat
nf_defrag_ipv4           608  1 nf_conntrack_ipv4
nf_conntrack           43120 12 
nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppoe                   9744  0 
pppox                   1312  1 pppoe
ipt_REJECT              2016  2 
xt_TCPMSS               2720  2 
ipt_LOG                 4736  0 
xt_multiport            1904  0 
xt_mac                   576  0 
xt_limit                1152  1 
iptable_mangle           992  0 
iptable_filter           768  1 
ip_tables               8224  4 
iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1856  5 
x_tables                9248 12 
ipt_MASQUERADE,iptable_nat,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp
ppp_async               9024  0 
ppp_generic            21072  3 pppoe,pppox,ppp_async
slhc                    5088  1 ppp_generic
b43legacy              99088  0 
b43                   112272  0 
mac80211              151408  2 b43legacy,b43
cfg80211              112896  3 b43legacy,b43,mac80211
crc_ccitt                976  1 ppp_async
arc4                     816  0 
aes_generic            30896  0 
deflate                 1344  0 
ecb                     1312  0 
cbc                     2000  0 
switch_robo             4064  0 
switch_core             5120  1 switch_robo
diag                    7312  0 
base-files - 33-r18405
busybox - 1.14.4-1
dnsmasq - 2.50-2
dropbear - 0.52-3
firewall - 1-8
hostapd-mini - 20091111-1
hotplug2 - 1.0-beta-1
iptables - 1.4.4-2
iptables-mod-conntrack - 1.4.4-2
iptables-mod-nat - 1.4.4-2
iw - 0.9.17-1
kernel - 2.6.30.9-1
kmod-b43 - 2.6.30.9+2009-11-03-1
kmod-b43legacy - 2.6.30.9+2009-11-03-1
kmod-crc-ccitt - 2.6.30.9-1
kmod-crypto-aes - 2.6.30.9-1
kmod-crypto-arc4 - 2.6.30.9-1
kmod-crypto-core - 2.6.30.9-1
kmod-diag - 2.6.30.9-5
kmod-ipt-conntrack - 2.6.30.9-1
kmod-ipt-core - 2.6.30.9-1
kmod-ipt-nat - 2.6.30.9-1
kmod-ipt-nathelper - 2.6.30.9-1
kmod-mac80211 - 2.6.30.9+2009-11-03-1
kmod-ppp - 2.6.30.9-1
kmod-pppoe - 2.6.30.9-1
kmod-switch - 2.6.30.9-2
kmod-usb-core - 2.6.30.9-1
kmod-usb2 - 2.6.30.9-1
libc - 0.9.30.1-33
libgcc - 4.3.3+cs-33
libiptc - 1.4.4-2
liblua - 5.1.4-5
libnl-tiny - 0.1-1
libuci - 0.7.5-1
libuci-lua - 0.7.5-1
libusb - 0.1.12-2
libxtables - 1.4.4-2
lua - 5.1.4-5
luci-core - 0.9+svn5536-1
luci-http - 0.9+svn5536-1
luci-lmo - 0.9+svn5536-1
luci-lucid - 0.9+svn5536-1
luci-nixio - 0.9+svn5536-1
luci-px5g - 0.9+svn5536-1
luci-sgi-cgi - 0.9+svn5536-1
luci-sys - 0.9+svn5536-1
luci-theme-base - 0.9+svn5536-1
luci-theme-openwrt - 0.9+svn5536-1
luci-uci - 0.9+svn5536-1
luci-web - 0.9+svn5536-1
mtd - 10
nvram - 5
opkg - 284-1
pciutils - 3.1.4-1
ppp - 2.4.4-4
ppp-mod-pppoe - 2.4.4-4
uci - 0.7.5-1
ucitrigger - 0.7.5-1
udevtrigger - 106-1
usbutils - 0.86-1
wireless-tools - 29-4
zlib - 1.2.3-5

--- End Message ---
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to