wiki:Docs/825gen2/Dev/Devices/USB/HubCardReader

USB Hub/SD Card Reader

Tested Anker USB C Hub with microSD and SD card reader.

This hub is verified to work well. However, it should be noted the 825 Gen2 USB-C does not include the Alt-mode for HDMI support so the HDMI port on the hub is not usable.

Insert microSD card

[  917.373829] audit: type=1327 audit(1698953401.595:24): proctitle=2F7573722F7362696E2F63726F6E64002D6E
[ 1018.850425] sd 0:0:0:1: [sdb] 62357504 512-byte logical blocks: (31.9 GB/29.7 GiB)
[ 1018.855021] sdb: detected capacity change from 0 to 62357504
[ 1018.860700]  sdb: sdb1

card825gen2:~$ ls /run/media
data-mmcblk0p3  rootfs1-mmcblk0p1  rootfs2-mmcblk0p2  sdb1

card825gen2:~$ ls /run/media/sdb1
'System Volume Information'   fd_dlc_dbg

Insert 128G Flash drive

[ 1225.476027] scsi 1:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[ 1225.477504] sd 1:0:0:0: [sdc] 240353280 512-byte logical blocks: (123 GB/115 GiB)
[ 1225.478241] sd 1:0:0:0: [sdc] Write Protect is off
[ 1225.478259] sd 1:0:0:0: [sdc] Mode Sense: 43 00 00 00
[ 1225.478730] sd 1:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1225.488847]  sdc: sdc1
[ 1225.491253] sd 1:0:0:0: [sdc] Attached SCSI removable disk

card825gen2:~$ ls /run/media
Data128-sdc1  data-mmcblk0p3  rootfs1-mmcblk0p1  rootfs2-mmcblk0p2  sdb1

card825gen2:~$ ls /run/media/Data128-sdc1/
'2022-05-01 08-55-02.mp4'  'February 2023.pub'               'Statement for Oct 27, 2022.pdf'
'2022-05-29 09-00-00.mp4'  'January 2023.pub'                'System Volume Information'
'2022-06-05 08-57-45.mp4'  'June 2023.pub'                    arm-gnu-toolchain-11.3.tar.gz
'2022-07-03 09-00-15.mp4'  'May 2022.pub'                     confirmation2022
'2022-11-06 08-56-13.mp4'   SS_ChristmasProgram2022           diag
'April 2023.pub'           'Statement for Nov 10, 2022.pdf'   drive-download-20221106T131736Z-001
'December 2022.pub'        'Statement for Oct 13, 2022.pdf'   nand.tar.gz

Insert 256G Flash drive

[ 1344.963988] scsi 2:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[ 1344.964892] sd 2:0:0:0: [sdd] 488570880 512-byte logical blocks: (250 GB/233 GiB)
[ 1344.966340] sd 2:0:0:0: [sdd] Write Protect is off
[ 1344.966358] sd 2:0:0:0: [sdd] Mode Sense: 43 00 00 00
[ 1344.967433] sd 2:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1344.974941]  sdd: sdd1
[ 1344.977258] sd 2:0:0:0: [sdd] Attached SCSI removable disk
[ 1345.750567] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 1345.793647] ntfs: volume version 3.1.

card825gen2:~$ ls /run/media
Data128-sdc1  Data256G-sdd1  data-mmcblk0p3  rootfs1-mmcblk0p1  rootfs2-mmcblk0p2  sdb1

card825gen2:~$ ls /run/media/Data256G-sdd1/
'System Volume Information'   en-us_windows_10_business_editions_version_22h2_x64_dvd_8cf17b79.iso
card825gen2:~$

Insert 32G SD Card

[ 1404.942570] sd 0:0:0:0: [sda] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB)
[ 1404.945548] sda: detected capacity change from 0 to 62333952
[ 1404.948529]  sda: sda1

card825gen2:~$ ls /run/media
Data128-sdc1  Data256G-sdd1  data-mmcblk0p3  rootfs1-mmcblk0p1  rootfs2-mmcblk0p2  sda1  sdb1

card825gen2:~$ ls /run/media/sda1
 DCIM           FSCK0000.004   FSCK0000.009   FSCK0001.REC   FSCK0006.REC   FSCK0011.REC  'System Volume Information'
 FSCK0000.000   FSCK0000.005   FSCK0000.010   FSCK0002.REC   FSCK0007.REC   FSCK0012.REC   _disk_id.pod
 FSCK0000.001   FSCK0000.006   FSCK0000.011   FSCK0003.REC   FSCK0008.REC   FSCK0013.REC
 FSCK0000.002   FSCK0000.007   FSCK0000.012   FSCK0004.REC   FSCK0009.REC   MISC
 FSCK0000.003   FSCK0000.008   FSCK0000.REC   FSCK0005.REC   FSCK0010.REC   SDFS_CFG.BIN
card825gen2:~$

Another flash drive

[ 1500.130967] scsi 3:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  8.02 PQ: 0 ANSI: 0 CCS
[ 1500.132833] sd 3:0:0:0: [sde] 15753215 512-byte logical blocks: (8.07 GB/7.51 GiB)
[ 1500.133063] sd 3:0:0:0: [sde] Write Protect is off
[ 1500.133078] sd 3:0:0:0: [sde] Mode Sense: 45 00 00 08
[ 1500.133236] sd 3:0:0:0: [sde] No Caching mode page found
[ 1500.133249] sd 3:0:0:0: [sde] Assuming drive cache: write through
[ 1500.136487]  sde: sde1
[ 1500.137989] sd 3:0:0:0: [sde] Attached SCSI removable disk

card825gen2:~$ ls /run/media
DATA8G-sde1  Data128-sdc1  Data256G-sdd1  data-mmcblk0p3  rootfs1-mmcblk0p1  rootfs2-mmcblk0p2  sda1  sdb1

card825gen2:~$ ls /run/media/DATA8G-sde1/
 825wiki_old.tar.gz  'March 2023x.pub'             lcd2004.py        liquidcrystal_i2c.py   svn_825.tar.gz
'August 2023.pub'    'September 2023.pub'          lcd2004x.py       pythonsmbus.py         trac_usr_bin.tar.gz
'July 2023.pub'      'System Volume Information'   lcd_i2c.py        so651332
'March 2023.pub'      etc_old.tar.gz               lib825ev.tar.gz   so651332.sgn
card825gen2:~$

A microSD card, SD card, USB-C flash drive and two traditional USB flash drives all connected simultaneously:

card825gen2:~$ ls /run/media
DATA8G-sde1  Data128-sdc1  Data256G-sdd1  data-mmcblk0p3  rootfs1-mmcblk0p1  rootfs2-mmcblk0p2  sda1  sdb1

card825gen2:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.1G  4.2G  2.5G  64% /
devtmpfs        1.5G  4.0K  1.5G   1% /dev
tmpfs           2.0G  4.0M  2.0G   1% /dev/shm
tmpfs           782M   11M  772M   2% /run
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs           2.0G   48K  2.0G   1% /tmp
tmpfs           2.0G  248K  2.0G   1% /var/volatile
/dev/mmcblk0p1  7.1G  3.1G  3.6G  47% /run/media/rootfs1-mmcblk0p1
/dev/mmcblk0p2  7.1G   24K  6.7G   1% /run/media/rootfs2-mmcblk0p2
/dev/mmcblk0p3  182M   14K  168M   1% /run/media/data-mmcblk0p3
tmpfs           391M   12K  391M   1% /run/user/1001
tmpfs           391M     0  391M   0% /run/user/0
/dev/sdb1        30G  1.2M   30G   1% /run/media/sdb1
/dev/sdc1       115G   11G  104G  10% /run/media/Data128-sdc1
/dev/sdd1       233G  5.7G  228G   3% /run/media/Data256G-sdd1
/dev/sda1        30G   24G  6.1G  80% /run/media/sda1
/dev/sde1       7.5G  967M  6.6G  13% /run/media/DATA8G-sde1
Last modified 7 weeks ago Last modified on 09/24/24 15:31:17

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.