1 (edytowany przez maszudi 2013-02-24 10:26:52)

Temat: WR941ND v3.6 usb

Witam

Dorobiłem, że tak powiem sobie usb do tego modelu. Wszystko ok ale chyba trzeba wgrać obraz z odpowiednim patchem ale ja już tego niestety nie potrafie. Może ktoś ma takowy obraz lub mógłby stworzyć.

Dziękuje

Patch

--- a/arch/mips/ar71xx/dev-usb.c
+++ b/arch/mips/ar71xx/dev-usb.c
@@ -142,6 +142,11 @@

static void __init ar91xx_usb_setup(void)
{
+    /* USB PLL init from TL-WR1043ND's u-boot/board/ar7100/ap83/ap83.c */
+    /* this is missing in TL-WR941ND's u-boot/board/ar7100/ap81/ap81.c */
+    /* ar71xx_pll_wr(AR91XX_PLL_REG_USB_CONFIG, 0x00001030); */
+    *(volatile unsigned int *)0xb8050008 = 0x00001030;
+
    ar71xx_device_stop(RESET_MODULE_USBSUS_OVERRIDE);
    mdelay(10);

--- a/arch/mips/ar71xx/mach-tl-wr941nd.c
+++ b/arch/mips/ar71xx/mach-tl-wr941nd.c
@@ -20,6 +20,7 @@
#include "dev-ar913x-wmac.h"
#include "dev-gpio-buttons.h"
#include "dev-leds-gpio.h"
+#include "dev-usb.h"

#define TL_WR941ND_GPIO_LED_SYSTEM     2
#define TL_WR941ND_GPIO_LED_QSS_RED    4
@@ -125,6 +125,9 @@
    ar71xx_eth0_data.duplex = DUPLEX_FULL;

    ar71xx_add_device_eth(0);
+
+    ar71xx_add_device_usb();
+
    ar71xx_add_device_dsa(0, &tl_wr941nd_dsa_data);

    ar71xx_add_device_m25p80(&tl_wr941nd_flash_data);
--- a/arch/mips/ar71xx/Kconfig
+++ b/arch/mips/ar71xx/Kconfig
@@ -182,6 +182,7 @@
    select AR71XX_DEV_DSA
    select AR71XX_DEV_GPIO_BUTTONS
    select AR71XX_DEV_LEDS_GPIO
+    select AR71XX_DEV_USB
    default n

config AR71XX_MACH_TL_WR1043ND




Próbowałem sam skompilować i na koniec mam coś takiego:

arch/mips/ath79/mach-tl-wr941nd.c: In function 'tl_wr941nd_setup':
arch/mips/ath79/mach-tl-wr941nd.c:99:9: error: implicit declaration of function 'ath79_register_device_usb' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

make[7]: *** [arch/mips/ath79/mach-tl-wr941nd.o] Error 1
make[6]: *** [arch/mips/ath79] Error 2
make[5]: *** [arch/mips] Error 2
make[5]: Leaving directory `/home/adam/svn/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8'
make[4]: *** [/home/adam/svn/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8/.image] Error 2
make[4]: Leaving directory `/home/adam/svn/attitude_adjustment/target/linux/ar71xx'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/adam/svn/attitude_adjustment/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/home/adam/svn/attitude_adjustment'
make[1]: *** [/home/adam/svn/attitude_adjustment/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.target_install] Error 2
make[1]: Leaving directory `/home/adam/svn/attitude_adjustment'
make: *** [world] Error 2

2

Odp: WR941ND v3.6 usb

v3 i v4 to różne sprzęty. Ma wyjść obraz dla v2.

Co do błędu: chyba #include "dev-usb.h" nie zrobiłeś.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: WR941ND v3.6 usb

tak to wygląda

/*
*  TP-LINK TL-WR941ND board support
*
*  Copyright (C) 2009-2012 Gabor Juhos <juhosg@openwrt.org>
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License version 2 as published
*  by the Free Software Foundation.
*/

#include <linux/platform_device.h>

#include <asm/mach-ath79/ath79.h>

#include "dev-dsa.h"
#include "dev-eth.h"
#include "dev-gpio-buttons.h"
#include "dev-leds-gpio.h"
#include "dev-usb.h"
#include "dev-m25p80.h"
#include "dev-wmac.h"
#include "machtypes.h"

#define TL_WR941ND_GPIO_LED_SYSTEM    2
#define TL_WR941ND_GPIO_LED_QSS_RED    4
#define TL_WR941ND_GPIO_LED_QSS_GREEN    5
#define TL_WR941ND_GPIO_LED_WLAN    9

#define TL_WR941ND_GPIO_BTN_RESET    3
#define TL_WR941ND_GPIO_BTN_QSS        7

#define TL_WR941ND_KEYS_POLL_INTERVAL    20    /* msecs */
#define TL_WR941ND_KEYS_DEBOUNCE_INTERVAL (3 * TL_WR941ND_KEYS_POLL_INTERVAL)

static const char *tl_wr941nd_part_probes[] = {
    "tp-link",
    NULL,
};

static struct flash_platform_data tl_wr941nd_flash_data = {
    .part_probes    = tl_wr941nd_part_probes,
};

static struct gpio_led tl_wr941nd_leds_gpio[] __initdata = {
    {
        .name        = "tp-link:green:system",
        .gpio        = TL_WR941ND_GPIO_LED_SYSTEM,
        .active_low    = 1,
    }, {
        .name        = "tp-link:red:qss",
        .gpio        = TL_WR941ND_GPIO_LED_QSS_RED,
    }, {
        .name        = "tp-link:green:qss",
        .gpio        = TL_WR941ND_GPIO_LED_QSS_GREEN,
    }, {
        .name        = "tp-link:green:wlan",
        .gpio        = TL_WR941ND_GPIO_LED_WLAN,
        .active_low    = 1,
    }
};

static struct gpio_keys_button tl_wr941nd_gpio_keys[] __initdata = {
    {
        .desc        = "reset",
        .type        = EV_KEY,
        .code        = KEY_RESTART,
        .debounce_interval = TL_WR941ND_KEYS_DEBOUNCE_INTERVAL,
        .gpio        = TL_WR941ND_GPIO_BTN_RESET,
        .active_low    = 1,
    }, {
        .desc        = "qss",
        .type        = EV_KEY,
        .code        = KEY_WPS_BUTTON,
        .debounce_interval = TL_WR941ND_KEYS_DEBOUNCE_INTERVAL,
        .gpio        = TL_WR941ND_GPIO_BTN_QSS,
        .active_low    = 1,
    }
};

static struct dsa_chip_data tl_wr941nd_dsa_chip = {
    .port_names[0]  = "wan",
    .port_names[1]  = "lan1",
    .port_names[2]  = "lan2",
    .port_names[3]  = "lan3",
    .port_names[4]  = "lan4",
    .port_names[5]  = "cpu",
};

static struct dsa_platform_data tl_wr941nd_dsa_data = {
    .nr_chips    = 1,
    .chip        = &tl_wr941nd_dsa_chip,
};

static void __init tl_wr941nd_setup(void)
{
    u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
    u8 *eeprom = (u8 *) KSEG1ADDR(0x1fff1000);

    ath79_register_mdio(0, 0x0);

    ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
    ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
    ath79_eth0_data.speed = SPEED_100;
    ath79_eth0_data.duplex = DUPLEX_FULL;

    ath79_register_eth(0);

        ath79_register_device_usb();

    ath79_register_dsa(&ath79_eth0_device.dev, &ath79_mdio0_device.dev,
               &tl_wr941nd_dsa_data);

    ath79_register_m25p80(&tl_wr941nd_flash_data);

    ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wr941nd_leds_gpio),
                 tl_wr941nd_leds_gpio);

    ath79_register_gpio_keys_polled(-1, TL_WR941ND_KEYS_POLL_INTERVAL,
                    ARRAY_SIZE(tl_wr941nd_gpio_keys),
                    tl_wr941nd_gpio_keys);
    ath79_register_wmac(eeprom, mac);
}

MIPS_MACHINE(ATH79_MACH_TL_WR941ND, "TL-WR941ND", "TP-LINK TL-WR941ND",
         tl_wr941nd_setup);

4

Odp: WR941ND v3.6 usb

Skompilowałem to: http://ecco.selfip.net/attitude_adjustment/ar71xx/usb/ resztę rzeczy do usb trzeba tam doinstalować.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: WR941ND v3.6 usb

Dziękuje.

Dam znać jak mi to poszło z tym USB

6 (edytowany przez maszudi 2013-02-24 14:56:26)

Odp: WR941ND v3.6 usb

Firmware wgrane.
Pendrive włożony i co jakieś 20s mrugnie dioda. Ale nic poza tym
oto mój dmesg

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #29 Sun Feb 24 12:12:30 CET 2013
[    0.000000] MyLoader: sysp=8aaa20b2, boardp=a2aaaa22, parts=2aaa22aa
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9132 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:100.000MHz, Ref:5.000MHz
[    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 802eb080, 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] 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:  board=TL-WR941ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    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 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29024k/32768k available (2196k kernel code, 3744k reserved, 409k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR941ND
[    0.360000] bio: create slab <bio-0> at 0
[    0.370000] Switching to clocksource MIPS
[    0.380000] NET: Registered protocol family 2
[    0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.390000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.400000] TCP reno registered
[    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.420000] NET: Registered protocol family 1
[    0.420000] PCI: CLS 0 bytes, default 32
[    0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.440000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.450000] msgmni has been set to 56
[    0.460000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.470000] io scheduler noop registered
[    0.470000] io scheduler deadline registered (default)
[    0.470000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.510000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.510000] console [ttyS0] enabled, bootconsole disabled
[    0.530000] m25p80 spi0.0: found w25q32, expected m25p80
[    0.530000] m25p80 spi0.0: w25q32 (4096 Kbytes)
[    0.540000] 5 tp-link partitions found on MTD device spi0.0
[    0.540000] Creating 5 MTD partitions on "spi0.0":
[    0.550000] 0x000000000000-0x000000020000 : "u-boot"
[    0.550000] 0x000000020000-0x00000010a600 : "kernel"
[    0.560000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.570000] 0x00000010a600-0x0000003f0000 : "rootfs"
[    0.580000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.590000] mtd: partition "rootfs" set to be root filesystem
[    0.600000] mtd: partition "rootfs_data" created automatically, ofs=270000, len=180000
[    0.610000] 0x000000270000-0x0000003f0000 : "rootfs_data"
[    0.610000] 0x0000003f0000-0x000000400000 : "art"
[    0.620000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.640000] ag71xx_mdio: probed
[    0.650000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    0.950000] TCP cubic registered
[    0.960000] NET: Registered protocol family 17
[    0.960000] Bridge firewalling registered
[    0.960000] Distributed Switch Architecture driver version 0.1
[    0.970000] eth0[0]: detected a Marvell 88E6060 switch
[    1.000000] dsa slave smi: probed
[    1.010000] 8021q: 802.1Q VLAN Support v1.8
[    1.020000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.030000] Freeing unused kernel memory: 212k freed
[    3.330000] ar71xx: pll_reg 0xb8050014: 0x13000a44
[    3.330000] eth0: link up (100Mbps/Full duplex)
[    3.520000] Registered led device: tp-link:green:system
[    3.520000] Registered led device: tp-link:red:qss
[    3.520000] Registered led device: tp-link:green:qss
[    3.520000] Registered led device: tp-link:green:wlan
[    6.850000] JFFS2 notice: (525) jffs2_build_xattr_subsystem: complete building xattr subsystem, 19 of xdatum (1 unchecked, 18 orphan) and 28 of xref (0 dead, 20 orphan) found.
[    7.640000] SCSI subsystem initialized
[    7.850000] usbcore: registered new interface driver usbfs
[    7.860000] usbcore: registered new interface driver hub
[    7.860000] usbcore: registered new device driver usb
[    8.530000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.540000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[    8.540000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    8.580000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    8.600000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    8.600000] hub 1-0:1.0: USB hub found
[    8.610000] hub 1-0:1.0: 1 port detected
[    8.650000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.730000] Initializing USB Mass Storage driver...
[    8.740000] usbcore: registered new interface driver usb-storage
[    8.740000] USB Mass Storage support registered.
[   29.200000] eth0: link down
[   29.670000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   29.680000] Backport based on wireless-testing.git master-2012-09-07
[   29.680000] compat.git: wireless-testing.git
[   29.790000] cfg80211: Calling CRDA to update world regulatory domain
[   29.790000] cfg80211: World regulatory domain updated:
[   29.800000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   29.800000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.810000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   29.820000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   29.830000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.840000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.550000] ath: EEPROM regdomain: 0x0
[   30.550000] ath: EEPROM indicates default country code should be used
[   30.550000] ath: doing EEPROM country->regdmn map search
[   30.550000] ath: country maps to regdmn code: 0x3a
[   30.550000] ath: Country alpha2 being used: US
[   30.550000] ath: Regpair used: 0x3a
[   30.560000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   30.560000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
[   30.570000] cfg80211: Calling CRDA for country: US
[   30.570000] cfg80211: Regulatory domain changed to country: US
[   30.580000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   30.590000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   30.600000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   30.600000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.610000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.620000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.630000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   30.830000] PPP generic driver version 2.4.2
[   31.070000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   31.190000] NET: Registered protocol family 24
[   31.230000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   31.630000] fuse init (API version 7.18)
[   35.130000] ar71xx: pll_reg 0xb8050014: 0x13000a44
[   35.130000] eth0: link up (100Mbps/Full duplex)
[   35.140000] device lan1 entered promiscuous mode
[   35.140000] device eth0 entered promiscuous mode
[   35.170000] device lan2 entered promiscuous mode
[   35.170000] device lan3 entered promiscuous mode
[   35.180000] device lan4 entered promiscuous mode
[   36.040000] wan: link up, 100 Mb/s, full duplex, flow control disabled
[   36.040000] lan2: link up, 100 Mb/s, full duplex, flow control disabled
[   36.070000] br-lan: port 2(lan2) entered forwarding state
[   36.070000] br-lan: port 2(lan2) entered forwarding state
[   38.070000] br-lan: port 2(lan2) entered forwarding state
[   40.590000] cfg80211: Calling CRDA for country: PL
[   40.590000] cfg80211: Regulatory domain changed to country: PL
[   40.600000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   40.610000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   40.610000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   40.620000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   40.630000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[   45.000000] device wlan0 entered promiscuous mode
[   46.960000] br-lan: port 5(wlan0) entered forwarding state
[   46.960000] br-lan: port 5(wlan0) entered forwarding state
[   48.960000] br-lan: port 5(wlan0) entered forwarding state
[  467.130000] uhci_hcd: USB Universal Host Controller Interface driver

lsusb

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



Może czegoś mi brakuje jeszcze...

7

Odp: WR941ND v3.6 usb

Jakie pakiety zainstalowałeś?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8 (edytowany przez maszudi 2013-02-24 15:03:31)

Odp: WR941ND v3.6 usb

kmod-usb-uhci
kmod-usb-ohci
install kmod-usb2
kmod-usb-core
kmod-usb2
kmod-usb-storage
kmod-fs-ext4

usbutils

9

Odp: WR941ND v3.6 usb

cat /proc/bus/usb/devices
pokaż

Jeżeli masz tam wpis o hubie a nie ma info o żadnym więcej urządzeniu to źle kabel polutowałeś.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: WR941ND v3.6 usb

root@OpenWrt:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

11

Odp: WR941ND v3.6 usb

Więc sprawdź lutowanie. I czy nie pomyliłeś D+ z D-

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: WR941ND v3.6 usb

Sprawdziłem wszystko

zasilanie 5v
R1000, R1001 po 22 ohm
R96 4.7 kohm
2 x 15k ohm pull

Kable D+/D- zamieniałem dla pewności

13

Odp: WR941ND v3.6 usb

Nadal stawiam na to że źle coś sprzętowo masz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: WR941ND v3.6 usb

Dzięki za pomoc. Na dzisiaj już odpuszczam. Dzięki za kompilacje. Za niedługo powrócę do tematu i dam znać co go boli.

Pozdrawiam

15 (edytowany przez maszudi 2013-02-25 22:16:14)

Odp: WR941ND v3.6 usb

Witam.
Dzisiaj zainstalowałem soft

OpenWRT Backfire 10.03.1-rc4 (the last official 10.03.1 prerelease) with USB support enabled for DIR-615 C1, TL-WR941ND and TL-WR740N:

openwrt-ar71xx-tl-wr941nd-v3-squashfs.zip z tej strony http://sites.google.com/site/tuckata/downloads

cyt
It is preconfigured to fetch packages from the correct url (http://downloads.openwrt.org/backfire/1 … /packages/).
For USB storage you should install the following packages:

opkg update
opkg install kmod-usb-core kmod-usb2 kmod-usb-storage kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1

USB działa .
Jak myślisz może jest coś z packages pod atitude adjustment?
Wolałbym Twój soft sad

16

Odp: WR941ND v3.6 usb

Zainstaluj, doinstaluj dokładnie te same pakiety i sprawdzisz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17 (edytowany przez maszudi 2013-02-25 22:38:38)

Odp: WR941ND v3.6 usb

Już z tym kombinuje.....


Twój soft, paczki doinstalowane dokładnie te same.
Niestety nie wykrywa napędu USB.

Jeżeli mogę to jest ta strona https://forum.openwrt.org/viewtopic.php … 48&p=3

Paczki z tamtych repozytoriów np  kmod-usb2_2.6.32.27-1_ar71xx.ipk

18

Odp: WR941ND v3.6 usb

Tamte paczki nie będą działać ma moich buildach. Połącz pendrive i pokaż wynik logread.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19

Odp: WR941ND v3.6 usb

Tyle udało mi się skopiować

Jan  1 01:00:11 OpenWrt kern.notice kernel: klogd started: BusyBox v1.19.4 (2013-01-19 12:07:09 CET)
Jan  1 01:00:11 OpenWrt kern.notice kernel: [    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #29 Sun Feb 24 12:12:30 CET 2013
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000] MyLoader: sysp=8aaaa0b2, boardp=a2aaaaa2, parts=aaaa22a2
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] bootconsole [early0] enabled
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] SoC: Atheros AR9132 rev 2
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:100.000MHz, Ref:5.000MHz
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Determined physical RAM map:
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000]  memory: 02000000 @ 00000000 (usable)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000] Zone PFN ranges:
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000]   Normal   0x00000000 -> 0x00002000
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000] Movable zone start PFN for each node
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000] Early memory PFN ranges
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000]     0: 0x00000000 -> 0x00002000
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000] On node 0 totalpages: 8192
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 802eb080, node_mem_map 81000000
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 64 pages used for memmap
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 8128 pages, LIFO batch:0
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Jan  1 01:00:11 OpenWrt kern.notice kernel: [    0.000000] Kernel command line:  board=TL-WR941ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Jan  1 01:00:11 OpenWrt kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Memory: 29024k/32768k available (2196k kernel code, 3744k reserved, 409k data, 212k init, 0k highmem)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] NR_IRQS:51
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.080000] pid_max: default: 32768 minimum: 301
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.080000] Mount-cache hash table entries: 512
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.090000] NET: Registered protocol family 16
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.100000] MIPS: machine is TP-LINK TL-WR941ND
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.360000] bio: create slab <bio-0> at 0
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.370000] Switching to clocksource MIPS
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.380000] NET: Registered protocol family 2
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.380000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.390000] TCP: Hash tables configured (established 1024 bind 1024)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.400000] TCP reno registered
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.420000] NET: Registered protocol family 1
Jan  1 01:00:11 OpenWrt kern.debug kernel: [    0.420000] PCI: CLS 0 bytes, default 32
Jan  1 01:00:11 OpenWrt kern.info kernel: [    0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.270000] cfg80211: Calling CRDA for country: US
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.270000] cfg80211: Regulatory domain changed to country: US
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.280000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.290000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.300000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.300000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.310000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.320000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.330000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.570000] PPP generic driver version 2.4.2
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.810000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 01:00:12 OpenWrt kern.info kernel: [    9.920000] NET: Registered protocol family 24
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.030000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.030000] ehci-platform ehci-platform: Generic Platform EHCI Controller
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.040000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.080000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.100000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.100000] hub 1-0:1.0: USB hub found
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.110000] hub 1-0:1.0: 1 port detected
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.130000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.470000] Initializing USB Mass Storage driver...
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.470000] usbcore: registered new interface driver usb-storage
Jan  1 01:00:12 OpenWrt kern.info kernel: [   10.480000] USB Mass Storage support registered.
Jan  1 01:00:13 OpenWrt kern.debug kernel: [   13.970000] ar71xx: pll_reg 0xb8050014: 0x13000a44
Jan  1 01:00:13 OpenWrt kern.info kernel: [   13.970000] eth0: link up (100Mbps/Full duplex)
Jan  1 01:00:13 OpenWrt kern.info kernel: [   13.970000] device lan1 entered promiscuous mode
Jan  1 01:00:13 OpenWrt kern.info kernel: [   13.980000] device eth0 entered promiscuous mode
Jan  1 01:00:13 OpenWrt daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:14 OpenWrt kern.info kernel: [   14.000000] device lan2 entered promiscuous mode
Jan  1 01:00:14 OpenWrt kern.info kernel: [   14.020000] device lan3 entered promiscuous mode
Jan  1 01:00:14 OpenWrt kern.info kernel: [   14.020000] device lan4 entered promiscuous mode
Jan  1 01:00:14 OpenWrt daemon.notice netifd: Interface 'eth' is now up
Jan  1 01:00:14 OpenWrt daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:14 OpenWrt kern.info kernel: [   14.040000] lan1: link up, 100 Mb/s, full duplex, flow control disabled
Jan  1 01:00:14 OpenWrt kern.info kernel: [   14.040000] br-lan: port 1(lan1) entered forwarding state
Jan  1 01:00:14 OpenWrt kern.info kernel: [   14.050000] br-lan: port 1(lan1) entered forwarding state
Jan  1 01:00:14 OpenWrt daemon.notice netifd: wan (734): udhcpc (v1.19.4) started
Jan  1 01:00:14 OpenWrt daemon.notice netifd: wan (734): Sending discover...
Jan  1 01:00:15 OpenWrt kern.info kernel: [   15.040000] wan: link up, 100 Mb/s, full duplex, flow control disabled
Jan  1 01:00:15 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan  1 01:00:16 OpenWrt kern.info kernel: [   16.050000] br-lan: port 1(lan1) entered forwarding state
Jan  1 01:00:17 OpenWrt daemon.notice netifd: wan (734): Sending discover...
Jan  1 01:00:17 OpenWrt daemon.notice netifd: wan (734): Sending select for 192.168.88.200...
Jan  1 01:00:17 OpenWrt daemon.notice netifd: wan (734): Lease of 192.168.88.200 obtained, lease time 259200
Jan  1 01:00:17 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Jan  1 01:00:18 OpenWrt daemon.notice netifd: Interface 'wan' is now up
Jan  1 01:00:19 OpenWrt kern.info kernel: [   19.090000] cfg80211: Calling CRDA for country: PL
Jan  1 01:00:19 OpenWrt kern.info kernel: [   19.100000] cfg80211: Regulatory domain changed to country: PL
Jan  1 01:00:19 OpenWrt kern.info kernel: [   19.100000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:00:19 OpenWrt kern.info kernel: [   19.110000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:19 OpenWrt kern.info kernel: [   19.120000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:19 OpenWrt kern.info kernel: [   19.130000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:19 OpenWrt kern.info kernel: [   19.140000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jan  1 01:00:19 OpenWrt user.notice ifup: Enabling Router Solicitations on eth (eth0)
Jan  1 01:00:22 OpenWrt kern.info kernel: [   22.750000] device wlan0 entered promiscuous mode
Jan  1 01:00:23 OpenWrt user.notice ifup: Allowing Router Advertisements on wan (wan)
Jan  1 01:00:24 OpenWrt kern.info kernel: [   24.670000] br-lan: port 5(wlan0) entered forwarding state
Jan  1 01:00:24 OpenWrt kern.info kernel: [   24.680000] br-lan: port 5(wlan0) entered forwarding state
Jan  1 01:00:26 OpenWrt kern.info kernel: [   26.680000] br-lan: port 5(wlan0) entered forwarding state
Jan  1 01:00:29 OpenWrt user.info sysinit: Loading defaults
Jan  1 01:00:29 OpenWrt user.info sysinit: Loading synflood protection
Jan  1 01:00:29 OpenWrt user.info sysinit: Adding custom chains
Jan  1 01:00:30 OpenWrt user.info sysinit: Loading zones
Jan  1 01:00:30 OpenWrt user.info sysinit: Loading forwardings
Jan  1 01:00:30 OpenWrt user.info sysinit: Loading rules
Jan  1 01:00:31 OpenWrt user.info sysinit: Loading redirects
Jan  1 01:00:32 OpenWrt user.info sysinit: Loading includes
Jan  1 01:00:32 OpenWrt user.info sysinit: Optimizing conntrack
Jan  1 01:00:32 OpenWrt user.info sysinit: Loading interfaces
Jan  1 01:00:33 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Jan  1 01:00:33 OpenWrt user.info firewall: adding wan (wan) to zone wan
Jan  1 01:00:40 OpenWrt authpriv.info dropbear[1707]: Running in background
Jan  1 01:00:41 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan  1 01:00:41 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq[1752]: started, version 2.62 cachesize 150
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq[1752]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq-dhcp[1752]: DHCP, IP range 10.0.1.100 -- 10.0.1.249, lease time 12h
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq[1752]: using local addresses only for domain lan
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq[1752]: reading /tmp/resolv.conf.auto
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq[1752]: using nameserver 192.168.88.1#53
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq[1752]: using local addresses only for domain lan
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq[1752]: read /etc/hosts - 1 addresses
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq-dhcp[1752]: read /etc/ethers - 0 addresses
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq-dhcp[1752]: DHCPREQUEST(br-lan) 10.0.1.100 38:60:77:ac:fb:f1
Jan  1 01:00:44 OpenWrt daemon.info dnsmasq-dhcp[1752]: DHCPACK(br-lan) 10.0.1.100 38:60:77:ac:fb:f1 adam-pc
Jan  1 01:00:44 OpenWrt user.info sysinit: setting up led WLAN
Jan  1 01:00:48 OpenWrt daemon.info dnsmasq-dhcp[1752]: DHCPINFORM(br-lan) 10.0.1.100 38:60:77:ac:fb:f1
Jan  1 01:00:48 OpenWrt daemon.info dnsmasq-dhcp[1752]: DHCPACK(br-lan) 10.0.1.100 38:60:77:ac:fb:f1 adam-pc
Feb 25 22:32:12 OpenWrt authpriv.info dropbear[1770]: Child connection from 10.0.1.100:50192
Feb 25 22:32:18 OpenWrt authpriv.notice dropbear[1770]: Password auth succeeded for 'root' from 10.0.1.100:50192
root@OpenWrt:~#

20

Odp: WR941ND v3.6 usb

opkg list_installed
lsmod

pokaż.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: WR941ND v3.6 usb

root@OpenWrt:~# opkg list_installed
base-files - 117-r35752
busybox - 1.19.4-6
dnsmasq - 2.62-2
dropbear - 2011.54-2
firewall - 2-55.1
hotplug2 - 1.0-beta-4
iptables - 1.4.10-4
iw - 3.6-1
jshn - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
kernel - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
kmod-ath - 3.3.8+2012-09-07-3
kmod-ath9k - 3.3.8+2012-09-07-3
kmod-ath9k-common - 3.3.8+2012-09-07-3
kmod-cfg80211 - 3.3.8+2012-09-07-3
kmod-crypto-aes - 3.3.8-1
kmod-crypto-arc4 - 3.3.8-1
kmod-crypto-core - 3.3.8-1
kmod-fs-vfat - 3.3.8-1
kmod-gpio-button-hotplug - 3.3.8-1
kmod-ipt-conntrack - 3.3.8-1
kmod-ipt-core - 3.3.8-1
kmod-ipt-nat - 3.3.8-1
kmod-ipt-nathelper - 3.3.8-1
kmod-leds-gpio - 3.3.8-1
kmod-ledtrig-default-on - 3.3.8-1
kmod-ledtrig-netdev - 3.3.8-1
kmod-ledtrig-timer - 3.3.8-1
kmod-lib-crc-ccitt - 3.3.8-1
kmod-mac80211 - 3.3.8+2012-09-07-3
kmod-nls-base - 3.3.8-1
kmod-nls-cp437 - 3.3.8-1
kmod-nls-iso8859-1 - 3.3.8-1
kmod-ppp - 3.3.8-1
kmod-pppoe - 3.3.8-1
kmod-pppox - 3.3.8-1
kmod-scsi-core - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-storage - 3.3.8-1
kmod-usb2 - 3.3.8-1
kmod-wdt-ath79 - 3.3.8-1
libblobmsg-json - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
libc - 0.9.33.2-1
libgcc - 4.6-linaro-1
libip4tc - 1.4.10-4
libjson - 0.9-2
libnl-tiny - 0.1-3
libubox - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
libubus - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
libuci - 2013-01-04.1-1
libxtables - 1.4.10-4
mtd - 18.1
netifd - 2013-01-29.2-4bb99d4eb462776336928392010b372236ac3c93
opkg - 618-3
ppp - 2.4.5-8
ppp-mod-pppoe - 2.4.5-8
swconfig - 10
ubus - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
ubusd - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
uci - 2013-01-04.1-1
wpad-mini - 20120910-1
wput - 0.6.2-1






^Croot@OpenWrt:~# lsmod
Module                  Size  Used by    Tainted: G
usb_storage            33136  0
ath79_wdt               2240  1
ledtrig_netdev          3184  0
nf_nat_irc               784  0
nf_conntrack_irc        2464  1 nf_nat_irc
nf_nat_ftp               976  0
nf_conntrack_ftp        4416  1 nf_nat_ftp
ipt_MASQUERADE           976  1
iptable_nat             2544  1
nf_nat                 10256  4 nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
pppoe                   7488  0
xt_conntrack            2048  3
xt_CT                   1216  0
xt_NOTRACK               448  0
iptable_raw              560  1
xt_state                 608  0
nf_conntrack_ipv4       4384  6 iptable_nat,nf_nat
nf_defrag_ipv4           656  1 nf_conntrack_ipv4
nf_conntrack           38320 12 nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
ehci_hcd               33616  0
sd_mod                 22240  0
pppox                   1152  1 pppoe
ipt_REJECT              1808  2
xt_TCPMSS               2560  1
ipt_LOG                 6160  0
xt_comment               400 69
xt_multiport            1104  0
xt_mac                   528  0
xt_limit                 944  1
iptable_mangle           832  1
iptable_filter           592  1
ip_tables               9440  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1632 125
x_tables                9984 18 ipt_MASQUERADE,iptable_nat,xt_conntrack,xt_CT,xt_NOTRACK,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,iptable_mangle,iptable_filter,ip_tables,xt_tcpudp
ppp_async               5952  0
ppp_generic            18848  3 pppoe,pppox,ppp_async
slhc                    4368  1 ppp_generic
vfat                    7824  0
fat                    41728  1 vfat
ath9k                  85008  0
ath9k_common            1152  1 ath9k
ath9k_hw              329008  2 ath9k,ath9k_common
ath                    12464  3 ath9k,ath9k_common,ath9k_hw
nls_iso8859_1           2800  0
nls_cp437               4336  0
mac80211              253840  1 ath9k
usbcore                99168  3 usb_storage,ehci_hcd
usb_common               480  1 usbcore
scsi_mod               69888  2 usb_storage,sd_mod
nls_base                4640  5 vfat,fat,nls_iso8859_1,nls_cp437,usbcore
crc_ccitt                944  1 ppp_async
cfg80211              154256  2 ath9k,mac80211
compat                  5776  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
arc4                     768  2
aes_generic            29808  0
crypto_algapi           9200  2 arc4,aes_generic
ledtrig_timer           1072  0
ledtrig_default_on       416  0
leds_gpio               1552  0
gpio_button_hotplug     3216  0

22

Odp: WR941ND v3.6 usb

Zainstaluj  kmod-usb-ohci

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23 (edytowany przez maszudi 2013-02-25 23:10:47)

Odp: WR941ND v3.6 usb

root@OpenWrt:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms



znalazłem coś takiego

From: Trifon Chervenkov <tuckata@gmail.com>
Date: Sun, 1 Apr 2012 11:00:00 +0200
Subject: [PATCH] USB support for the D-LINK DIR-615-C1, TP-LINK TL-WR941ND, TL-WR740/741N(D) routers
File: target/linux/ar71xx/patches-3.2/777-usb-support.patch

--- a/arch/mips/ath79/dev-usb.c
+++ b/arch/mips/ath79/dev-usb.c
@@ -148,6 +148,8 @@

static void __init ar913x_usb_setup(void)
{
+    ath79_pll_wr(8, 0x1030);
+
    ath79_device_reset_set(AR913X_RESET_USBSUS_OVERRIDE);
    mdelay(10);

--- a/arch/mips/ath79/mach-dir-615-c1.c
+++ b/arch/mips/ath79/mach-dir-615-c1.c
@@ -21,6 +21,7 @@
#include "dev-wmac.h"
#include "machtypes.h"
#include "nvram.h"
+#include "dev-usb.h"

#define DIR_615C1_GPIO_LED_ORANGE_STATUS 1    /* ORANGE:STATUS:TRICOLOR */
#define DIR_615C1_GPIO_LED_BLUE_WPS    3    /* BLUE:WPS */
@@ -155,6 +156,8 @@
    ath79_register_eth(0);
    ath79_register_eth(1);

+    ath79_register_usb();
+
    ath79_register_m25p80(&dir_615c1_flash_data);

    ath79_register_leds_gpio(-1, ARRAY_SIZE(dir_615c1_leds_gpio),

--- a/arch/mips/ath79/mach-tl-wr941nd.c
+++ b/arch/mips/ath79/mach-tl-wr941nd.c
@@ -19,6 +19,7 @@
#include "dev-m25p80.h"
#include "dev-wmac.h"
#include "machtypes.h"
+#include "dev-usb.h"

#define TL_WR941ND_GPIO_LED_SYSTEM    2
#define TL_WR941ND_GPIO_LED_QSS_RED    4
@@ -103,6 +104,9 @@
    ath79_eth0_data.duplex = DUPLEX_FULL;

    ath79_register_eth(0);
+
+    ath79_register_usb();
+
    ath79_register_dsa(&ath79_eth0_device.dev, &ath79_mdio0_device.dev,
               &tl_wr941nd_dsa_data);

--- a/arch/mips/ath79/mach-tl-wr741nd-v4.c
+++ b/arch/mips/ath79/mach-tl-wr741nd-v4.c
@@ -20,6 +20,7 @@
#include "dev-m25p80.h"
#include "dev-wmac.h"
#include "machtypes.h"
+#include "dev-usb.h"

#define TL_WR741NDV4_GPIO_BTN_RESET    11
#define TL_WR741NDV4_GPIO_BTN_WPS    26
@@ -135,6 +136,9 @@
                    tl_wr741ndv4_gpio_keys);

    ath79_register_m25p80(&tl_wr741ndv4_flash_data);
+
+    ath79_register_usb();
+
    ath79_init_mac(ath79_eth0_data.mac_addr, mac, 1);
    ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1);

--- a/arch/mips/ath79/mach-tl-wr741nd.c
+++ b/arch/mips/ath79/mach-tl-wr741nd.c
@@ -18,6 +18,7 @@
#include "dev-leds-gpio.h"
#include "dev-m25p80.h"
#include "machtypes.h"
+#include "dev-usb.h"

#define TL_WR741ND_GPIO_LED_QSS        0
#define TL_WR741ND_GPIO_LED_SYSTEM    1
@@ -97,6 +98,8 @@
    u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
    u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);

+    ath79_register_usb();
+
    ath79_register_m25p80(&tl_wr741nd_flash_data);

    ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |

--- a/arch/mips/ath79/Kconfig
+++ b/arch/mips/ath79/Kconfig
@@ -239,6 +239,7 @@
    select ATH79_DEV_GPIO_BUTTONS
    select ATH79_DEV_LEDS_GPIO
    select ATH79_DEV_M25P80
+    select ATH79_DEV_USB
    select ATH79_DEV_WMAC
    select ATH79_NVRAM

@@ -432,6 +433,7 @@
    select ATH79_DEV_GPIO_BUTTONS
    select ATH79_DEV_LEDS_GPIO
    select ATH79_DEV_M25P80
+    select ATH79_DEV_USB

config ATH79_MACH_TL_WR741ND_V4
    bool "TP-LINK TL-WR741ND v4 support"
@@ -440,6 +442,7 @@
    select ATH79_DEV_GPIO_BUTTONS
    select ATH79_DEV_LEDS_GPIO
    select ATH79_DEV_M25P80
+    select ATH79_DEV_USB
    select ATH79_DEV_WMAC

config ATH79_MACH_TL_WR841N_V1
@@ -459,6 +462,7 @@
    select ATH79_DEV_GPIO_BUTTONS
    select ATH79_DEV_LEDS_GPIO
    select ATH79_DEV_M25P80
+    select ATH79_DEV_USB
    select ATH79_DEV_WMAC

config ATH79_MACH_TL_WR1043ND

24

Odp: WR941ND v3.6 usb

Więc tam jest potrzebna jeszcze jedna inicjacja. Skompilowałem kod, zrób upgrade.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

25

Odp: WR941ND v3.6 usb

...już się robi