ho istallato questo:
opkg update
opkg install kmod-usb-uhci Modules for USB 1.1
opkg install kmod-usb-ohci
opkg install kmod-usb2 Modules for USB 2.0
dato questo comando
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 18:09:20 UTC 2013
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 32MB of RAM installed
[ 0.000000] registering 40 GPIOs
[ 0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-3.9
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board_bcm963xx: board name: CPVA642
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802dab70, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 0.000000] Reserving 0MB of memory at 0MB for crashkernel
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] Memory: 29024k/32768k available (2358k kernel code, 3744k reserved, 501k data, 204k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.000000] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 512
[ 0.052000] NET: Registered protocol family 16
[ 0.068000] registering PCI controller with io_map_base unset
[ 0.072000] registering PCI controller with io_map_base unset
[ 0.092000] bio: create slab <bio-0> at 0
[ 0.100000] PCI host bridge to bus 0000:00
[ 0.104000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.108000] pci_bus 0000:00: root bus resource [io 0x8000000-0x8007fff]
[ 0.112000] pci 0000:00:01.0: [1814:0401] type 0 class 0x000280
[ 0.112000] pci 0000:00:01.0: reg 10: [mem 0xffff8000-0xffffffff]
[ 0.124000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30007fff]
[ 0.128000] PCI host bridge to bus 0000:01
[ 0.132000] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[ 0.136000] pci_bus 0000:01: root bus resource [io 0x8008000-0x800ffff]
[ 0.140000] pci 0000:01:1e.0: [14e4:6358] type 2 class 0x000607
[ 0.140000] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[ 0.144000] pci 0000:01:1e.0: bridge window [io 0x0001-0x0000]
[ 0.148000] pci 0000:01:1e.0: bridge window [io 0x0001-0x0000]
[ 0.152000] pci 0000:01:1e.0: bridge window [mem 0x00000001-0x00000000]
[ 0.156000] PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)
[ 0.160000] pci 0000:01:1e.0: setting latency timer to 64
[ 0.160000] Switching to clocksource MIPS
[ 0.172000] NET: Registered protocol family 2
[ 0.176000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.184000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.192000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.200000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.208000] TCP reno registered
[ 0.208000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.216000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.224000] NET: Registered protocol family 1
[ 0.228000] PCI: CLS 0 bytes, default 16
[ 0.232000] audit: initializing netlink socket (disabled)
[ 0.236000] type=2000 audit(0.236:1): initialized
[ 0.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.252000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.260000] msgmni has been set to 56
[ 0.264000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.272000] io scheduler noop registered
[ 0.276000] io scheduler deadline registered (default)
[ 0.284000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[ 0.292000] console [ttyS0] enabled, bootconsole disabled
[ 0.312000] physmap platform flash device: 02000000 at 1e000000
[ 0.316000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022c9
[ 0.328000] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
[ 0.328000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[ 0.328000] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
[ 0.328000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.332000] Amd/Fujitsu Extended Query version 1.1.
[ 0.340000] physmap-flash.0: Swapping erase regions for top-boot CFI table.
[ 0.344000] number of CFI chips: 1
[ 0.348000] bcm63xxpart: CFE boot tag found with version 6 and board type CPVA642
[ 0.356000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.364000] bcm63xxpart: Partition 1 is kernel offset 10100 and length fff00
[ 0.372000] bcm63xxpart: Partition 2 is rootfs offset 110000 and length 6e0000
[ 0.380000] bcm63xxpart: Partition 3 is nvram offset 7f0000 and length 10000
[ 0.388000] bcm63xxpart: Partition 4 is linux offset 10000 and length 7e0000
[ 0.392000] bcm63xxpart: Spare partition is offset 2d0004 and length 51fffc
[ 0.400000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[ 0.408000] Creating 5 MTD partitions on "physmap-flash.0":
[ 0.412000] 0x000000000000-0x000000010000 : "CFE"
[ 0.424000] 0x000000010100-0x000000110000 : "kernel"
[ 0.428000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.444000] 0x000000110000-0x0000007f0000 : "rootfs"
[ 0.452000] mtd: partition "rootfs" set to be root filesystem
[ 0.460000] mtd: partition "rootfs_data" created automatically, ofs=2D0000, len=520000
[ 0.468000] 0x0000002d0000-0x0000007f0000 : "rootfs_data"
[ 0.476000] 0x0000007f0000-0x000000800000 : "nvram"
[ 0.488000] 0x000000010000-0x0000007f0000 : "linux"
[ 0.508000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.516000] Registered led device: CPVA642:red:power
[ 0.516000] Registered led device: CPVA642:green:power
[ 0.516000] Registered led device: CPVA642:red:wifi
[ 0.516000] Registered led device: CPVA642:green:wifi
[ 0.520000] Registered led device: CPVA642:red:link
[ 0.520000] Registered led device: CPVA642:green:link
[ 0.520000] Registered led device: CPVA642:green:ether
[ 0.520000] Registered led device: CPVA642:green:phone1
[ 0.520000] Registered led device: CPVA642:green:phone2
[ 0.524000] Registered led device: CPVA642:green:usb
[ 0.524000] TCP cubic registered
[ 0.528000] NET: Registered protocol family 17
[ 0.532000] Bridge firewalling registered
[ 0.536000] 8021q: 802.1Q VLAN Support v1.8
[ 0.552000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.560000] Freeing unused kernel memory: 204k freed
[ 3.416000] eth0: link forced UP - 100/full - flow control off/off
[ 3.480000] roboswitch: Probing device eth0: Failed to enable switch
[ 3.488000] roboswitch: Probing device eth1: No such device
[ 3.496000] roboswitch: Probing device eth2: No such device
[ 3.500000] roboswitch: Probing device eth3: No such device
[ 5.920000] Button Hotplug driver version 0.4.1
[ 6.116000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[ 10.184000] JFFS2 notice: (363) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 25 of xref (0 dead, 8 orphan) found.
[ 13.628000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 13.636000] Backport based on wireless-testing.git master-2012-09-07
[ 13.644000] compat.git: wireless-testing.git
[ 13.708000] cfg80211: Calling CRDA to update world regulatory domain
[ 13.716000] cfg80211: World regulatory domain updated:
[ 13.720000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 13.728000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.736000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.744000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.752000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.760000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.032000] There is already a switch registered on the device 'eth0'
[ 14.036000] roboswitch: Probing device eth1: No such device
[ 14.044000] roboswitch: Probing device eth2: No such device
[ 14.048000] roboswitch: Probing device eth3: No such device
[ 14.272000] usbcore: registered new interface driver usbfs
[ 14.276000] usbcore: registered new interface driver hub
[ 14.284000] usbcore: registered new device driver usb
[ 14.788000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 14.796000] rt61pci 0000:00:01.0: setting latency timer to 64
[ 14.808000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 14.812000] Registered led device: rt61pci-phy0::radio
[ 14.812000] Registered led device: rt61pci-phy0::assoc
[ 15.152000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 15.388000] PPP generic driver version 2.4.2
[ 15.608000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.872000] NET: Registered protocol family 24
[ 15.956000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 16.068000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[ 16.072000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[ 16.108000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[ 16.124000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 16.132000] hub 1-0:1.0: USB hub found
[ 16.136000] hub 1-0:1.0: 2 ports detected
[ 16.188000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[ 16.452000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[ 16.664000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 16.776000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[ 16.780000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[ 16.788000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[ 16.856000] hub 2-0:1.0: USB hub found
[ 16.860000] hub 2-0:1.0: 1 port detected
[ 16.924000] uhci_hcd: USB Universal Host Controller Interface driver
[ 22.852000] eth0: link forced UP - 100/full - flow control off/off
[ 22.864000] device eth0 entered promiscuous mode
[ 22.872000] br-lan: port 1(eth0) entered forwarding state
[ 22.876000] br-lan: port 1(eth0) entered forwarding state
[ 24.880000] br-lan: port 1(eth0) entered forwarding state
[ 32.864000] wlan0: authenticate with 00:14:5c:90:ae:cc
[ 32.884000] wlan0: send auth to 00:14:5c:90:ae:cc (try 1/3)
[ 32.892000] wlan0: authenticated
[ 32.928000] wlan0: associate with 00:14:5c:90:ae:cc (try 1/3)
[ 32.936000] wlan0: RX AssocResp from 00:14:5c:90:ae:cc (capab=0x411 status=0 aid=6)
[ 32.948000] wlan0: associated
Edit:
ho risolto cosi:
opkg update
opkg install kmod-usb2 kmod-usb-storage kmod-usb-storage-extras block-mount hotplug2
opkg install usbutils
con questi comandi ho risolto il funzionamento di "lsusb"
infatti adesso mi rileva la chiavetta wifi:
root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
quali driver devo istallare?