Android USB Host
From Variscite Wiki
VAR-SOM-MX6 - Android Nougat - Android USB Host
How to test USB devices connected to Type - A USB host of the EVK.
To test Plug in a USB mass storage device/mouse/keyboard orany other supported USB device to any of the USB host ports on your DVK.
USB Mass Storage Device Example
After inserting a USB stick you should get an output similar to this:
usb 1-1: new high-speed USB device number 3 using ci_hdrc usb-storage 1-1:1.0: USB Mass Storage device detected scsi1 : usb-storage 1-1:1.0 scsi 1:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 8.02 PQ: 0 ANSI: 0 CCS sd 1:0:0:0: [sda] 3907583 512-byte logical blocks: (2.00 GB/1.86 GiB) sd 1:0:0:0: [sda] Write Protect is off sd 1:0:0:0: [sda] No Caching mode page found sd 1:0:0:0: [sda] Assuming drive cache: write through sd 1:0:0:0: [sda] No Caching mode page found sd 1:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sda2 sd 1:0:0:0: [sda] No Caching mode page found sd 1:0:0:0: [sda] Assuming drive cache: write thr
It should automatically get mounted. Use the Gallery Application to see the files.
- Note: If it doesn't detect, it will give you a warning on the status bar on the top. Format the USB pen drive.
USB Keyboard/mouse
After inserting the USB Keyboard you should be able to use it on the application.
Click on WebView browser test and type.
After connecting the mouse to Host, you should see the mouse cursor to operate with the Android UI