March 9, 2023, 19:33
jimmyhoughjr@pi4:~/workspace/gh/repowatcher $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub jimmyhoughjr@pi4:~/workspace/gh/repowatcher $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
jimmyhoughjr@pi4:~/workspace/gh/repowatcher $ lsusb -t /:Â Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /:Â Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M Â Â |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M Â Â Â Â |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M jimmyhoughjr@pi4:~/workspace/gh/repowatcher $Â
jimmyhoughjr@pi4:~ $ lsblk NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT mmcblk0   179:0  0 119.1G 0 disk ├─mmcblk0p1 179:1  0  256M 0 part /boot └─mmcblk0p2 179:2  0 118.9G 0 part / jimmyhoughjr@pi4:~ $Â
jimmyhoughjr@pi4:~ $ ls /dev/sd* /dev/sda
jimmyhoughjr@pi4:~ $ sudo cat /proc/partitions major minor #blocks name   1    0    4096 ram0   1    1    4096 ram1   1    2    4096 ram2   1    3    4096 ram3   1    4    4096 ram4   1    5    4096 ram5   1    6    4096 ram6   1    7    4096 ram7   1    8    4096 ram8   1    9    4096 ram9   1    10    4096 ram10   1    11    4096 ram11   1    12    4096 ram12   1    13    4096 ram13   1    14    4096 ram14   1    15    4096 ram15  179    0 124936192 mmcblk0  179    1   262144 mmcblk0p1  179    2 124669952 mmcblk0p2
jimmyhoughjr@pi4:~ $ dmesg | grep sda [Â Â 2.414171] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK [Â Â 2.414234] sd 0:0:0:0: [sda] Sense Key : 0x5 [current]Â [Â Â 2.414243] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0Â [Â Â 2.414262] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B) [Â Â 2.414268] sd 0:0:0:0: [sda] 0-byte physical blocks [Â Â 2.417749] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled [Â Â 2.421318] sd 0:0:0:0: [sda] Asking for cache data failed [Â Â 2.421336] sd 0:0:0:0: [sda] Assuming drive cache: write through [Â Â 2.433902] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK [Â Â 2.433930] sd 0:0:0:0: [sda] Sense Key : 0x5 [current]Â [Â Â 2.433935] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0Â [Â Â 2.441132] sd 0:0:0:0: [sda] Attached SCSI disk