1 (edytowany przez toshibas1 2017-03-25 11:56:43)

Temat: EasyBox 802 LEDE usb overcurrent

Witam mam pytanie czy istnieje patch na problem z usb overcurent blad ten wystepuje nawet bez podlaczonych urzadzen a nawet jesli sie podlaczy to nie wykrywa oto log.

[    0.000000] Linux version 4.4.50 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Mon Feb 20 17:13:44 2017
[    0.000000] SoC: Danube rev 1.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019641 (MIPS 24KEc)
[    0.000000] MIPS: machine is ARV752DPW - Arcor 802
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8046e4b0, node_mem_map 81007880
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    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: 16256
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00040008
[    0.000000] Readback ErrCtl register=00040008
[    0.000000] Memory: 58792K/65536K available (3875K kernel code, 156K rwdata, 620K rodata, 1220K init, 200K bss, 6744K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000018] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.007957] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.050570] pid_max: default: 32768 minimum: 301
[    0.055535] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.062089] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.079120] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.088902] pinctrl core: initialized pinctrl subsystem
[    0.096371] NET: Registered protocol family 16
[    0.109089] pinctrl-xway 1e100b10.pinmux: Init done
[    0.115639] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20
[    0.192931] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.198627]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.203897]   IO 0x000000001ae00000..0x000000001affffff
[    0.238005] usbcore: registered new interface driver usbfs
[    0.243635] usbcore: registered new interface driver hub
[    0.249098] usbcore: registered new device driver usb
[    0.254738] PCI host bridge to bus 0000:00
[    0.258794] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.265723] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.272668] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.279517] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.287623] pci 0000:00:0e.0: [1814:0601] type 00 class 0x028000
[    0.287720] pci 0000:00:0e.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[    0.287882] pci 0000:00:0e.0: PME# supported from D0 D3hot D3cold
[    0.288367] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.288445] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.296628] clocksource: Switched to clocksource MIPS
[    0.304152] NET: Registered protocol family 2
[    0.310309] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.317283] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.323673] TCP: Hash tables configured (established 1024 bind 1024)
[    0.330253] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.336076] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.342801] NET: Registered protocol family 1
[    0.347213] PCI: CLS 0 bytes, default 32
[    0.360759] gptu: totally 6 16-bit timers/counters
[    0.365705] gptu: misc_register on minor 63
[    0.369842] gptu: succeeded to request irq 126
[    0.374345] gptu: succeeded to request irq 127
[    0.378859] gptu: succeeded to request irq 128
[    0.383373] gptu: succeeded to request irq 129
[    0.387887] gptu: succeeded to request irq 130
[    0.392400] gptu: succeeded to request irq 131
[    0.403631] lantiq,vmmc 1f103000.vmmc: requested GPIO 465
[    0.408990] lantiq,vmmc 1f103000.vmmc: reserved 1MB at 0x03a00000
[    0.416845] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.422975] Crashlog allocated RAM at address 0x3f00000
[    0.467023] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.472797] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.489681] io scheduler noop registered
[    0.493539] io scheduler deadline registered (default)
[    0.499840] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.508804] console [ttyLTQ0] enabled
[    0.515908] bootconsole [early0] disabled
[    0.525323] lantiq nor flash device: 00800000 at 10000000
[    0.529601] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.538560] Amd/Fujitsu Extended Query Table at 0x0040
[    0.543562]   Amd/Fujitsu Extended Query version 1.1.
[    0.548423] number of CFI chips: 1
[    0.551771] 4 ofpart partitions found on MTD device ltq_nor
[    0.557128] Creating 4 MTD partitions on "ltq_nor":
[    0.561863] 0x000000000000-0x000000010000 : "uboot"
[    0.573392] 0x000000010000-0x000000020000 : "uboot_env"
[    0.580977] 0x000000020000-0x0000007f0000 : "firmware"
[    0.629779] 2 uimage-fw partitions found on MTD device firmware
[    0.634225] 0x000000020000-0x00000019cb36 : "kernel"
[    0.642076] 0x00000019cb36-0x0000007f0000 : "rootfs"
[    0.649440] mtd: device 4 (rootfs) set to be root filesystem
[    0.653752] 1 squashfs-split partitions found on MTD device rootfs
[    0.659636] 0x000000490000-0x0000007f0000 : "rootfs_data"
[    0.668605] 0x0000007f0000-0x000000800000 : "board_config"
[    0.699512] libphy: ltq_mii: probed
[    0.794784] Registering RTL8306SDM switch with Chip ID: 0x5988, version: 0x0000
[    0.800597] eth0: attached PHY [Realtek RTL8306S] (phy_addr=1e180000.etop-ff:00, irq=-1)
[    0.810448] wdt 1f8803f0.watchdog: Init done
[    0.820038] NET: Registered protocol family 10
[    0.836850] NET: Registered protocol family 17
[    0.839908] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.852100] 8021q: 802.1Q VLAN Support v1.8
[    0.880109] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.893446] Freeing unused kernel memory: 1220K (8048f000 - 805c0000)
[    3.340879] init: Console is alive
[    3.343294] init: - watchdog -
[    6.141940] dwc2 1e101000.ifxhcd: requested GPIO 464
[    7.001014] dwc2 1e101000.ifxhcd: DWC OTG Controller
[    7.004542] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[    7.011707] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[    7.019291] hub 1-0:1.0: USB hub found
[    7.022405] hub 1-0:1.0: 1 port detected
[    7.037997] init: - preinit -
[    7.179118] dwc2 1e101000.ifxhcd: Overcurrent change detected
[    7.749697] dwc2 1e101000.ifxhcd: Overcurrent change detected
[    8.133355] random: procd: uninitialized urandom read (4 bytes read, 33 bits of entropy available)
[   11.727160] jffs2: notice: (372) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.780154] mount_root: loading kmods from internal overlay
[   12.051629] kmodloader: failed to open /tmp/overlay/upper/lib/modules/4.4.50/ledtrig-usbport.ko
[   12.915168] SCSI subsystem initialized
[   13.016960] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   13.023742] ohci-platform: OHCI generic platform driver
[   13.860956] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.872570] block: extroot: not configured
[   13.877013] mount_root: switching to jffs2 overlay
[   13.895560] urandom-seed: Seeding with /etc/urandom.seed
[   13.984952] procd: - early -
[   13.986616] procd: - watchdog -
[   14.748924] procd: - ubus -
[   15.234977] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.386736] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.398251] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.405859] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.415371] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.423195] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.434878] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.442966] random: ubusd: uninitialized urandom read (4 bytes read, 62 bits of entropy available)
[   15.452101] procd: - init -
[   16.080718] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[   16.100500] Lantiq TAPI device driver, version 3.13.0.2, (c) 2001-2010 Lantiq Deutschland GmbH
[   16.120445] NET: Registered protocol family 8
[   16.123391] NET: Registered protocol family 20
[   16.138103] PPP generic driver version 2.4.2
[   16.155180] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.175829] IFX MEI Version 5.00.00
[   16.193335] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   16.215053] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   16.221122] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   16.245649] Lantiq MIPS24KEc MPS driver, version 2.2.2.5, (c) 2006-2010 Lantiq Deutschland GmbH
[   16.252844] request_timer(3, 0x000001AE, 1)...successful!
[   16.258259] Lantiq VMMC device driver, version 1.9.0.3, (c) 2006-2010 Lantiq Deutschland GmbH
[   16.271391] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.287386] ATM1.0.26    ATM (A1) firmware version 0.17
[   16.291156] ifxmips_atm: ATM init succeed
[   16.327640] nf_conntrack version 0.5.0 (937 buckets, 3748 max)
[   16.399081] NET: Registered protocol family 24
[   16.409219] random: ubusd: uninitialized urandom read (4 bytes read, 67 bits of entropy available)
[   16.464008] xt_time: kernel timezone is -0000
[   16.664528] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   16.670025] rt2800pci 0000:00:0e.0: loaded eeprom from mtd device "board_config"
[   16.675950] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2860, rev 0103 detected
[   16.683523] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
[   16.691332] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   31.628757] random: nonblocking pool is initialized
[   33.645039] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x00007010, value=0x499e6ce6
[   35.801809] device eth0 entered promiscuous mode
[   35.812933] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   36.847206] IPv6: ADDRCONF(NETDEV_UP): nas0: link is not ready
[   36.988911] br-lan: port 1(eth0) entered forwarding state
[   36.992962] br-lan: port 1(eth0) entered forwarding state
[   36.998349] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   38.996698] br-lan: port 1(eth0) entered forwarding state
[   41.959991] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[   42.099885] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40
[   42.235234] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   42.250230] device wlan0 entered promiscuous mode
[   46.801162] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   46.806396] br-lan: port 2(wlan0) entered forwarding state
[   46.811456] br-lan: port 2(wlan0) entered forwarding state
[   48.812675] br-lan: port 2(wlan0) entered forwarding state

lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.04
  iManufacturer           3 Linux 4.4.50 dwc2_hsotg
  iProduct                2 DWC OTG Controller
  iSerial                 1 1e101000.ifxhcd
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0008
    Ganged power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
Hub Port Status:
   Port 1: 0000.0000
Device Status:     0x0001
  Self Powered

2

Odp: EasyBox 802 LEDE usb overcurrent

Nie, nie istnieje. Zgłoszony jest bug, jak by był to raczej poprawili by to w repo.

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

3

Odp: EasyBox 802 LEDE usb overcurrent

MaxPower  0 mA czy tutaj nie powinno byc 500 mA probowalem zmienic plik bMaxPower przez winscp ale odrzuca wiec zostaje mi lutownica tongue