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:
[ 10.885232] usb 2-1.3: new SuperSpeed USB device number 4 using xhci-hcd
[ 11.006860] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[ 11.007275] scsi host1: usb-storage 2-1.3:1.0
[ 12.029449] scsi 1:0:0:0: Direct-Access Kingston DataTraveler 3.0 PQ: 0 ANSI: 6
[ 12.030827] sd 1:0:0:0: [sda] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB)
[ 12.030988] sd 1:0:0:0: [sda] Write Protect is off
[ 12.030999] sd 1:0:0:0: [sda] Mode Sense: 4f 00 00 00
[ 12.031292] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 12.034035] sda: sda1
[ 12.034340] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 12.584192] EXT4-fs (sda1): mounted filesystem 4ea17f25-87d5-4aa3-8a72-575d25c2f9bd r/w with ordered data mode. Quota mode: none.
[ 13.655871] scsi 0:0:0:0: Direct-Access USB DISK 3.0 PMAP PQ: 0 ANSI: 6
[ 13.658045] sd 0:0:0:0: [sdb] 61440000 512-byte logical blocks: (31.5 GB/29.3 GiB)
[ 13.658371] sd 0:0:0:0: [sdb] Write Protect is off
[ 13.658379] sd 0:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 13.658486] sd 0:0:0:0: [sdb] No Caching mode page found
[ 13.658492] sd 0:0:0:0: [sdb] Assuming drive cache: write through
[ 13.664335] sdb: sdb1
[ 13.664685] sd 0:0:0:0: [sdb] Attached SCSI removable disk
List directory content:
# ls -la /run/media/sda1
drwxr-xr-x 3 root root 4096 Feb 12 2026 .
drwxr-xr-x 6 root root 120 Jan 1 01:04 ..
drwx------ 2 root root 16384 Feb 11 2026 lost+found
-rw-r--r-- 1 root root 419430400 Feb 21 2026 speedtest.img
Write some data:
# dd if=/dev/urandom of=/run/media/sda1/junk bs=1M count=20
20+0 records in
20+0 records out
20971520 bytes (21 MB, 20 MiB) copied, 0.209115 s, 100 MB/s
FTDI Example¶
After inserting the FTDI device you should get output similar to this:
usb 1-1: new full-speed USB device number 5 using ci_hdrc
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
usb 1-1: Detected FT232RL
usb 1-1: Number of endpoints 2
usb 1-1: Endpoint 1 MaxPacketSize 64
usb 1-1: Endpoint 2 MaxPacketSize 64
usb 1-1: Setting MaxPacketSize 64
usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
Start minicom and set the interface:
connect pin 2 to 3 on the serial port and test for loop-back.
