MH1905 Ubuntu USB Activation Demo
This is a Demostration video based on MH1905 EVB to activate USB port to allow this EVB to use USB to have a simple data exchange method.
This video shows the following features:
Timestamps:
0:14 Hardware Requirements
0:35 Hardware Connection
1:00 SecureCRT Setup
1:26 Preparation for USB Port (Download lsusb)
2:34 Preparation for USB Port (Download LRZSZ)
4:49 Preparation for USB Port (Install LRZSZ)
5:55 Install USB Driver
7:41 Mount USB Port
9.01 Unmount and Eject USB Port
Download links, packages and commands:
1. Download lsusb to check the USB ports
– sudo apt-get install usbutils
2. Setup LRZSZ
a) Get the lrzsz download file from ohse website
– wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
b) Open the tar file
– tar zxvf lrzsz-0.12.20.tar.gz
c) Move to the opened file
– cd lrzsz-0.12.20
d) Configure the directory to usr/local/lrzsz
– ./configure –prefix=/usr/local/lrzsz
e) Make and Install make with sudo
– sudo make
– sudo make install
3. lrz and get usb driver from your PC
– lrz
– Required files: mhusb2.ko & phy-mh190x-usb-ko
4. Install USB driver
– sudo insmod phy-mh190x-usb.ko
– sudo insmod mhusb2.ko
5. Test the USB is it working
– lsusb
6. Mount USB
a) Check the USB port name from the device section
– ls /dev/sd*
b) Mount the USB port
– sudo mount -t vfat /dev/sda1 /mnt
7. Test the USB
a) Go to mnt and check the data insde the mnt file
– cd mnt
– ls
b) Go back to root and have test a screen test from the usb port
– sudo mnt/fb-test
8. Unmount and eject the USB
a) Unmount the USB
– sudo umount /dev/sda1
b) Eject the USB
– sudo apt install eject
– sudo eject /dev/sda1
Related Article: https://hackaday.io/page/192032-setting-up-and-utilizing-usb-ports-on-mh1905-evb-with-ubuntu
#megahunt #demo #securepi #secure #MH1905 #MH1905EVB #chip #embedded #linux #features #application #interface #product #chipset #explanation #application #installation #USB #Driver #LRZSZ #Data #transfer #ubuntu #activation
ubuntu