Android USB Host

From Variscite Wiki
Revision as of 03:21, 12 December 2018 by Admin (talk | contribs) (Created page with "{{PageHeader|USB Host}} {{DocImage|category1=Yocto|category2=VAR-SOM-MX6}} __toc__ Plug in a USB mass storage device / mouse / keyboard / any other supported USB device to any...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

List directory content:

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>