您尚未登录。

楼主 #1 2021-01-09 23:26:40

hzy831225
会员
注册时间: 2020-04-11
已发帖子: 40
积分: 35

F1C100S usb hub问题

今天在调试USB 网卡(rtl8152b),直接插入USB网卡后,驱动正常插上网线正常通信,可以PING通路由器,也可以PING 外网;
但是中断加了个USB HUB后奇怪的事情发生了,网卡驱动貌似加载成功了,LSUSB也正常,ifconfig up 网卡也正常,手动分配IP也正常;
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:36:93:11 
          inet addr:192.168.31.123  Bcast:192.168.31.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

但是,就是PING不通路由器;
各位兄台有遇到此类问题不!

离线

#2 2021-01-10 07:34:10

smartcar
会员
注册时间: 2018-02-19
已发帖子: 735
积分: 735

Re: F1C100S usb hub问题

我也是用r8152网卡,也是hub转的,一切正常。
你是不是有多个网卡?

离线

#3 2021-01-10 12:06:43

迪卡
会员
所在地: 河北
注册时间: 2018-11-02
已发帖子: 916
积分: 903
个人网站

Re: F1C100S usb hub问题

F1C的USB端点不够,只有3TX  3RX .
直接连网卡可以,加HUB就不够了

离线

楼主 #4 2021-01-10 22:08:51

hzy831225
会员
注册时间: 2020-04-11
已发帖子: 40
积分: 35

Re: F1C100S usb hub问题

smartcar 说:

我也是用r8152网卡,也是hub转的,一切正常。
你是不是有多个网卡?

我是F1C100S有这个问题,兄弟你用的V3S吧

离线

楼主 #5 2021-01-10 22:10:04

hzy831225
会员
注册时间: 2020-04-11
已发帖子: 40
积分: 35

Re: F1C100S usb hub问题

迪卡 说:

F1C的USB端点不够,只有3TX  3RX .
直接连网卡可以,加HUB就不够了

没拆了,要SPI扩以太网了:rolleyes: 生成

离线

#6 2021-01-22 23:34:15

卓林
会员
注册时间: 2021-01-10
已发帖子: 84
积分: 141.5

Re: F1C100S usb hub问题

我的usb查U盘没有响应,也没有打印设备信息是为什么?

U-Boot SPL 2018.01-05688-ga9729b3 (Jan 17 2021 - 06:03:27)
DRAM: 32 MiB
Trying to boot from MMC1


U-Boot 2018.01-05688-ga9729b3 (Jan 17 2021 - 06:03:27 -0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Setting up a 800x480 lcd console (overscan 0x0)
In:    serial@1c25000
Out:   serial@1c25000
Err:   serial@1c25000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
reading zImage
3844976 bytes read in 218 ms (16.8 MiB/s)
reading suniv-f1c100s-licheepi-nano.dtb
8047 bytes read in 26 ms (301.8 KiB/s)
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Loading Device Tree to 80e03000, end 80e07f6e ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-rc8-licheepi-nano (root@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #14 Fri Jan 22 05:25:06 PST 2021
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 root=/dev/mmcblk0p2 rootwait rw
[    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] Memory: 22684K/32768K available (6144K kernel code, 237K rwdata, 1392K rodata, 1024K init, 236K bss, 10084K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff800000   ( 976 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7136 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 238 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 237 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000051] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000121] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000757] Console: colour dummy device 80x30
[    0.000851] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070245] pid_max: default: 32768 minimum: 301
[    0.070580] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070630] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072199] CPU: Testing write buffer coherency: ok
[    0.074102] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076812] devtmpfs: initialized
[    0.082259] random: get_random_u32 called from bucket_table_alloc+0x80/0x1a4 with crng_init=0
[    0.083558] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.083633] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.083915] pinctrl core: initialized pinctrl subsystem
[    0.086272] NET: Registered protocol family 16
[    0.088189] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090149] cpuidle: using governor menu
[    0.117495] SCSI subsystem initialized
[    0.117865] usbcore: registered new interface driver usbfs
[    0.118054] usbcore: registered new interface driver hub
[    0.118284] usbcore: registered new device driver usb
[    0.118831] pps_core: LinuxPPS API ver. 1 registered
[    0.118857] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.118920] PTP clock support registered
[    0.119509] Advanced Linux Sound Architecture Driver Initialized.
[    0.120583] random: fast init done
[    0.121245] clocksource: Switched to clocksource timer
[    0.150929] NET: Registered protocol family 2
[    0.152583] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.152665] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.152723] TCP: Hash tables configured (established 1024 bind 1024)
[    0.153091] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.153163] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.153690] NET: Registered protocol family 1
[    0.154980] RPC: Registered named UNIX socket transport module.
[    0.155022] RPC: Registered udp transport module.
[    0.155037] RPC: Registered tcp transport module.
[    0.155052] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.157279] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.159306] Initialise system trusted keyrings
[    0.159931] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.178375] NFS: Registering the id_resolver key type
[    0.178485] Key type id_resolver registered
[    0.178507] Key type id_legacy registered
[    0.192843] Key type asymmetric registered
[    0.192888] Asymmetric key parser 'x509' registered
[    0.193115] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.193150] io scheduler noop registered
[    0.193170] io scheduler deadline registered
[    0.193970] io scheduler cfq registered (default)
[    0.194007] io scheduler mq-deadline registered
[    0.194025] io scheduler kyber registered
[    0.195215] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.205174] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.397101] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.404702] console [ttyS0] disabled
[    0.424993] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.899401] console [ttyS0] enabled
[    0.910119] panel-simple panel: panel supply power not found, using dummy regulator
[    0.919741] SCSI Media Changer driver v0.25 
[    0.927933] m25p80 spi0.0: xt25f128 (16384 Kbytes)
[    0.934063] 4 ofpart partitions found on MTD device spi0.0
[    0.939570] Creating 4 MTD partitions on "spi0.0":
[    0.944507] 0x000000000000-0x000000100000 : "u-boot"
[    0.950666] 0x000000100000-0x000000110000 : "dtb"
[    0.956667] 0x000000110000-0x000000510000 : "kernel"
[    0.962914] 0x000000510000-0x000001000000 : "rootfs"
[    0.969549] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.976218] ehci-platform: EHCI generic platform driver
[    0.981770] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.987998] ohci-platform: OHCI generic platform driver
[    0.993724] usbcore: registered new interface driver usb-storage
[    1.000732] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.009844] i2c /dev entries driver
[    1.071386] sunxi-mmc 1c0f000.mmc: base:0x(ptrval) irq:19
[    1.079144] usbcore: registered new interface driver usbhid
[    1.084839] usbhid: USB HID core driver
[    1.107849] NET: Registered protocol family 17
[    1.112719] Key type dns_resolver registered
[    1.119567] Loading compiled-in X.509 certificates
[    1.139452] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0737df8)
[    1.148377] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc07370dc)
[    1.156176] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.162837] [drm] No driver support for vblank timestamp query.
[    1.176148] sun4i-drm display-engine: fb0:  frame buffer device
[    1.183485] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.192651] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.204477] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.210269] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.220411] hub 1-0:1.0: USB hub found
[    1.224464] hub 1-0:1.0: 1 port detected
[    1.229949] using random self ethernet address
[    1.234532] using random host ethernet address
[    1.240695] usb0: HOST MAC 72:3d:b3:2a:6e:3e
[    1.245238] usb0: MAC 7e:b0:ca:66:2f:e0
[    1.249178] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.256736] g_cdc gadget: g_cdc ready
[    1.261516] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.279356] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.286188] ALSA device list:
[    1.289172]   #0: Loopback 1
[    1.293017] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.301751] cfg80211: failed to load regulatory.db
[    1.307490] Waiting for root device /dev/mmcblk0p2...
[    1.316290] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.326578] mmc0: new high speed SDHC card at address b368
[    1.333450] mmcblk0: mmc0:b368 USD   7.47 GiB 
[    1.340349]  mmcblk0: p1 p2
[    1.373370] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.452067] EXT4-fs (mmcblk0p2): recovery complete
[    1.462188] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.470381] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.479413] devtmpfs: mounted
[    1.486943] Freeing unused kernel memory: 1024K
[    1.603564] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: OK

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn