Android USB Host

From Variscite Wiki
VAR-SOM-MX6 - Android Nougat N7.1.1 - Android USB Host

Plug in a USB mass storage device / mouse / keyboard / any other supported USB device to any of the USB host ports on your DVK.

1 USB Mass Storage Device Example

After inserting a USB stick you should get 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 warning on the status bar on the top. Format the USB pendrive.

2 USB Keyboard / mouse

After inserting the USB Keyboar 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>