After a firmware upgrading on the New Year Day, mouse and keyboard reflection is NOW gone… Without keyboard, I cannot even login VIM3. Furthremore, without logining VIM3, the Wifi cannot be connected. Which is seriously ridiculous.
I’m actually testing the Ubuntu 18.04.3 for Khadas VIM3. Can anybody give me a hand? The ONLY thing I can do so far is to read the TF card contents from my laptop.
You upgrade the image from V190831 or you have a fresh installation?
Your board is VIM1 or VIM3? This topic is about VIM3 but you paste the link of VIM1?
Fresh installation. I made a mistake with the links. I have a VIM3 and used image VIM3_Ubuntu-xfce-bionic_Linux-5.5-rc2_arm64_SD-USB_V20191231.7z from https://docs.khadas.com/vim3/FirmwareUbuntu.html.
connect the serial-usb adabter to the gpio pins on khadas
Tool Pin GND: <—> Pin17 of VIM’s GPIO
Tool Pin TXD: <—> Pin18 of VIM’s GPIO(Linux_Rx)
Tool Pin RXD: <—> Pin19 of VIM’s GPIO(Linux_Tx)
connect the adapter to USB to USB on other working linux machine
ls -l /dev/ttyUSB* > sudo gpasswd -a $(whoimi) uucp > newgrp uucp >
sudo apt install minicom > minicom > ctrl+a > z > o > Serial port setup >
A =/dev/ttyUSB0 > E = 115200 > F = No > G = No > ESC > Save setup as dfl >
sudo passwd khadas > xxxxxx > sudo passwd root > xxxxxxxxx > cat /sys/class/mcu/usb_pcie_switch_mode
1 > 0 - (USB 3.0 mode and 1 - PCIe mode) > (Change mode to USB 3.0): echo 0 > /sys/class/mcu/usb_pcie_switch_mode
echo 1 > /sys/class/mcu/poweroff > Then press the POWER KEY to boot the system.
reboot the khadas
My test was with image on 20191228.
And yet, it’s ALL about 20191231. After re-flashing 20191231, my khadas VIM3 won’t let me login, I mean: mouse and keyboard don’t work.
Now, how to disable PCIe? And, does that mean: there is one interface working at the same time? Either PCIe or USB? What’s more, how do I know if I successfully have PCIe disabled? which command to show that?