Vim1 pro no response from both usb ports

Hello! while this is only a version, you need to start with a simple :slightly_smiling_face:

Dear Vladimir.v.v
Sorry. I cannot catch your latest advise.
I think the simplest solution I can do now is installing vnc server and login from the other computer. But the problem is I had tried many times installing and failed VNC server both
Tigervnc and VNC4server.
If anybody that success in installing vnc server in Ubuntu 18.04, please kindly give me the guidance. Thank you in advnce.

ps. These are the website guidance that I tried but failed

  1. https://www.cyberciti.biz/faq/install-and-configure-tigervnc-server-on-ubuntu-18-04/
  2. https://www.tecmint.com/install-and-configure-vnc-server-on-ubuntu/
  3. https://linuxize.com/post/how-to-install-and-configure-vnc-on-ubuntu-18-04/
  4. https://www.journaldev.com/34074/install-tigervnc-on-ubuntu
  5. https://hackernoon.com/installation-of-vnc-server-on-ubuntu-1cf035370bd3

The only error when open vnc viewer is : The port on which the computer is listening for a connection could not be contacted. ???

Hello! what do you mean?

Please explain me a bit what is " while this is only a version, you need to start with a simple "
Do you mean “checking the power in ?”
Thank you.

quite right, I suggested starting from the very beginning, since the two ports could not break at the same time

why u need vnc server ?
u can get access by UART serial console of SSH - without problem :wink:

there he will be able to see information on voltage and current strength?

Thank you hyphop. Please kindly elapolate how to do it.

Dear hyphop
After insert trump-drive into both USB ports, I ssh into VIM1 and I ran the following command and its outcome :
MODEL REVISION SERIAL DEVICE

SC128 0xb8c3bcf2 mmcblk0
AWPD3R 0xcf1dbe9b mmcblk1

  •                                                    mmcblk1boot0 mmcblk1boot1
    

(No sign of USB)
Any recommends for using alternatives ? Please

By the way, for proper connection , original spare parts are always recommended, for example, the original power supply and cable :wink:

But I hope you find out the reason, good luck soon!

plz show next linux command outputs it can help

dmesg -c
lsusb
uname -a
cat /proc/cmdline

insert usb and check output again

dmesg

Thank you hyphop. I followed your advise as below:

  1. dmesg -c
    [ 12.914581] Adding 223592k swap on /dev/zram3. Priority:5 extents:1 across:223592k SSFS
    [ 12.917104] zram4: detected capacity change from 0 to 228962304
    [ 13.010513] Adding 223592k swap on /dev/zram4. Priority:5 extents:1 across:223592k SSFS
    [ 13.340148] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 13.340155] Bluetooth: BNEP filters: protocol multicast
    [ 13.340168] Bluetooth: BNEP socket layer initialized
    [ 14.022037] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 14.022073] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 24.926502] rc rc0: two consecutive events of type space
    [ 92.635330] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

  2. lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  3. uname -a
    Linux PiTid 5.5.0-rc2 #0.8.1 SMP PREEMPT Tue Dec 31 01:47:33 CST 2019 aarch64 aarch64 aarch64 GNU/Linux
    (noted : I changed /etc/host to PiTid)

  4. cat /proc/cmdlinue
    cat: /proc/cmdlinue: No such file or directory

  5. after insert usb and check output again
    dmesg

------- (blank)

Please note : after insert usb and lsblk : no usb is found.

Thank you once again hyphop

sorry for mistake must be
cat /proc/cmdline

  1. plz provide full dmesg -c output after system start

  2. if not difficult plz write Krescue image to SD card and boot from SD card (https://dl.khadas.com/Firmware/Krescue/dump/VIM1.krescue.sd.img.gz from https://dl.khadas.com/Firmware/Krescue/dump/)

and provide
lsusb
dmesg -c

replug usb and again

dmesg

after i can say more …

Thank you hyphop. I used new SD card. formated and installed ubuntu 18.04 image as per your link above. Once ssh into the VIM. Here are the results of the commands you recommended.

  1. Full dmesg -c
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 5.5.0-rc2 (khadas@3a97a4844f91) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #0.8.1 SMP PREEMPT Tue Dec 31 01:47:33 CST 2019
    [ 0.000000] Machine model: Khadas VIM
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000063400000, size 256 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [ 0.000000] On node 0 totalpages: 477952
    [ 0.000000] DMA zone: 4032 pages used for memmap
    [ 0.000000] DMA zone: 0 pages reserved
    [ 0.000000] DMA zone: 248576 pages, LIFO batch:63
    [ 0.000000] DMA32 zone: 3584 pages used for memmap
    [ 0.000000] DMA32 zone: 229376 pages, LIFO batch:63
    [ 0.000000] psci: probing for conduit method from DT.
    [ 0.000000] psci: PSCIv0.2 detected in firmware.
    [ 0.000000] psci: Using standard PSCI v0.2 function IDs
    [ 0.000000] psci: Trusted OS migration not required
    [ 0.000000] percpu: Embedded 22 pages/cpu s51480 r8192 d30440 u90112
    [ 0.000000] pcpu-alloc: s51480 r8192 d30440 u90112 alloc=22*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Detected VIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: ARM erratum 845719
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 470336
    [ 0.000000] Kernel command line: root=UUID=f5c5f19d-2e27-42c3-860b-77c3a9f89a9d rootfstype=ext4 rootflags=data=writeback rw ubootpart=NULL console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 logo=osd1,loaded,0x3d800000,1080p60hz vout=1080p60hz,enable hdmimode=1080p60hz fsck.repair=yes net.ifnames=0 ddr_size= wol_enable= jtag=disable mac=02:bd:3b:7f:b3:9f androidboot.mac=02:bd:3b:7f:b3:9f fan=auto khadas_board=VIM1 hwver=VIM1.V12 coherent_pool=2M reboot_mode=cold_boot imagetype=SD-USB uboottype=vendor
    [ 0.000000] uboot setup mac-addr: 02:bd:3b:7f:b3:9f
    [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
    [ 0.000000] Memory: 1517880K/1911808K available (11582K kernel code, 850K rwdata, 4036K rodata, 576K init, 411K bss, 131784K reserved, 262144K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
    [ 0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x448 with crng_init=0
    [ 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.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [ 0.000297] Console: colour dummy device 80x25
    [ 0.000617] printk: console [tty0] enabled
    [ 0.000657] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=96000)
    [ 0.000677] pid_max: default: 32768 minimum: 301
    [ 0.000766] LSM: Security Framework initializing
    [ 0.000831] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [ 0.000854] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [ 0.000905] *** VALIDATE tmpfs ***
    [ 0.001270] *** VALIDATE proc ***
    [ 0.001481] *** VALIDATE cgroup1 ***
    [ 0.001495] *** VALIDATE cgroup2 ***
    [ 0.024006] ASID allocator initialised with 32768 entries
    [ 0.031992] rcu: Hierarchical SRCU implementation.
    [ 0.048034] smp: Bringing up secondary CPUs …
    [ 0.080246] Detected VIPT I-cache on CPU1
    [ 0.080297] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [ 0.112280] Detected VIPT I-cache on CPU2
    [ 0.112325] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [ 0.144330] Detected VIPT I-cache on CPU3
    [ 0.144370] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [ 0.144444] smp: Brought up 1 node, 4 CPUs
    [ 0.144506] SMP: Total of 4 processors activated.
    [ 0.144517] CPU features: detected: 32-bit EL0 Support
    [ 0.144529] CPU features: detected: CRC32 instructions
    [ 0.144900] CPU: All CPU(s) started at EL2
    [ 0.144926] alternatives: patching kernel code
    [ 0.145998] devtmpfs: initialized
    [ 0.151275] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.151312] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [ 0.158132] xor: measuring software checksum speed
    [ 0.196315] 8regs : 2303.000 MB/sec
    [ 0.236336] 32regs : 2831.000 MB/sec
    [ 0.276366] arm64_neon: 2490.000 MB/sec
    [ 0.276375] xor: using function: 32regs (2831.000 MB/sec)
    [ 0.276395] pinctrl core: initialized pinctrl subsystem
    [ 0.277292] thermal_sys: Registered thermal governor ‘step_wise’
    [ 0.277992] NET: Registered protocol family 16
    [ 0.281154] DMA: preallocated 2048 KiB pool for atomic allocations
    [ 0.281219] audit: initializing netlink subsys (disabled)
    [ 0.281412] audit: type=2000 audit(0.280:1): state=initialized audit_enabled=0 res=1
    [ 0.282318] cpuidle: using governor menu
    [ 0.282806] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.282987] Serial: AMBA PL011 UART driver
    [ 0.300991] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [ 0.301017] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [ 0.301029] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.301041] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [ 0.303635] cryptd: max_cpu_qlen set to 1000
    [ 0.376630] raid6: neonx8 gen() 1716 MB/s
    [ 0.444738] raid6: neonx8 xor() 1567 MB/s
    [ 0.512795] raid6: neonx4 gen() 1588 MB/s
    [ 0.580834] raid6: neonx4 xor() 1481 MB/s
    [ 0.648894] raid6: neonx2 gen() 1224 MB/s
    [ 0.716975] raid6: neonx2 xor() 1232 MB/s
    [ 0.785096] raid6: neonx1 gen() 758 MB/s
    [ 0.853146] raid6: neonx1 xor() 865 MB/s
    [ 0.921199] raid6: int64x8 gen() 1002 MB/s
    [ 0.989221] raid6: int64x8 xor() 758 MB/s
    [ 1.057284] raid6: int64x4 gen() 1084 MB/s
    [ 1.125312] raid6: int64x4 xor() 774 MB/s
    [ 1.193370] raid6: int64x2 gen() 724 MB/s
    [ 1.261405] raid6: int64x2 xor() 610 MB/s
    [ 1.329496] raid6: int64x1 gen() 478 MB/s
    [ 1.397505] raid6: int64x1 xor() 443 MB/s
    [ 1.397514] raid6: using algorithm neonx8 gen() 1716 MB/s
    [ 1.397524] raid6: … xor() 1567 MB/s, rmw enabled
    [ 1.397534] raid6: using neon recovery algorithm
    [ 1.399441] vgaarb: loaded
    [ 1.399790] SCSI subsystem initialized
    [ 1.400220] usbcore: registered new interface driver usbfs
    [ 1.400287] usbcore: registered new interface driver hub
    [ 1.400376] usbcore: registered new device driver usb
    [ 1.400809] pps_core: LinuxPPS API ver. 1 registered
    [ 1.400830] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
    [ 1.400860] PTP clock support registered
    [ 1.401333] Advanced Linux Sound Architecture Driver Initialized.
    [ 1.402433] clocksource: Switched to clocksource arch_sys_counter
    [ 1.402464] *** VALIDATE bpf ***
    [ 1.402676] VFS: Disk quotas dquot_6.6.0
    [ 1.402734] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 1.402806] *** VALIDATE ramfs ***
    [ 1.402827] *** VALIDATE hugetlbfs ***
    [ 1.409015] NET: Registered protocol family 2
    [ 1.409483] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [ 1.409532] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [ 1.409650] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [ 1.409860] TCP: Hash tables configured (established 16384 bind 16384)
    [ 1.409984] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [ 1.410036] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [ 1.410220] NET: Registered protocol family 1
    [ 1.410660] RPC: Registered named UNIX socket transport module.
    [ 1.410682] RPC: Registered udp transport module.
    [ 1.410691] RPC: Registered tcp transport module.
    [ 1.410700] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.410717] PCI: CLS 0 bytes, default 64
    [ 1.410877] Trying to unpack rootfs image as initramfs…
    [ 1.735670] Freeing initrd memory: 8144K
    [ 1.736659] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [ 1.737024] kvm [1]: IPA Size Limit: 40bits
    [ 1.737531] kvm [1]: vgic interrupt IRQ1
    [ 1.737641] kvm [1]: Hyp mode initialized successfully
    [ 1.873072] Initialise system trusted keyrings
    [ 1.873218] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [ 1.878302] zbud: loaded
    [ 1.880534] NFS: Registering the id_resolver key type
    [ 1.880574] Key type id_resolver registered
    [ 1.880583] Key type id_legacy registered
    [ 1.880599] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
    [ 1.880611] Installing knfsd (copyright © 1996 okir@monad.swb.de).
    [ 1.900827] Key type asymmetric registered
    [ 1.900852] Asymmetric key parser ‘x509’ registered
    [ 1.900925] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 1.901062] io scheduler mq-deadline registered
    [ 1.901077] io scheduler kyber registered
    [ 1.901250] io scheduler bfq registered
    [ 1.913546] soc soc0: Amlogic Meson GXL (S905X) Revision 21:b (82:2) Detected
    [ 1.917492] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 1.919756] c11084c0.serial: ttyAML6 at MMIO 0xc11084c0 (irq = 10, base_baud = 1500000) is a meson_uart
    [ 1.919947] serial serial0: tty port ttyAML6 registered
    [ 1.920233] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 15, base_baud = 1500000) is a meson_uart
    [ 2.800933] printk: console [ttyAML0] enabled
    [ 2.805831] c81004e0.serial: ttyAML2 at MMIO 0xc81004e0 (irq = 16, base_baud = 1500000) is a meson_uart
    [ 2.817671] brd: module loaded
    [ 2.822530] loop: module loaded
    [ 2.823041] Loading iSCSI transport class v2.0-870.
    [ 2.826070] iscsi: registered transport (tcp)
    [ 2.831560] libphy: Fixed MDIO Bus: probed
    [ 2.834815] tun: Universal TUN/TAP device driver, 1.6
    [ 2.839536] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
    [ 2.845430] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
    [ 2.851669] meson8b-dwmac c9410000.ethernet: PTP uses main clock
    [ 2.857488] meson8b-dwmac c9410000.ethernet: no reset control found
    [ 2.864146] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
    [ 2.870784] meson8b-dwmac c9410000.ethernet: DWMAC1000
    [ 2.875941] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
    [ 2.883356] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
    [ 2.890773] meson8b-dwmac c9410000.ethernet: COE Type 2
    [ 2.895948] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
    [ 2.902934] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
    [ 2.909344] meson8b-dwmac c9410000.ethernet: Normal descriptors
    [ 2.915182] meson8b-dwmac c9410000.ethernet: Ring mode enabled
    [ 2.920961] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [ 2.929073] libphy: stmmac: probed
    [ 2.934230] dwc3 c9000000.dwc3: Failed to get clk ‘ref’: -2
    [ 2.939242] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    [ 2.944263] ehci-pci: EHCI PCI platform driver
    [ 2.948710] ehci-platform: EHCI generic platform driver
    [ 2.954079] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
    [ 2.959969] ohci-pci: OHCI PCI platform driver
    [ 2.964400] ohci-platform: OHCI generic platform driver
    [ 2.970327] usbcore: registered new interface driver usb-storage
    [ 2.977013] mousedev: PS/2 mouse device common for all mice
    [ 2.981620] i2c /dev entries driver
    [ 2.988007] rtc-hym8563 1-0051: no valid clock/calendar values available
    [ 2.991263] rtc-hym8563 1-0051: registered as rtc0
    [ 2.997316] mcu_probe
    [ 2.998070] mcu_probe: board: VIM1 (1), hwver: Unknown (0)
    [ 3.003514] create_mcu_attrs
    [ 3.009181] sdhci: Secure Digital Host Controller Interface driver
    [ 3.012486] sdhci: Copyright© Pierre Ossman
    [ 3.016833] Synopsys Designware Multimedia Card Interface Driver
    [ 3.024390] meson-gx-mmc d0072000.mmc: Got CD GPIO
    [ 3.054878] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
    [ 3.079964] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 3.081009] ledtrig-cpu: registered to indicate activity on CPUs
    [ 3.086745] meson-sm: secure-monitor enabled
    [ 3.090952] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
    [ 3.095428] mmc0: new high speed SDXC card at address aaaa
    [ 3.098173] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
    [ 3.104230] mmcblk0: mmc0:aaaa SL64G 59.5 GiB
    [ 3.118944] usbcore: registered new interface driver usbhid
    [ 3.121310] usbhid: USB HID core driver
    [ 3.125760] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
    [ 3.131951] mmcblk0: p1 p2
    [ 3.144784] NET: Registered protocol family 10
    [ 3.145697] Segment Routing with IPv6
    [ 3.147327] NET: Registered protocol family 17
    [ 3.151786] Key type dns_resolver registered
    [ 3.156512] registered taskstats version 1
    [ 3.159939] Loading compiled-in X.509 certificates
    [ 3.164826] zswap: loaded using pool lzo/zbud
    [ 3.169104] Key type ._fscrypt registered
    [ 3.172941] Key type .fscrypt registered
    [ 3.177865] Btrfs loaded, crc32c=crc32c-generic
    [ 3.189967] Key type encrypted registered
    [ 3.205902] libphy: mdio_mux: probed
    [ 3.209164] libphy: mdio_mux: probed
    [ 3.209487] phy phy-d0078080.phy.2: unsupported PHY mode 5
    [ 3.215028] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 3.218370] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [ 3.226116] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
    [ 3.235304] xhci-hcd xhci-hcd.0.auto: irq 42, io mem 0xc9000000
    [ 3.241340] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
    [ 3.249247] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.256486] usb usb1: Product: xHCI Host Controller
    [ 3.261321] usb usb1: Manufacturer: Linux 5.5.0-rc2 xhci-hcd
    [ 3.266911] usb usb1: SerialNumber: xhci-hcd.0.auto
    [ 3.272384] hub 1-0:1.0: USB hub found
    [ 3.275515] hub 1-0:1.0: 2 ports detected
    [ 3.279734] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 3.284878] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 3.292496] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [ 3.299102] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
    [ 3.306973] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.05
    [ 3.315058] mmc1: new HS200 MMC card at address 0001
    [ 3.320235] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.327493] mmcblk1: mmc1:0001 AWPD3R 14.6 GiB
    [ 3.331892] mmcblk1boot0: mmc1:0001 AWPD3R partition 1 4.00 MiB
    [ 3.337761] mmcblk1boot1: mmc1:0001 AWPD3R partition 2 4.00 MiB
    [ 3.343354] usb usb2: Product: xHCI Host Controller
    [ 3.348169] usb usb2: Manufacturer: Linux 5.5.0-rc2 xhci-hcd
    [ 3.353861] usb usb2: SerialNumber: xhci-hcd.0.auto
    [ 3.358650] mmcblk1rpmb: mmc1:0001 AWPD3R partition 3 4.00 MiB, chardev (244:0)
    [ 3.367212] hub 2-0:1.0: USB hub found
    [ 3.369902] hub 2-0:1.0: config failed, hub doesn’t have any ports! (err -19)
    [ 3.378021] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq
    [ 3.411200] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
    [ 3.426786] rtc-hym8563 1-0051: no valid clock/calendar values available
    [ 3.427859] rtc-hym8563 1-0051: hctosys: unable to read the hardware clock
    [ 3.436988] ALSA device list:
    [ 3.437692] No soundcards found.
    [ 3.441336] Freeing unused kernel memory: 576K
    [ 3.450589] Run /init as init process
    [ 3.455080] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
    [ 3.457280] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 3.462593] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 3.469596] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
    [ 3.510386] random: fast init done
    [ 3.547074] mmc2: new high speed SDIO card at address 0001
    [ 5.295170] EXT4-fs (mmcblk0p2): recovery complete
    [ 5.302060] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: data=writeback
    [ 5.874928] systemd[1]: System time before build time, advancing clock.
    [ 5.976970] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
    [ 5.993530] systemd[1]: Detected architecture arm64.
    [ 6.030854] systemd[1]: Set hostname to .
    [ 6.040156] systemd[1]: Couldn’t move remaining userspace processes, ignoring: Input/output error
    [ 6.685709] random: systemd: uninitialized urandom read (16 bytes read)
    [ 6.686857] systemd[1]: Reached target System Time Synchronized.
    [ 6.693270] random: systemd: uninitialized urandom read (16 bytes read)
    [ 6.699444] systemd[1]: Started ntp-systemd-netif.path.
    [ 6.704545] random: systemd: uninitialized urandom read (16 bytes read)
    [ 6.711015] systemd[1]: Reached target Remote File Systems.
    [ 6.716646] systemd[1]: Reached target User and Group Name Lookups.
    [ 6.723468] systemd[1]: Created slice User and Session Slice.
    [ 6.728830] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 6.845392] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
    [ 6.848691] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [ 6.883224] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
    [ 6.945491] brcmfmac: F1 signature read @0x18000000=0x15264345
    [ 6.948203] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [ 6.969115] systemd-journald[1526]: Received request to flush runtime journal from PID 1
    [ 6.978934] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.khadas,vim.txt failed with error -2
    [ 7.150713] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [ 7.153831] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
    [ 7.170782] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Aug 25 2015 18:58:57 version 7.45.69 (r581703) FWID 01-24037f6e
    [ 7.575745] mc: Linux media interface: v0.10
    [ 7.614701] videodev: Linux video capture interface: v2.00
    [ 7.704033] meson-drm d0100000.vpu: Queued 2 outputs on vpu
    [ 7.725378] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 7.725385] [drm] No driver support for vblank timestamp query.
    [ 7.725479] meson-drm d0100000.vpu: CVBS Output connector not available
    [ 7.731313] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned.
    [ 7.734470] Registered IR keymap rc-khadas
    [ 7.750203] IR NEC protocol handler initialized
    [ 7.760563] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
    [ 7.762022] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
    [ 7.762702] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
    [ 7.763212] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
    [ 7.778609] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
    [ 7.778734] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0
    [ 7.780302] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter
    [ 7.782002] meson-ir c8100580.ir: receiver initialized
    [ 7.796833] Bluetooth: Core ver 2.22
    [ 7.796898] NET: Registered protocol family 31
    [ 7.796901] Bluetooth: HCI device and connection manager initialized
    [ 7.796915] Bluetooth: HCI socket layer initialized
    [ 7.796921] Bluetooth: L2CAP socket layer initialized
    [ 7.796934] Bluetooth: SCO socket layer initialized
    [ 7.838156] Bluetooth: HCI UART driver ver 2.3
    [ 7.838165] Bluetooth: HCI UART protocol H4 registered
    [ 7.838167] Bluetooth: HCI UART protocol BCSP registered
    [ 7.838226] Bluetooth: HCI UART protocol LL registered
    [ 7.838229] Bluetooth: HCI UART protocol ATH3K registered
    [ 7.838254] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [ 7.843834] Bluetooth: HCI UART protocol Intel registered
    [ 7.844107] Bluetooth: HCI UART protocol Broadcom registered
    [ 7.844294] hci_uart_bcm serial0-0: serial0-0 supply vbat not found, using dummy regulator
    [ 7.844369] hci_uart_bcm serial0-0: serial0-0 supply vddio not found, using dummy regulator
    [ 7.844515] Bluetooth: HCI UART protocol QCA registered
    [ 7.844521] Bluetooth: HCI UART protocol AG6XX registered
    [ 7.846390] Bluetooth: HCI UART protocol Marvell registered
    [ 7.910645] random: crng init done
    [ 7.910654] random: 7 urandom warning(s) missed due to ratelimiting
    [ 8.107452] Console: switching to colour frame buffer device 240x67
    [ 8.145062] meson-drm d0100000.vpu: fb0: mesondrmfb frame buffer device
    [ 8.177467] gx-sound-card sound: snd-soc-dummy-dai <-> c1105400.bus:audio-controller-0 mapping ok
    [ 8.178524] gx-sound-card sound: i2s-hifi <-> c1105400.bus:audio-controller-2 mapping ok
    [ 8.183036] Bluetooth: hci1: BCM: chip id 107
    [ 8.183430] Bluetooth: hci1: BCM: features 0x2f
    [ 8.185133] Bluetooth: hci1: BCM4345C0
    [ 8.185143] Bluetooth: hci1: BCM4345C0 (003.001.025) build 0000
    [ 8.927107] Bluetooth: hci1: BCM4345C0 (003.001.025) build 0075
    [ 9.416806] zram: Added device: zram0
    [ 9.417418] zram: Added device: zram1
    [ 9.418033] zram: Added device: zram2
    [ 9.419386] zram: Added device: zram3
    [ 9.420193] zram: Added device: zram4
    [ 9.431901] zram: Added device: zram5
    [ 9.571628] zram1: detected capacity change from 0 to 228962304
    [ 9.753283] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY]
    [ 9.769041] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
    [ 9.769070] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
    [ 9.769088] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
    [ 9.778544] Adding 223592k swap on /dev/zram1. Priority:5 extents:1 across:223592k SSFS
    [ 9.781381] zram2: detected capacity change from 0 to 228962304
    [ 9.846569] Adding 223592k swap on /dev/zram2. Priority:5 extents:1 across:223592k SSFS
    [ 9.848962] zram3: detected capacity change from 0 to 228962304
    [ 9.902534] Adding 223592k swap on /dev/zram3. Priority:5 extents:1 across:223592k SSFS
    [ 9.904820] zram4: detected capacity change from 0 to 228962304
    [ 9.950520] Adding 223592k swap on /dev/zram4. Priority:5 extents:1 across:223592k SSFS
    [ 10.468218] EXT4-fs (mmcblk0p2): resizing filesystem from 1053696 to 15370480 blocks
    [ 11.275980] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 11.276142] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 19.294682] rc rc0: two consecutive events of type space
    [ 27.474357] EXT4-fs (mmcblk0p2): resized to 1572864 blocks
    [ 44.071745] EXT4-fs (mmcblk0p2): resized to 2621440 blocks
    [ 57.835828] EXT4-fs (mmcblk0p2): resized to 3670016 blocks
    [ 73.237085] EXT4-fs (mmcblk0p2): resized to 4718592 blocks
    [ 90.656477] EXT4-fs (mmcblk0p2): resized to 5242880 blocks
    [ 103.008154] EXT4-fs (mmcblk0p2): resized to 6815744 blocks
    [ 118.088205] EXT4-fs (mmcblk0p2): resized to 7864320 blocks
    [ 136.749357] EXT4-fs (mmcblk0p2): resized to 8912896 blocks
    [ 148.566698] EXT4-fs (mmcblk0p2): resized to 9961472 blocks
    [ 164.371945] EXT4-fs (mmcblk0p2): resized to 11010048 blocks
    [ 175.875764] EXT4-fs (mmcblk0p2): resized to 12058624 blocks
    [ 189.772578] EXT4-fs (mmcblk0p2): resized to 13107200 blocks
    [ 208.308943] EXT4-fs (mmcblk0p2): resized to 14155776 blocks
    [ 222.641149] EXT4-fs (mmcblk0p2): resized to 14680064 blocks
    [ 229.421920] EXT4-fs (mmcblk0p2): resized filesystem to 15370480
    [ 232.516956] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 232.516981] Bluetooth: BNEP filters: protocol multicast
    [ 232.516996] Bluetooth: BNEP socket layer initialized
    [ 238.249044] fuse: init (API version 7.31)
    [ 238.249280] *** VALIDATE fuse ***
    [ 238.249316] *** VALIDATE fuse ***

  2. lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  3. After replug usb and again dmesg -c
    ---------- (blank)

  4. cat /proc/cmdline

root=UUID=f5c5f19d-2e27-42c3-860b-77c3a9f89a9d rootfstype=ext4 rootflags=data=writeback rw ubootpart=NULL console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 logo=osd1,loaded,0x3d800000,1080p60hz vout=1080p60hz,enable hdmimode=1080p60hz fsck.repair=yes net.ifnames=0 ddr_size= wol_enable= jtag=disable mac=02:bd:3b:7f:b3:9f androidboot.mac=02:bd:3b:7f:b3:9f fan=auto khadas_board=VIM1 hwver=VIM1.V12 coherent_pool=2M reboot_mode=cold_boot imagetype=SD-USB uboottype=vendor

Awaiting for your kind recommends. Thank you.

OK! tnx
i can see ubuntu logs
but read prev my message write Krescue image to SD
and start Krescue system from SD
and show Krescue log

im still wait info from u after what i can say something about USB BROKEN on NOT

Dear hyphop, tell you frankly. I downloaded the kresq file for eMMc. But I do not know how to depress it into img. Any advise please

But without mouse or keyboard, I cannot imagine how to navigate on the menu of kresq ?

1 Like

By the way, yes, if there is no original remote.

At last my pray is answered. Thanks to hyphop that recommended me to install ubuntu 2018. This version can install vnc server without any hiccups. I am now happy using ubuntu on my ipad2 smoothly.
Special thank you to hyphop, Vladimir.v.v and RDFTKV and all readers supporting this problem.

3 Likes