motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.84k stars 897 forks source link

USB2 host and USB3 host is not working with OPI-ONE #1734

Open yoshibatora opened 5 years ago

yoshibatora commented 5 years ago

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

I am running motionEyeOS version: motioneyeos-orangepione-20181129.

Board Model

I am using the OrangePi One.

Network Connection

My motionEyeOS unit is connected to the network via WiFi, and the USB2 host and USB3 host is not enabled, I cannot found my Wifi card using lsusb. I can enable USB2 and USB3 hosts using Armbian, run the armbian-config script and choosing hardware-USB2 host and USB3 host option, but not motioneyeOS.

Peripherals

I am using the following peripherals that I consider relevant to this issue:

Rtl8188EU USB WiFi adapter, but the driver is in module folder.

Log Files

I consider the following log files relevant to this issue:

[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.19.1 (root@ce2485dbc5a4) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #1 SMP Sun Dec 2 23:18:45 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d [ 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: Xunlong Orange Pi One [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 16 MiB at 0x000000005f000000 [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x440 with crng_init=0 [ 0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s37068 r8192 d24372 u69632 [ 0.000000] pcpu-alloc: s37068 r8192 d24372 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: earlyprintk console=tty1 root=/dev/mmcblk0p2 rootwait ro no_console_suspend panic=10 quiet loglevel=1 ipv6.disable=1 [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 483084K/524288K available (12288K kernel code, 506K rwdata, 2644K rodata, 2048K init, 438K bss, 24820K reserved, 16384K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0x(ptrval) - 0x(ptrval) (14304 kB) .init : 0x(ptrval) - 0x(ptrval) (2048 kB) .data : 0x(ptrval) - 0x(ptrval) ( 507 kB) .bss : 0x(ptrval) - 0x(ptrval) ( 439 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 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.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000014] Switching to timer-based delay loop, resolution 41ns [ 0.000161] Console: colour dummy device 80x30 [ 0.000174] console [tty1] enabled [ 0.000216] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000) [ 0.000226] pid_max: default: 32768 minimum: 301 [ 0.000377] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000385] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001055] CPU: Testing write buffer coherency: ok [ 0.001448] CPU0: update cpu_capacity 1024 [ 0.001455] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001940] Setting up static identity map for 0x40200000 - 0x40200060 [ 0.002078] rcu: Hierarchical SRCU implementation. [ 0.002802] smp: Bringing up secondary CPUs ... [ 0.013485] CPU1: update cpu_capacity 1024 [ 0.013491] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.024253] CPU2: update cpu_capacity 1024 [ 0.024259] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.034952] CPU3: update cpu_capacity 1024 [ 0.034958] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.035041] smp: Brought up 1 node, 4 CPUs [ 0.035049] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.035053] CPU: All CPU(s) started in HYP mode. [ 0.035055] CPU: Virtualization extensions available. [ 0.035790] devtmpfs: initialized [ 0.041029] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.041140] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns [ 0.041156] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.041999] xor: measuring software checksum speed [ 0.089834] arm4regs : 1260.800 MB/sec [ 0.139881] 8regs : 768.800 MB/sec [ 0.189931] 32regs : 851.200 MB/sec [ 0.239977] neon : 1282.400 MB/sec [ 0.239981] xor: using function: neon (1282.400 MB/sec) [ 0.240048] pinctrl core: initialized pinctrl subsystem [ 0.240818] NET: Registered protocol family 16 [ 0.242309] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.243159] cpuidle: using governor ladder [ 0.243192] cpuidle: using governor menu [ 0.243584] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.243590] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.260115] cryptd: max_cpu_qlen set to 1000 [ 0.345417] raid6: int32x1 gen() 172 MB/s [ 0.430271] raid6: int32x1 xor() 158 MB/s [ 0.515571] raid6: int32x2 gen() 204 MB/s [ 0.600564] raid6: int32x2 xor() 167 MB/s [ 0.685525] raid6: int32x4 gen() 226 MB/s [ 0.770705] raid6: int32x4 xor() 174 MB/s [ 0.855715] raid6: int32x8 gen() 226 MB/s [ 0.940876] raid6: int32x8 xor() 143 MB/s [ 1.025875] raid6: neonx1 gen() 494 MB/s [ 1.110992] raid6: neonx1 xor() 461 MB/s [ 1.196081] raid6: neonx2 gen() 663 MB/s [ 1.281169] raid6: neonx2 xor() 595 MB/s [ 1.366279] raid6: neonx4 gen() 799 MB/s [ 1.451336] raid6: neonx4 xor() 671 MB/s [ 1.536419] raid6: neonx8 gen() 717 MB/s [ 1.621543] raid6: neonx8 xor() 612 MB/s [ 1.621546] raid6: using algorithm neonx4 gen() 799 MB/s [ 1.621549] raid6: .... xor() 671 MB/s, rmw enabled [ 1.621553] raid6: using neon recovery algorithm [ 1.622996] SCSI subsystem initialized [ 1.623180] usbcore: registered new interface driver usbfs [ 1.623229] usbcore: registered new interface driver hub [ 1.623341] usbcore: registered new device driver usb [ 1.623477] media: Linux media interface: v0.10 [ 1.623509] videodev: Linux video capture interface: v2.00 [ 1.623644] pps_core: LinuxPPS API ver. 1 registered [ 1.623648] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 1.623665] PTP clock support registered [ 1.623840] Advanced Linux Sound Architecture Driver Initialized. [ 1.624898] clocksource: Switched to clocksource arch_sys_counter [ 1.625161] FS-Cache: Loaded [ 1.631541] NET: Registered protocol family 2 [ 1.632156] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [ 1.632183] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 1.632230] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 1.632289] TCP: Hash tables configured (established 4096 bind 4096) [ 1.632373] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 1.632404] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 1.632593] NET: Registered protocol family 1 [ 1.633070] RPC: Registered named UNIX socket transport module. [ 1.633075] RPC: Registered udp transport module. [ 1.633078] RPC: Registered tcp transport module. [ 1.633081] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.633929] kvm [1]: 8-bit VMID [ 1.634461] kvm [1]: vgic interrupt IRQ16 [ 1.634621] kvm [1]: Hyp mode initialized successfully [ 1.636798] Initialise system trusted keyrings [ 1.636961] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.642513] zbud: loaded [ 1.643978] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.644921] FS-Cache: Netfs 'nfs' registered for caching [ 1.645370] NFS: Registering the id_resolver key type [ 1.645395] Key type id_resolver registered [ 1.645399] Key type id_legacy registered [ 1.645410] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.645421] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.646388] FS-Cache: Netfs 'cifs' registered for caching [ 1.646700] Key type cifs.spnego registered [ 1.646711] Key type cifs.idmap registered [ 1.646840] fuse init (API version 7.27) [ 1.647285] SGI XFS with ACLs, security attributes, no debug enabled [ 1.653946] async_tx: api initialized (async) [ 1.653960] Key type asymmetric registered [ 1.653965] Asymmetric key parser 'x509' registered [ 1.654029] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.654166] io scheduler noop registered (default) [ 1.654171] io scheduler deadline registered [ 1.654350] io scheduler cfq registered [ 1.654355] io scheduler mq-deadline registered [ 1.654474] io scheduler bfq registered [ 1.655116] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO [ 1.658718] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 1.660234] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 1.664235] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.685851] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A [ 1.703507] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0e77d40) [ 1.703761] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0e74fdc) [ 1.704540] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy) [ 1.704858] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver [ 1.705096] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0e777c4) [ 1.705104] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.705107] [drm] No driver support for vblank timestamp query. [ 1.705169] [drm] Cannot find any crtc or sizes [ 1.705561] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 1.714204] brd: module loaded [ 1.721793] loop: module loaded [ 1.737773] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 1.739772] libphy: Fixed MDIO Bus: probed [ 1.739778] tun: Universal TUN/TAP device driver, 1.6 [ 1.740390] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 1.740429] dwmac-sun8i 1c30000.ethernet: No regulator found [ 1.740713] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000) [ 1.740732] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 1.740738] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 1.740744] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 1.740748] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 1.740754] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 1.740759] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 1.740866] libphy: stmmac: probed [ 1.741280] dwmac-sun8i 1c30000.ethernet: Found internal PHY node [ 1.741365] libphy: mdio_mux: probed [ 1.741383] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY [ 1.741391] dwmac-sun8i 1c30000.ethernet: Powering internal PHY [ 1.742262] libphy: mdio_mux: probed [ 1.742642] usbcore: registered new interface driver rt2800usb [ 1.742682] usbcore: registered new interface driver r8152 [ 1.742729] usbcore: registered new interface driver asix [ 1.742788] usbcore: registered new interface driver ax88179_178a [ 1.742822] usbcore: registered new interface driver cdc_ether [ 1.742855] usbcore: registered new interface driver net1080 [ 1.742887] usbcore: registered new interface driver cdc_subset [ 1.742919] usbcore: registered new interface driver zaurus [ 1.742973] usbcore: registered new interface driver cdc_ncm [ 1.742983] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.742986] ehci-platform: EHCI generic platform driver [ 1.743141] ehci-platform 1c1a000.usb: EHCI Host Controller [ 1.743168] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 1.743473] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 1.754909] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 1.755158] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 1.755166] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.755172] usb usb1: Product: EHCI Host Controller [ 1.755177] usb usb1: Manufacturer: Linux 4.19.1 ehci_hcd [ 1.755182] usb usb1: SerialNumber: 1c1a000.usb [ 1.755648] hub 1-0:1.0: USB hub found [ 1.755692] hub 1-0:1.0: 1 port detected [ 1.756236] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.756258] ohci-platform: OHCI generic platform driver [ 1.756392] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 1.756413] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 1.756627] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400 [ 1.819068] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 1.819076] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.819081] usb usb2: Product: Generic Platform OHCI controller [ 1.819086] usb usb2: Manufacturer: Linux 4.19.1 ohci_hcd [ 1.819091] usb usb2: SerialNumber: 1c1a400.usb [ 1.819493] hub 2-0:1.0: USB hub found [ 1.819523] hub 2-0:1.0: 1 port detected [ 1.820095] usbcore: registered new interface driver cdc_acm [ 1.820099] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.820150] usbcore: registered new interface driver usblp [ 1.820187] usbcore: registered new interface driver cdc_wdm [ 1.820225] usbcore: registered new interface driver uas [ 1.820308] usbcore: registered new interface driver usb-storage [ 1.820392] usbcore: registered new interface driver ch341 [ 1.820421] usbserial: USB Serial support registered for ch341-uart [ 1.820456] usbcore: registered new interface driver cp210x [ 1.820482] usbserial: USB Serial support registered for cp210x [ 1.820530] usbcore: registered new interface driver ftdi_sio [ 1.820562] usbserial: USB Serial support registered for FTDI USB Serial Device [ 1.820669] usbcore: registered new interface driver pl2303 [ 1.820702] usbserial: USB Serial support registered for pl2303 [ 1.821465] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 1.821476] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 3 [ 1.821509] vhci_hcd: created sysfs vhci_hcd.0 [ 1.821663] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 1.821670] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.821675] usb usb3: Product: USB/IP Virtual Host Controller [ 1.821680] usb usb3: Manufacturer: Linux 4.19.1 vhci_hcd [ 1.821685] usb usb3: SerialNumber: vhci_hcd.0 [ 1.822082] hub 3-0:1.0: USB hub found [ 1.822118] hub 3-0:1.0: 8 ports detected [ 1.822549] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 1.822558] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 4 [ 1.822636] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.822747] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [ 1.822754] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.822759] usb usb4: Product: USB/IP Virtual Host Controller [ 1.822764] usb usb4: Manufacturer: Linux 4.19.1 vhci_hcd [ 1.822769] usb usb4: SerialNumber: vhci_hcd.0 [ 1.823090] hub 4-0:1.0: USB hub found [ 1.823120] hub 4-0:1.0: 8 ports detected [ 1.823657] usbcore: registered new device driver usbip-host [ 1.824182] mousedev: PS/2 mouse device common for all mice [ 1.824544] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 1.824550] sun6i-rtc 1f00000.rtc: RTC enabled [ 1.824618] i2c /dev entries driver [ 1.824966] IR NEC protocol handler initialized [ 1.824970] IR RC5(x/sz) protocol handler initialized [ 1.824973] IR RC6 protocol handler initialized [ 1.824975] IR JVC protocol handler initialized [ 1.824978] IR Sony protocol handler initialized [ 1.824980] IR SANYO protocol handler initialized [ 1.824983] IR Sharp protocol handler initialized [ 1.824986] IR MCE Keyboard/mouse protocol handler initialized [ 1.824988] IR XMP protocol handler initialized [ 1.825761] thermal thermal_zone0: failed to read out thermal zone (-16) [ 1.826183] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.826563] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com [ 1.827714] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2 [ 1.828068] ledtrig-cpu: registered to indicate activity on CPUs [ 1.828176] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 1.828274] hidraw: raw HID events driver (C) Jiri Kosina [ 1.828448] usbcore: registered new interface driver usbhid [ 1.828451] usbhid: USB HID core driver [ 1.834095] usbcore: registered new interface driver snd-usb-audio [ 1.835949] GACT probability NOT on [ 1.837352] xt_time: kernel timezone is -0000 [ 1.837491] wireguard: WireGuard 0.0.20181018 loaded. See www.wireguard.com for information. [ 1.837494] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved. [ 1.837634] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.838670] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully [ 1.838686] Initializing XFRM netlink socket [ 1.838712] IPv6: Loaded, but administratively disabled, reboot required to enable [ 1.838716] IPv6: ah6_init: can't add xfrm type [ 1.838719] IPv6: esp6_init: can't add xfrm type [ 1.838722] IPv6: ipcomp6_init: can't add xfrm type [ 1.852525] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 1.885156] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.885254] mmc0: new SDHC card at address 0001 [ 1.886343] mmcblk0: mmc0:0001 ASTC 14.9 GiB [ 1.888430] mmcblk0: p1 p2 [ 1.905498] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.905860] NET: Registered protocol family 17 [ 1.905887] NET: Registered protocol family 15 [ 1.905954] Bridge firewalling registered [ 1.906287] l2tp_core: L2TP core driver, V2.0 [ 1.906291] l2tp_netlink: L2TP netlink interface [ 1.906336] 8021q: 802.1Q VLAN Support v1.8 [ 1.906390] Key type dns_resolver registered [ 1.906694] Registering SWP/SWPB emulation handler [ 1.907946] registered taskstats version 1 [ 1.907951] Loading compiled-in X.509 certificates [ 1.908875] Btrfs loaded, crc32c=crc32c-generic [ 1.909517] Key type encrypted registered [ 1.917389] sun4i-usb-phy 1c19400.phy: Linked as a consumer to regulator.4 [ 1.918190] ehci-platform 1c1b000.usb: EHCI Host Controller [ 1.918219] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 5 [ 1.918526] ehci-platform 1c1b000.usb: irq 28, io mem 0x01c1b000 [ 1.929912] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 1.930109] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 1.930116] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.930122] usb usb5: Product: EHCI Host Controller [ 1.930127] usb usb5: Manufacturer: Linux 4.19.1 ehci_hcd [ 1.930132] usb usb5: SerialNumber: 1c1b000.usb [ 1.930596] hub 5-0:1.0: USB hub found [ 1.930646] hub 5-0:1.0: 1 port detected [ 1.931244] ohci-platform 1c1b400.usb: Generic Platform OHCI controller [ 1.931268] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6 [ 1.931474] ohci-platform 1c1b400.usb: irq 29, io mem 0x01c1b400 [ 1.994073] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 1.994081] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.994086] usb usb6: Product: Generic Platform OHCI controller [ 1.994091] usb usb6: Manufacturer: Linux 4.19.1 ohci_hcd [ 1.994096] usb usb6: SerialNumber: 1c1b400.usb [ 1.994491] hub 6-0:1.0: USB hub found [ 1.994523] hub 6-0:1.0: 1 port detected [ 1.995137] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator [ 1.995222] usb_phy_generic usb_phy_generic.3.auto: Linked as a consumer to regulator.0 [ 1.995456] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver [ 1.995467] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 7 [ 1.995619] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 1.995626] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.995631] usb usb7: Product: MUSB HDRC host driver [ 1.995637] usb usb7: Manufacturer: Linux 4.19.1 musb-hcd [ 1.995641] usb usb7: SerialNumber: musb-hdrc.4.auto [ 1.996013] hub 7-0:1.0: USB hub found [ 1.996047] hub 7-0:1.0: 1 port detected [ 1.996546] cpu cpu0: Linked as a consumer to regulator.5 [ 1.996597] cpu cpu0: Dropping the link to regulator.5 [ 1.996741] cpu cpu0: Linked as a consumer to regulator.5 [ 1.997342] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 1.997351] cpu cpu0: _opp_add: OPP not supported by regulators (1056000000) [ 1.997439] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 1.997446] cpu cpu0: _opp_add: OPP not supported by regulators (1104000000) [ 1.997527] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 1.997533] cpu cpu0: _opp_add: OPP not supported by regulators (1152000000) [ 1.997604] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 1.997610] cpu cpu0: _opp_add: OPP not supported by regulators (1200000000) [ 1.997689] core: _opp_supported_by_regulators: OPP minuV: 1340000 maxuV: 1340000, not supported by regulator [ 1.997696] cpu cpu0: _opp_add: OPP not supported by regulators (1224000000) [ 1.997782] core: _opp_supported_by_regulators: OPP minuV: 1340000 maxuV: 1340000, not supported by regulator [ 1.997788] cpu cpu0: _opp_add: OPP not supported by regulators (1248000000) [ 1.997852] core: _opp_supported_by_regulators: OPP minuV: 1340000 maxuV: 1340000, not supported by regulator [ 1.997859] cpu cpu0: _opp_add: OPP not supported by regulators (1296000000) [ 1.997946] core: _opp_supported_by_regulators: OPP minuV: 1400000 maxuV: 1400000, not supported by regulator [ 1.997953] cpu cpu0: _opp_add: OPP not supported by regulators (1344000000) [ 1.998033] core: _opp_supported_by_regulators: OPP minuV: 1400000 maxuV: 1400000, not supported by regulator [ 1.998039] cpu cpu0: _opp_add: OPP not supported by regulators (1368000000) [ 1.998306] thermal thermal_zone0: failed to read out thermal zone (-16) [ 1.998899] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0 [ 1.999176] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:07 UTC (7) [ 1.999362] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.002028] cfg80211: Loaded X.509 cert 'sforshee: ' [ 2.002154] vcc3v0: disabling [ 2.002160] vcc5v0: disabling [ 2.002164] usb0-vbus: disabling [ 2.002172] ALSA device list: [ 2.002176] #0: Dummy 1 [ 2.002179] #1: Loopback 1 [ 2.003006] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.003014] cfg80211: failed to load regulatory.db [ 2.010155] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 2.010204] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 2.011205] devtmpfs: mounted [ 2.013349] Freeing unused kernel memory: 2048K [ 2.025171] Run /sbin/init as init process [ 2.577969] random: fast init done [ 2.739992] [drm] Cannot find any crtc or sizes [ 35.500085] random: crng init done [ 37.165402] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null) [ 39.063414] udevd[330]: starting version 3.2.5 [ 39.137735] udevd[331]: starting eudev-3.2.5 [ 39.391663] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok [ 39.943273] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 39.945560] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found [ 39.945574] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 39.945583] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 42.020541] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 66.854432] system date is 1970-01-01 00:01:12

yoshibatora commented 5 years ago

Also found these two lines of error. platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 cfg80211: failed to load regulatory.db

ccrisan commented 5 years ago

@yoshibatora I understand your problem and appreciate the effort you put in providing the log files but unfortunately I can't help you with this issue. I'm simply compiling the "official" kernel with their default configuration.

If anyone is able to spot the problem here, please feel free to suggest improvements to the Orange PI One build.