| 1 | ===== USB Hub/SD Card Reader ===== |
| 2 | |
| 3 | Tested Anker USB C Hub with microSD and SD card reader. |
| 4 | |
| 5 | |
| 6 | Verified it does work except HDMI feature. Our USB-C does not include HDMI capabilities. |
| 7 | |
| 8 | Insert microSD card |
| 9 | |
| 10 | {{{ |
| 11 | [ 917.373829] audit: type=1327 audit(1698953401.595:24): proctitle=2F7573722F7362696E2F63726F6E64002D6E |
| 12 | [ 1018.850425] sd 0:0:0:1: [sdb] 62357504 512-byte logical blocks: (31.9 GB/29.7 GiB) |
| 13 | [ 1018.855021] sdb: detected capacity change from 0 to 62357504 |
| 14 | [ 1018.860700] sdb: sdb1 |
| 15 | root@imx8mq-var-dart:~# ls /run/media |
| 16 | data-mmcblk0p3 rootfs1-mmcblk0p1 rootfs2-mmcblk0p2 sdb1 |
| 17 | root@imx8mq-var-dart:~# ls /run/media/sdb1 |
| 18 | 'System Volume Information' fd_dlc_dbg |
| 19 | root@imx8mq-var-dart:~# |
| 20 | }}} |
| 21 | |
| 22 | Insert 128G Flash drive |
| 23 | |
| 24 | {{{ |
| 25 | [ 1225.476027] scsi 1:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6 |
| 26 | [ 1225.477504] sd 1:0:0:0: [sdc] 240353280 512-byte logical blocks: (123 GB/115 GiB) |
| 27 | [ 1225.478241] sd 1:0:0:0: [sdc] Write Protect is off |
| 28 | [ 1225.478259] sd 1:0:0:0: [sdc] Mode Sense: 43 00 00 00 |
| 29 | [ 1225.478730] sd 1:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA |
| 30 | [ 1225.488847] sdc: sdc1 |
| 31 | [ 1225.491253] sd 1:0:0:0: [sdc] Attached SCSI removable disk |
| 32 | root@imx8mq-var-dart:~# ls /run/media |
| 33 | Data128-sdc1 data-mmcblk0p3 rootfs1-mmcblk0p1 rootfs2-mmcblk0p2 sdb1 |
| 34 | root@imx8mq-var-dart:~# ls /run/media/Data128-sdc1/ |
| 35 | '2022-05-01 08-55-02.mp4' 'February 2023.pub' 'Statement for Oct 27, 2022.pdf' |
| 36 | '2022-05-29 09-00-00.mp4' 'January 2023.pub' 'System Volume Information' |
| 37 | '2022-06-05 08-57-45.mp4' 'June 2023.pub' arm-gnu-toolchain-11.3.tar.gz |
| 38 | '2022-07-03 09-00-15.mp4' 'May 2022.pub' confirmation2022 |
| 39 | '2022-11-06 08-56-13.mp4' SS_ChristmasProgram2022 diag |
| 40 | 'April 2023.pub' 'Statement for Nov 10, 2022.pdf' drive-download-20221106T131736Z-001 |
| 41 | 'December 2022.pub' 'Statement for Oct 13, 2022.pdf' nand.tar.gz |
| 42 | root@imx8mq-var-dart:~# |
| 43 | }}} |
| 44 | |
| 45 | Insert 256G Flash drive |
| 46 | |
| 47 | {{{ |
| 48 | [ 1344.963988] scsi 2:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6 |
| 49 | [ 1344.964892] sd 2:0:0:0: [sdd] 488570880 512-byte logical blocks: (250 GB/233 GiB) |
| 50 | [ 1344.966340] sd 2:0:0:0: [sdd] Write Protect is off |
| 51 | [ 1344.966358] sd 2:0:0:0: [sdd] Mode Sense: 43 00 00 00 |
| 52 | [ 1344.967433] sd 2:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA |
| 53 | [ 1344.974941] sdd: sdd1 |
| 54 | [ 1344.977258] sd 2:0:0:0: [sdd] Attached SCSI removable disk |
| 55 | [ 1345.750567] ntfs: driver 2.1.32 [Flags: R/O MODULE]. |
| 56 | [ 1345.793647] ntfs: volume version 3.1. |
| 57 | root@imx8mq-var-dart:~# ls /run/media |
| 58 | Data128-sdc1 Data256G-sdd1 data-mmcblk0p3 rootfs1-mmcblk0p1 rootfs2-mmcblk0p2 sdb1 |
| 59 | root@imx8mq-var-dart:~# ls /run/media/Data256G-sdd1/ |
| 60 | 'System Volume Information' en-us_windows_10_business_editions_version_22h2_x64_dvd_8cf17b79.iso |
| 61 | root@imx8mq-var-dart:~# |
| 62 | }}} |
| 63 | |
| 64 | Insert 32G SD Card |
| 65 | |
| 66 | {{{ |
| 67 | [ 1404.942570] sd 0:0:0:0: [sda] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB) |
| 68 | [ 1404.945548] sda: detected capacity change from 0 to 62333952 |
| 69 | [ 1404.948529] sda: sda1 |
| 70 | root@imx8mq-var-dart:~# ls /run/media |
| 71 | Data128-sdc1 Data256G-sdd1 data-mmcblk0p3 rootfs1-mmcblk0p1 rootfs2-mmcblk0p2 sda1 sdb1 |
| 72 | root@imx8mq-var-dart:~# ls /run/media/sda1 |
| 73 | DCIM FSCK0000.004 FSCK0000.009 FSCK0001.REC FSCK0006.REC FSCK0011.REC 'System Volume Information' |
| 74 | FSCK0000.000 FSCK0000.005 FSCK0000.010 FSCK0002.REC FSCK0007.REC FSCK0012.REC _disk_id.pod |
| 75 | FSCK0000.001 FSCK0000.006 FSCK0000.011 FSCK0003.REC FSCK0008.REC FSCK0013.REC |
| 76 | FSCK0000.002 FSCK0000.007 FSCK0000.012 FSCK0004.REC FSCK0009.REC MISC |
| 77 | FSCK0000.003 FSCK0000.008 FSCK0000.REC FSCK0005.REC FSCK0010.REC SDFS_CFG.BIN |
| 78 | root@imx8mq-var-dart:~# |
| 79 | }}} |
| 80 | |
| 81 | Another flash drive |
| 82 | |
| 83 | {{{ |
| 84 | [ 1500.130967] scsi 3:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 8.02 PQ: 0 ANSI: 0 CCS |
| 85 | [ 1500.132833] sd 3:0:0:0: [sde] 15753215 512-byte logical blocks: (8.07 GB/7.51 GiB) |
| 86 | [ 1500.133063] sd 3:0:0:0: [sde] Write Protect is off |
| 87 | [ 1500.133078] sd 3:0:0:0: [sde] Mode Sense: 45 00 00 08 |
| 88 | [ 1500.133236] sd 3:0:0:0: [sde] No Caching mode page found |
| 89 | [ 1500.133249] sd 3:0:0:0: [sde] Assuming drive cache: write through |
| 90 | [ 1500.136487] sde: sde1 |
| 91 | [ 1500.137989] sd 3:0:0:0: [sde] Attached SCSI removable disk |
| 92 | root@imx8mq-var-dart:~# ls /run/media |
| 93 | DATA8G-sde1 Data128-sdc1 Data256G-sdd1 data-mmcblk0p3 rootfs1-mmcblk0p1 rootfs2-mmcblk0p2 sda1 sdb1 |
| 94 | root@imx8mq-var-dart:~# ls /run/media/DATA8G-sde1/ |
| 95 | 825wiki_old.tar.gz 'March 2023x.pub' lcd2004.py liquidcrystal_i2c.py svn_825.tar.gz |
| 96 | 'August 2023.pub' 'September 2023.pub' lcd2004x.py pythonsmbus.py trac_usr_bin.tar.gz |
| 97 | 'July 2023.pub' 'System Volume Information' lcd_i2c.py so651332 |
| 98 | 'March 2023.pub' etc_old.tar.gz lib825ev.tar.gz so651332.sgn |
| 99 | root@imx8mq-var-dart:~# |
| 100 | }}} |
| 101 | |
| 102 | A microSD card, SD card, USB-C flash drive and two traditional USB flash drives all connected simultaneously: |
| 103 | |
| 104 | {{{ |
| 105 | root@imx8mq-var-dart:~# ls /run/media |
| 106 | DATA8G-sde1 Data128-sdc1 Data256G-sdd1 data-mmcblk0p3 rootfs1-mmcblk0p1 rootfs2-mmcblk0p2 sda1 sdb1 |
| 107 | |
| 108 | root@imx8mq-var-dart:~# df -h |
| 109 | Filesystem Size Used Avail Use% Mounted on |
| 110 | /dev/root 7.1G 4.2G 2.5G 64% / |
| 111 | devtmpfs 1.5G 4.0K 1.5G 1% /dev |
| 112 | tmpfs 2.0G 4.0M 2.0G 1% /dev/shm |
| 113 | tmpfs 782M 11M 772M 2% /run |
| 114 | tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup |
| 115 | tmpfs 2.0G 48K 2.0G 1% /tmp |
| 116 | tmpfs 2.0G 248K 2.0G 1% /var/volatile |
| 117 | /dev/mmcblk0p1 7.1G 3.1G 3.6G 47% /run/media/rootfs1-mmcblk0p1 |
| 118 | /dev/mmcblk0p2 7.1G 24K 6.7G 1% /run/media/rootfs2-mmcblk0p2 |
| 119 | /dev/mmcblk0p3 182M 14K 168M 1% /run/media/data-mmcblk0p3 |
| 120 | tmpfs 391M 12K 391M 1% /run/user/1001 |
| 121 | tmpfs 391M 0 391M 0% /run/user/0 |
| 122 | /dev/sdb1 30G 1.2M 30G 1% /run/media/sdb1 |
| 123 | /dev/sdc1 115G 11G 104G 10% /run/media/Data128-sdc1 |
| 124 | /dev/sdd1 233G 5.7G 228G 3% /run/media/Data256G-sdd1 |
| 125 | /dev/sda1 30G 24G 6.1G 80% /run/media/sda1 |
| 126 | /dev/sde1 7.5G 967M 6.6G 13% /run/media/DATA8G-sde1 |
| 127 | }}} |
| 128 | |
| 129 | |