Android USB Host: Difference between revisions

From Variscite Wiki
No edit summary
Line 1: Line 1:
{{PageHeader|USB Host}} {{DocImage|category1=Yocto|category2=VAR-SOM-MX6}} __toc__
<!-- Set release according to "release" parameter in URL and use RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6 as default
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6}}}} <!--
--> {{PageHeader|{{#var:HARDWARE_NAME}} - Android {{#var:ANDROID_NAME}} {{#var:ANDROID_VERSION}} Android USB Host}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Android}} __toc__
Plug in a USB mass storage device / mouse / keyboard / any other supported USB device to any of the USB host ports on your DVK.
Plug in a USB mass storage device / mouse / keyboard / any other supported USB device to any of the USB host ports on your DVK.



Revision as of 23:14, 26 December 2019

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.

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.

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>