Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Peripherals/USB2 OTG

745 bytes added, 14:28, 16 February 2023
Accessing the peripheral
</pre>
===Accessing the peripheralSBC ORCA===
This procedure is the same for both ORCA SOM and MITO 8M Mini. ====Linux messages at boot time in host mode====
====Linux messages at boot time====When a USB 2.0 peripheral is inserted, in the following example a memory mass storage device, the kernel recognizes the device (i.e. class, vendor id, product id, etc.)
<pre class="workstation-terminal">root@desk-mx8mp:~# [ 949.406404] usb 3-1: new high-speed USB device number 3 using xhci-hcd[ 949.559777] usb-storage 3-1:1.0: USB Mass Storage device detected[ 949.566805] scsi host0: usb-storage 3-1:1.0[ 950.603883] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Force 1.00 PQ: 0 ANSI: 6[ 950.613554] sd 0:0:0:0: [sda] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)[ 950.621925] sd 0:0:0:0: [sda] Write Protect is off[ 950.627095] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA[ 950.688387] sda: sda1[ 950.695304] sd 0:0:0:0: [sda] Attached SCSI removable diskroot@desk-mx8mp:~#</pre> When a USB 3.0 peripheral is inserted, in the following example a memory mass storage device, the kernel recognizes the device (i.e. class, vendor id, product id, etc.)
<pre class="workstation-terminal">
root@desk-mx8mp:~# [ 24061026.464399205678] usb 64-1: USB disconnect, device number 2[ 2407.644440] usb 2-1.3: new SuperSpeed Gen 1 USB device number 3 2 using xhci-hcd[ 24071026.670023231220] usb-storage 24-1.3:1.0: USB Mass Storage device detected[ 24071026.677192237848] scsi host0: usb-storage 24-1.3:1.0[ 24081027.691090275191] scsi 0:0:0:0: Direct-Access HYPER FLASHDISK 1507 PQ: 0 ANSI: 0[ 24081027.701469284305] sd 0:0:0:0: [sda] 129630208 512-byte logical blocks: (66.4 GB/61.8 GiB)[ 24081027.709458292341] sd 0:0:0:0: [sda] Write Protect is off[ 24081027.714509297451] sd 0:0:0:0: [sda] No Caching mode page found[ 24081027.719856302780] sd 0:0:0:0: [sda] Assuming drive cache: write through[ 24081027.743246336127] sda: sda1[ 24081027.747220340540] sd 0:0:0:0: [sda] Attached SCSI removable diskroot@desk-mx8mp:~#
</pre>
dave_user
424
edits