主控芯片为T113-S3,在Linux内核初始化的时候,总是会提示USB错误。百思不得其解,已经调试三天了,特来社区向大家讨论。
附上主要log信息:
Populating /dev using udev: [ 2.245205] usb 3-1.3: new high-speed USB device number 3 using ehci-platform
[ 2.295512] udevd[122]: starting version 3.2.11
[ 7.385144] usb 3-1.3: device descriptor read/64, error -110
[ 7.435152] random: crng init done
[ 7.479677] udevd[123]: starting eudev-3.2.11
[ 22.745155] usb 3-1.3: device descriptor read/64, error -110
[ 22.965147] usb 3-1.3: new high-speed USB device number 4 using ehci-platform
[ 28.105164] usb 3-1.3: device descriptor read/64, error -110
udevadm settle failed
离线
附上所有log信息
[I] AWBoot r6201 starting...
[I] SMHC: sdhci0 controller v50310 initialized
[I] SHMC: SD card detected
[I] FATFS: read sun8i-t113.dtb addr=44000000
[I] FATFS: read zImage addr=44800000
[I] booting linux...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.0.1+ (fuxiaoer@DESKTOP-ICQ2N2B) (arm-none-linux-gnueabihf-gcc (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 12.2.1 20221205, GNU ld (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 2.39.0.20221210) #38 SMP Mon Mar 13 18:00:25 CST 2023
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: MangoPi MQ-Dual
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x47000000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] percpu: Embedded 11 pages/cpu s15508 r8192 d21356 u45056
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: mem=128M root=/dev/mmcblk0p2 rootfstype=ext4 init=/sbin/init rw rootwait console=ttyS4,115200
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] Memory: 99812K/131072K available (8192K kernel code, 949K rwdata, 2144K rodata, 1024K init, 269K bss, 14876K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000012] Switching to timer-based delay loop, resolution 41ns
[ 0.000185] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000667] Console: colour dummy device 80x30
[ 0.000708] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000724] pid_max: default: 32768 minimum: 301
[ 0.000875] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000886] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001434] CPU: Testing write buffer coherency: ok
[ 0.001741] /cpus/cpu@0 missing clock-frequency property
[ 0.001770] /cpus/cpu@1 missing clock-frequency property
[ 0.001780] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002535] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002678] rcu: Hierarchical SRCU implementation.
[ 0.002682] rcu: Max phase no-delay instances is 1000.
[ 0.003198] smp: Bringing up secondary CPUs ...
[ 0.003876] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.003999] smp: Brought up 1 node, 2 CPUs
[ 0.004008] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.004016] CPU: All CPU(s) started in SVC mode.
[ 0.004540] devtmpfs: initialized
[ 0.008600] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008798] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008822] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.009404] pinctrl core: initialized pinctrl subsystem
[ 0.010793] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.011849] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.012693] thermal_sys: Registered thermal governor 'step_wise'
[ 0.012933] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.012946] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.021484] platform 5460000.tcon-top: Fixing up cyclic dependency with 5200000.mixer
[ 0.021561] platform 5460000.tcon-top: Fixing up cyclic dependency with 5100000.mixer
[ 0.021829] platform 5461000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
[ 0.022183] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5604000.tv-encoder
[ 0.022244] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
[ 0.023217] platform 7090000.rtc: Fixing up cyclic dependency with 7010000.clock-controller
[ 0.032913] SCSI subsystem initialized
[ 0.033368] usbcore: registered new interface driver usbfs
[ 0.033419] usbcore: registered new interface driver hub
[ 0.033460] usbcore: registered new device driver usb
[ 0.033651] mc: Linux media interface: v0.10
[ 0.033694] videodev: Linux video capture interface: v2.00
[ 0.033769] pps_core: LinuxPPS API ver. 1 registered
[ 0.033774] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.033789] PTP clock support registered
[ 0.035146] clocksource: Switched to clocksource arch_sys_counter
[ 0.042625] NET: Registered PF_INET protocol family
[ 0.042817] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.043350] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.043376] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.043387] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.043404] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.043422] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.043502] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.043532] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.043690] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.044360] RPC: Registered named UNIX socket transport module.
[ 0.044373] RPC: Registered udp transport module.
[ 0.044377] RPC: Registered tcp transport module.
[ 0.044380] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.046296] Initialise system trusted keyrings
[ 0.046561] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.051586] NFS: Registering the id_resolver key type
[ 0.051700] Key type id_resolver registered
[ 0.051705] Key type id_legacy registered
[ 0.051768] NET: Registered PF_ALG protocol family
[ 0.051776] Key type asymmetric registered
[ 0.051781] Asymmetric key parser 'x509' registered
[ 0.051909] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.051918] io scheduler mq-deadline registered
[ 0.051923] io scheduler kyber registered
[ 0.067368] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.076661] CAN device driver interface
[ 0.077314] PPP generic driver version 2.4.2
[ 0.077631] PPP BSD Compression module registered
[ 0.077647] PPP Deflate Compression module registered
[ 0.077922] PPP MPPE Compression module registered
[ 0.077933] NET: Registered PF_PPPOX protocol family
[ 0.078040] usbcore: registered new interface driver cdc_ether
[ 0.078071] usbcore: registered new interface driver cdc_eem
[ 0.078135] usbcore: registered new interface driver cdc_ncm
[ 0.078162] usbcore: registered new interface driver r8153_ecm
[ 0.078435] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.078446] ehci-platform: EHCI generic platform driver
[ 0.078659] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.078682] ohci-platform: OHCI generic platform driver
[ 0.078849] usbcore: registered new interface driver cdc_acm
[ 0.078855] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 0.078881] usbcore: registered new interface driver cdc_wdm
[ 0.078921] usbcore: registered new interface driver usb-storage
[ 0.079003] usbcore: registered new interface driver ch341
[ 0.079027] usbserial: USB Serial support registered for ch341-uart
[ 0.081315] sun6i-rtc 7090000.rtc: registered as rtc0
[ 0.081442] sun6i-rtc 7090000.rtc: setting system clock to 1970-01-02T00:00:08 UTC (86408)
[ 0.081567] sun6i-rtc 7090000.rtc: RTC enabled
[ 0.081867] i2c_dev: i2c /dev entries driver
[ 0.083646] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 0.084722] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz)
[ 0.085031] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 0.085749] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 0.085970] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 0.086146] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[ 0.086277] sun8i-ce 3040000.crypto: Register cbc(aes)
[ 0.086301] sun8i-ce 3040000.crypto: Register ecb(aes)
[ 0.086310] sun8i-ce 3040000.crypto: Register cbc(des3_ede)
[ 0.086319] sun8i-ce 3040000.crypto: Register ecb(des3_ede)
[ 0.086348] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0
[ 0.087220] usbcore: registered new interface driver usbhid
[ 0.087229] usbhid: USB HID core driver
[ 0.088173] NET: Registered PF_PACKET protocol family
[ 0.088201] can: controller area network core
[ 0.088265] NET: Registered PF_CAN protocol family
[ 0.088271] can: raw protocol
[ 0.088278] can: broadcast manager protocol
[ 0.088287] can: netlink gateway - max_hops=1
[ 0.088391] Key type dns_resolver registered
[ 0.088418] Key type ceph registered
[ 0.088825] libceph: loaded (mon/osd proto 15/24)
[ 0.088923] Registering SWP/SWPB emulation handler
[ 0.089015] Loading compiled-in X.509 certificates
[ 0.106904] sun20i-d1-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.128224] 2500400.serial: ttyS1 at MMIO 0x2500400 (irq = 231, base_baud = 1500000) is a 16550A
[ 0.149533] 2500800.serial: ttyS2 at MMIO 0x2500800 (irq = 232, base_baud = 1500000) is a 16550A
[ 0.170866] 2500c00.serial: ttyS3 at MMIO 0x2500c00 (irq = 233, base_baud = 1500000) is a 16550A
[ 0.192314] 2501000.serial: ttyS4 at MMIO 0x2501000 (irq = 234, base_baud = 1500000) is a 16550A
[ 1.154466] printk: console [ttyS4] enabled
[ 1.179963] 2501400.serial: ttyS5 at MMIO 0x2501400 (irq = 235, base_baud = 1500000) is a 16550A
[ 1.192237] phy phy-4100400.phy.0: Changing dr_mode to 1
[ 1.193295] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[ 1.197634] ehci-platform 4101000.usb: EHCI Host Controller
[ 1.207419] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[ 1.213553] ehci-platform 4200000.usb: EHCI Host Controller
[ 1.224106] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
[ 1.224226] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 3
[ 1.232205] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[ 1.240576] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 1
[ 1.248010] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.256664] ohci-platform 4200400.usb: Generic Platform OHCI controller
[ 1.262962] usb usb2: Product: MUSB HDRC host driver
[ 1.262970] usb usb2: Manufacturer: Linux 6.0.1+ musb-hcd
[ 1.279952] usb usb2: SerialNumber: musb-hdrc.2.auto
[ 1.285593] hub 2-0:1.0: USB hub found
[ 1.289395] hub 2-0:1.0: 1 port detected
[ 1.293570] ehci-platform 4200000.usb: irq 239, io mem 0x04200000
[ 1.300024] ehci-platform 4101000.usb: irq 237, io mem 0x04101000
[ 1.301942] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.306496] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 4
[ 1.322304] ohci-platform 4200400.usb: irq 241, io mem 0x04200400
[ 1.328554] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
[ 1.328613] sunxi-mmc 4020000.mmc: Got CD GPIO
[ 1.334867] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[ 1.347399] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.354631] usb usb3: Product: EHCI Host Controller
[ 1.357012] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.359548] usb usb3: Manufacturer: Linux 6.0.1+ ehci_hcd
[ 1.366440] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.371438] usb usb3: SerialNumber: 4200000.usb
[ 1.380077] cfg80211: failed to load regulatory.db
[ 1.384769] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00
[ 1.389685] sunxi-mmc 4020000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[ 1.400013] hub 3-0:1.0: USB hub found
[ 1.408214] hub 3-0:1.0: 1 port detected
[ 1.412763] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.00
[ 1.421085] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.428346] usb usb4: Product: Generic Platform OHCI controller
[ 1.434268] usb usb4: Manufacturer: Linux 6.0.1+ ohci_hcd
[ 1.439685] usb usb4: SerialNumber: 4200400.usb
[ 1.444633] ohci-platform 4101400.usb: Generic Platform OHCI controller
[ 1.445431] hub 4-0:1.0: USB hub found
[ 1.455082] hub 4-0:1.0: 1 port detected
[ 1.459632] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[ 1.467954] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.475204] usb usb1: Product: EHCI Host Controller
[ 1.480085] usb usb1: Manufacturer: Linux 6.0.1+ ehci_hcd
[ 1.485502] usb usb1: SerialNumber: 4101000.usb
[ 1.490611] hub 1-0:1.0: USB hub found
[ 1.494417] hub 1-0:1.0: 1 port detected
[ 1.499033] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 5
[ 1.507070] ohci-platform 4101400.usb: irq 240, io mem 0x04101400
[ 1.528833] mmc0: new high speed SDXC card at address 0001
[ 1.535270] mmcblk0: mmc0:0001 JC2RT 59.6 GiB
[ 1.542156] mmcblk0: p1 p2 p3
[ 1.579312] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.00
[ 1.587618] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.594837] usb usb5: Product: Generic Platform OHCI controller
[ 1.600763] usb usb5: Manufacturer: Linux 6.0.1+ ohci_hcd
[ 1.606167] usb usb5: SerialNumber: 4101400.usb
[ 1.611264] hub 5-0:1.0: USB hub found
[ 1.615058] hub 5-0:1.0: 1 port detected
[ 1.705166] usb 3-1: new high-speed USB device number 2 using ehci-platform
[ 1.719273] EXT4-fs (mmcblk0p2): recovery complete
[ 1.726524] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled.
[ 1.735497] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.742693] devtmpfs: mounted
[ 1.746862] Freeing unused kernel image (initmem) memory: 1024K
[ 1.752954] Run /sbin/init as init process
[ 1.905760] usb 3-1: New USB device found, idVendor=1a86, idProduct=8091, bcdDevice= 2.10
[ 1.913988] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 1.921160] usb 3-1: Product: USB HUB
[ 1.925547] hub 3-1:1.0: USB hub found
[ 1.929513] hub 3-1:1.0: 4 ports detected
[ 2.010315] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: disabled.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: [ 2.245205] usb 3-1.3: new high-speed USB device number 3 using ehci-platform
[ 2.295512] udevd[122]: starting version 3.2.11
[ 7.385144] usb 3-1.3: device descriptor read/64, error -110
[ 7.435152] random: crng init done
[ 7.479677] udevd[123]: starting eudev-3.2.11
[ 22.745155] usb 3-1.3: device descriptor read/64, error -110
[ 22.965147] usb 3-1.3: new high-speed USB device number 4 using ehci-platform
[ 28.105164] usb 3-1.3: device descriptor read/64, error -110
udevadm settle failed
done
Initializing random number generator: OK
Saving random seed: OK
Starting network: Waiting for interface usb0 to appear.....[ 43.465155] usb 3-1.3: device descriptor read/64, error -110
[ 43.585271] usb 3-1-port3: attempt power cycle
.[ 44.245153] usb 3-1.3: new high-speed USB device number 5 using ehci-platform
......... timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
FAIL
Starting ntpd: OK
Starting sshd: OK
Starting collectd: FAIL
Welcome to use T113
AllWinner T113 login: [ 54.785153] usb 3-1.3: device not accepting address 5, error -110
[ 54.885152] usb 3-1.3: new high-speed USB device number 6 using ehci-platform
[ 65.425152] usb 3-1.3: device not accepting address 6, error -110
[ 65.431390] usb 3-1-port3: unable to enumerate USB device
[ 65.535151] usb 3-1.4: new high-speed USB device number 7 using ehci-platform
[ 65.696250] usb 3-1.4: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
[ 65.704612] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 65.711943] usb 3-1.4: Product: Android
[ 65.715801] usb 3-1.4: Manufacturer: Android
[ 65.727124] cdc_ether 3-1.4:1.4 usb0: register 'cdc_ether' at usb-4200000.usb-1.4, CDC Ethernet Device, 8e:2f:7b:1c:34:44
离线
简单分析一下问题,我的T113-S3,通过CH334 USB HUB芯片将USB1扩展成了四路,分别外接了移远EC20、USB有线网卡SR9900A;但是在插入电源自动开机的时候,总会出现USB错误,但不知道是系统的问题还是硬件设计的问题。
目前怀疑的问题如下所示:
1. 5V供电不足,5V供电采用的SY8303AIC只有3A的电流供电,理论上是够了,但是EC20在3.6V电压域峰值电流可以达到2A,是不是这里突然拉低导致初始化失败了呢?(其实我觉得不太可能是这个问题,因为我用示波器触发档位去测量,没有看到电压低于4.9V)
2. USB走线干扰问题,在PCB上5VDCDC的连线和USB的连线重复了一段,可不可能是这个问题引入了DCDC的噪声呢?
3. USB阻抗问题,可能90欧姆双端阻抗不稳定,导致通讯失败? (可是他有时候又能成功)
神奇的测试:
为了排除上述的问题,我通过外部电源直接给5V供电,发现好像这个问题没有出现了,现在让人更自闭了……
离线
大概率还是电源问题,可以试一试4G模块单独供电先试一试。
离线
大概率还是电源问题,可以试一试4G模块单独供电先试一试。
目前的4G模组已经是单独供电了 哈哈,我把原理图附上
离线
那不是确定了是PCB设计缺陷了嘛
主要不知道是什么缺陷,无从下手了,不确定是电源带来的干扰 还是其他的干扰
离线
电源问题,换个好点的电源就没事了,我的产品也遇到
离线
电源问题,换个好点的电源就没事了,我的产品也遇到
ok谢谢!目前也是打算换电源.
离线
wupaul2001 说:电源问题,换个好点的电源就没事了,我的产品也遇到
ok谢谢!目前也是打算换电源.
最近又遇到了,把设备树usb_otg设为disabled好了
离线
Winston 说:wupaul2001 说:电源问题,换个好点的电源就没事了,我的产品也遇到
ok谢谢!目前也是打算换电源.
最近又遇到了,把设备树usb_otg设为disabled好了
没找到usb_otg这个变量,在内核设备树里关于usb0的是这样的,usb_port_type = 0已经算是device了,但调适口还是有那些信息。
0 &usbc0 { │ sys_config.fex*
1 device_type = "usbc0"; │ sys_partition.fex*
2 usb_port_type = <0x0>; │ uboot-board.dts*
3 usb_detect_type = <0x0>; │~
4 /* usb_detect_mode = <0>; │~
5 usb_id_gpio = <&pio PB 8 GPIO_ACTIVE_HIGH>; │~
6 enable-active-high; │~
7 usb_det_vbus_gpio = <&pio PB 9 GPIO_ACTIVE_HIGH>; */ │~
8 usb_wakeup_suspend = <0>; │~
9 usb_serial_unique = <0>; │~
10 usb_serial_number = "20080411"; │~
11 rndis_wceis = <1>; │~
12 status = "okay"; │~
13 };
最近编辑记录 Gentlepig (2023-07-29 14:24:22)
离线
警告信息如下:
[ 12.136914] sunxi_vbus_det_work()3493 WARN: get power supply failed
[ 12.196217] sunxi_set_cur_vol_work()489 WARN: get power supply failed
离线